humanmade/tachyon

Name: tachyon

Owner: Human Made

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

Created: 2016-02-13 01:58:57.0

Updated: 2018-05-18 08:09:14.0

Pushed: 2018-03-14 00:05:34.0

Homepage: https://engineering.hmn.md/projects/tachyon/

Size: 3130

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

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:

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


Installing

Tachyon is simple to install, just use the cloudformation-template.json in this repository to create the whole stack using AWS CloudFormation. It will ask you for a few details along the way.

You'll need to upload the latest release to Amazon S3 and put the location in the to the CloudFormation stack configuration.

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!

Args Reference

| URL Arg | Type | Description | |—|—-|—| |w|Number|Max width of the image.| |h|Number|Max height of the image.| |quality|Number, 0-100|Image quality.| |crop|Boolean or “100,50,20,100”|Whether to crop the image, or resize proportionally.|

For more details checkout the docs.

Credits

Created by Human Made for high volume and large-scale sites, such as Happytables. 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!


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.