Skip to content

arhaanb/arhn.us

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shrtn

A URL shortener using Airtable and Vercel serverless functions. Available at arhn.us.

  • Clone this Airtable Base to get started
  • Fill up the .env.sample file and rename it to .env
  • Deploy to Vercel and add a domain

Note: The SHRTN constant in the .env.sample is a hashed password. To generate a hashed password, check password.js

Functionality

  • Enable/Disable links directly through Airtable
  • Easily add links to Airtable via a password protected form (arhn.us/shrtn)
  • Generate random URIs through Airtable
  • Nested links (/shortened/link)
  • Shorten GitHub Repo links -> /gh/${repository}
  • Custom HTML 404 pages (instead of a res.send(404))