⚡️ Fast and easy-to-use link shortener using Next.js and Airtable.
╔══════════╦══════════════════════╗
║ 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
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.
© Sarthak Mohanty 2020. Licensed under MIT. See LICENSE for more infomation.