not-ivy / melon

a link shortener utilizing gists (maintanence)

Home Page:https://m.not-ivy.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

a link shortener utilizing gists (maintanence)

https://m.not-ivy.dev

License:GNU Affero General Public License v3.0


Languages

Language:TypeScript 89.9%Language:CSS 10.1%