A lightweight content delivery network focused on images and videos. Built on Hono and Redis for Deno.
-
Create a "media" directory in the current directory, and create all of your categories as directories inside of the media directory.
-
Rename the
config.toml.examplefile toconfig.tomland edit the settings accordingly. -
Rename the
.env.examplefile to.envand set yourREDIS_URLandAPP_API_KEYSaccordingly. -
Start the server by running
deno run src/app.ts, and grant all the requested permissions.
To start the server in dev mode and bypass the permission checks, run deno run dev.