This is the Deno version of Shrtn. View the original Node.js version on https://github.com/grikomsn/shrtn.
- Google: https://shrtn-deno.now.sh/google
- Google (no cache): https://shrtn-deno.now.sh/google?nocache
- Google (disabled): https://shrtn-deno.now.sh/google-disabled
- Google (generated uid): https://shrtn-deno.now.sh/ecKS6s70c363wHYh
View source links at the Shrtn Airtable base template.
-
Mandatory (for deployment purposes)
-
Optional (for development purposes)
-
Copy the Shrtn Airtable base template to your workspace
-
Generate your Airtable API key
-
Click 'deploy to now' button above and enter your API key and base ID to the environment variables prompted
-
Add your links to your copied Airtable base and enjoy
-
Copy the Shrtn Airtable base template to your workspace
-
Generate your Airtable API key
-
Fork this repository
-
Add your API key to
vercel secrets
$ vercel secrets add airtable-api-key keyXXXXXXXXXXXXXX
Note:
vercel
is a CLI program which you can install by runningnpm -g i vercel
oryarn global add vercel
-
Add your base ID on
vercel.json
{ "env": { "AIRTABLE_API_KEY": "@airtable-api-key", "AIRTABLE_BASE_ID": "appXXXXXXXXXXXXXX" } }
-
Push repository and Vercel will automagically deploy your instance
-
Add your links to your Airtable base and enjoy
If base URL is accessed or no unique URL is given, the function will redirect to
a specific URL defined on the vercel.json
configuration file.
You can configure the default redirect by changing
the redirects[0].destination
value on the vercel.json
file.
Submit an issue if there's a bug or if you have any ideas on how to improve this project.