~suhas/url

a url shortener
add link back to repo in footer
final change to readme?

You can also use your local clone with git send-email.

#url

a really simple url shortener built on deno deploy and supabase

#usage

  • create a project at supabase
  • set enviroment variables in the deno deploy dash, or in a .env file
  • to run locally: deno run --allow-read --allow-env --allow-net main.ts
  • to run on deploy: either clone this into a github repo and deploy that way, or use the attached .build.yml to deploy it with sourcehut builds (see notes below)
    • note: you must set a secret called ~/.deno_key, with the 644 permission containing this
    export DENO_DEPLOY_TOKEN= your deno deploy token here
    
    • note: you also have to change the secret UUID in the secrets section of the .build.yml

#contact me, or send a patch

#credits