Deploy simple-bucket-proxy

A simple Railway bucket proxy with proper cache-control headers

Deploy simple-bucket-proxy

Just deployed

expandable-burrito

Bucket

Just deployed

Deploy and Host simple-bucket-proxy on Railway

A simple Railway bucket proxy with proper cache-control headers.

⚠️ Warning: This will make your bucket publicly accessible.

Standard Railway egress costs will apply, since all content is delivered by the service itself.

Any request to /*, where * represents the path to an object in the bucket, will be served by the function endpoint.

The default cache-control TTL is 1 hour.


About Hosting simple-bucket-proxy

This project is a lightweight Bun function that streams the contents of a connected Railway bucket.

It serves the use case described in Railway docs here: https://docs.railway.com/guides/storage-buckets#serve-files-with-a-backend-proxy


Common Use Cases

  • Direct access to files stored in a Railway bucket
  • No need to manage bucket authentication
  • Clean, user-friendly URLs for your files

Requirements

  • Railway Bucket
  • Bun Function

Demo

Live Demo: https://function-bun-production-6cf5.up.railway.app/123.json


Deployment Dependencies

None. All environment variables will be automatically populated during deployment.


Why Deploy simple-bucket-proxy on Railway?

Railway provides a unified platform to deploy your entire infrastructure stack. It handles configuration and scaling for you—both vertically and horizontally—so you can focus on building.

By deploying simple-bucket-proxy on Railway, you’re one step closer to powering a complete full-stack application with minimal overhead. Host your servers, databases, AI agents, and more on Railway.


Template Content

expandable-burrito

Bucket

More templates in this category

View Template
Postgres-to-R2 Backup
Auto back up PostgreSQL databases to Cloudflare R2 with optional encryption

View Template
ReadySet
A lightweight caching engine for Postgres

View Template
Simple S3
Deploy a S3-compatible storage service with a pre-named bucket.