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.example
file toconfig.toml
and edit the settings accordingly. -
Rename the
.env.example
file to.env
and set yourREDIS_URL
andAPP_API_KEYS
accordingly. -
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
.