Auto configuring Node (and Bun!) apps for Tigris

Following up from Auto configuring Active Storage Rails apps for Tigris … this is now available for Node and Bun apps too with flyctl version v0.2.84.

If @aws-sdk/client-s3 is listed as a dependency in your package.json, Tigris will be automatically selected by fly launch. As always, you can override this in the launch UI.

If you have an existing app, you can create a bucket with fly storage create.

Once a bucket is created, getting started with Tigris is as simple as:

const S3 = new S3Client()

node-dictaphone contains a demo. Try it out:

fly launch --from https://github.com/fly-apps/node-dictaphone.git
2 Likes