Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/moxie0420/bun-image-delivery
A simple image delivery tool written in typescript that uses the bun runtime
https://github.com/moxie0420/bun-image-delivery
bun nix nix-flake typescript
Last synced: 27 days ago
JSON representation
A simple image delivery tool written in typescript that uses the bun runtime
- Host: GitHub
- URL: https://github.com/moxie0420/bun-image-delivery
- Owner: moxie0420
- License: mit
- Created: 2024-08-09T00:49:05.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2024-08-16T22:06:58.000Z (3 months ago)
- Last Synced: 2024-09-28T09:01:21.223Z (about 1 month ago)
- Topics: bun, nix, nix-flake, typescript
- Language: TypeScript
- Homepage:
- Size: 84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
```bash
bun install
```To run:
```bash
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
```bash
bun run build
```To create a standalone executable run
```bash
bun run compile
```## TODO
- [ ] Optimize images
- [x] setup environment variables
- [x] include docker image