- Melon does not rely on a database, instead it uses gists to store data.
- Fast and lightweight
- < 500 sloc
- average > 90 lighthouse performance score
- Collects no data
Create a .env
file in the root directory with the following contents:
export GITHUB_TOKEN="<github token>" # Github personal access token, used to read/write gists
export GIST_ID="<gist id>" # Gist id, used to store data
export DOMAIN="<domain>" # Domain to use for short links
export VERIFICATION="<token>" # Used to create and delete links
Then, just run deno task start
.
I am currently hosting melon on Deno Deploy since it is the recommended way to deploy a fresh project.