An image hosting web service app.
This app is built with:
- Tanstack Start
- React Framework
- ShadCN UI
- UI Framework
Services:
- Backblaze B2
- Alternative S3 storage
- Hosted Cloudflare Worker proxy for B2
CDN_CLOUDFLARE_URL=b2-worker-domain
B2_BUCKET_NAME=bucket-name
B2_S3_ENDPOINT=b2-s3-endpoint
B2_REGION=b2-region
B2_APPLICATION_KEY_ID=app-key-id
B2_APPLICATION_KEY=app-key
pnpm dev
Simple docker and compose config files are available for self hosting.
docker compose up -d --build
You need to deploy a worker to host for your private backblaze bucket (B2_BUCKET_NAME
).
This is needed for CDN_CLOUDFLARE_URL
Deploy your own instance: https://github.com/backblaze-b2-samples/cloudflare-b2
Currently the app / service is configured for $host
deployment of the cloudflare worker proxy. Make sure to set this in $BUCKET_NAME
config in the worker.
- https://github.com/sadmann7/file-uploader
- For the file upload components / inspiration