/tachyon

Faster than light image resizing service that runs on AWS. Super simple to set up, highly available and very performant.

Primary LanguageJavaScript

Tachyon
Faster than light image resizing service that runs on AWS. Super simple to set up, highly available and very performant.
A Human Made project. Maintained by @joehoyle.

Tachyon is built with some strong opinions and assumptions:

  • Runs on AWS (using CloudFront, Lambda and API Gateway.)
  • Expects original image files to be stored on Amazon S3.
  • Only supports simple image resizing, not a full image manipulation service.

Tachyon works best with WordPress, coupled with S3 Uploads and the Tachyon Plugin.

View Documentation →

Documentation

View Documentation →

Setup

Tachyon comes in two parts: the server to serve images, and the plugin to use it. To use Tachyon, you need to run at least one server, as well as the plugin on all sites you want to use it.

The server is also available as a Docker image, which can be used in production or to set up a local test environment.

Using

Tachyon provides a simple HTTP interface in the form of:

https://{tachyon-domain}/my/image/path/on/s3.png?w=100&h=80

It's really that simple!

View Args Reference →

Upgrading

When upgrading, be sure to perform an API Gateway deployment from the AWS Console. Navigate to API Gateway from the AWS Console and select the "Tachyon" API. Once selected, click "Actions" and then "Deploy API."

Credits

Created by Human Made for high volume and large-scale sites. We run Tachyon on sites with millions of monthly page views, and thousands of sites.

Written and maintained by Joe Hoyle.

Tachyon is inspired by Photon by Automattic. As Tachyon is not an all-purpose image resizer, rather it uses a media library in Amazon S3, it has a different use case to Photon.

Tachyon uses the Sharp (Used under the license Apache License 2.0) Node.js library for the resizing operations, which in turn uses the great libvips library.

Interested in joining in on the fun? Join us, and become human!