/srtk.me-v2

No longer working: ⚡ My original Link Shortener now made with Next and Next Router. Supports URL Parameters.

Primary LanguageJavaScriptMIT LicenseMIT

This no longer works.

Link Shortener

GitHub GitHub issues GitHub contributors GitHub last commit

⚡️ Fast and easy-to-use link shortener using Next.js and Airtable.

Airtable Setup:

╔══════════╦══════════════════════╗
║ slug     ║ destination          ║
╠══════════╬══════════════════════╣
║ website  ║ https://srtk.me      ║
╠══════════╬══════════════════════╣
║ hackclub ║ https://hackclub.com ║
╠══════════╬══════════════════════╣
║ rishi    ║ https://rishi.cx     ║
╚══════════╩══════════════════════╝

The Airtable used must be formatted as shown above. There may be other columns, but the first two must be slug and destination (lowercase). Also the table name must be Links (capital L).

Note the Capitalization!

slug is the end URL you'd like to redirect from. destination is the end URL that you'd like to redirect to.

in the example above, the slug website means the user would go to /website and get redirected to the destination https://srtk.me

Basic Setup:

Just click the button below, and fill in the appropriate fields. Your AIRTABLE_API_KEY can be found like this. And your AIRTABLE_BASE_ID can be found like this.

Deploy with Vercel

© Sarthak Mohanty 2020. Licensed under MIT. See LICENSE for more infomation.