Authored by Dean Sheather

An implementation of cdn-origin in bash. Run using env PGHOST=localhost PGUSER=postgres STORAGE_LOCATION=/buckets/public STORAGE_BUCKET=public socat TCP4-LISTEN:8080,reuseaddr,fork EXEC:"/"

Connects to and requires a database just like cdn-origin. Requires bash>=4.3, GNU coreutils, socat, psql. Optional, but recommended: convert (from ImageMagick).


  • files
  • redirects
  • tombstones
  • thumbnails (only if convert is available, add ?thumbnail to the end of the URL)
  • URL preview (add ?preview to the end of the URL)
Edited 5.43 KB
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment