Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.17 KB

README.md

File metadata and controls

33 lines (23 loc) · 1.17 KB

An oversimplified watermelon    Melon

Features

  • 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

Running

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.

Hosting

I am currently hosting melon on Deno Deploy since it is the recommended way to deploy a fresh project.