Bun-image-delivery

A simple image delivery tool written in typescript that uses the bun runtime

MIT License

Stars
0
Committers
2

Bun Image Delivery

This a project i made to self host images and provide my own image resizing via jimp

How to use

With Devenv

Just run dev in a terminal after setting up direnv

Alternatively Open a dev shell via devenv shell then run dev

Without Devenv

To install dependencies:

bun install

To run:

bun run dev

Building

As of right now to create a build you can use either the compile script or the build script

With Devenv scripts

To create a plain build run build

To create a standalone executable run compile

With Bun scripts

To create a plain build run

bun run build

To create a standalone executable run

bun run compile

TODO

  • Optimize images
  • setup environment variables
  • include docker image