Skip to content
Zeit Now Airtable Link Redirector or Shortener
TypeScript
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
api
.all-contributorsrc
.env.example
.gitignore
LICENSE
README.md
now.json
package.json
types.d.ts
yarn.lock
znalrs.png

README.md

znalrs

deploy to now

Have your own link redirector or shortener powered with Zeit Now and Airtable, because you can and because why not.



Prerequisites

Usage

One-click deploy

  1. Copy the znalrs Airtable base to your workspace

  2. Generate your Airtable API key

  3. Click 'deploy to now' button above and enter your API key and base ID to the environment variables prompted

  4. Add your links to your copied Airtable base and enjoy

Fork and push to repository

  1. Copy the znalrs Airtable base to your workspace

  2. Generate your Airtable API key

  3. Fork this repository

  4. Add your API key and base ID to now secrets

    now secrets add znalrs-api-key keyXXXXXXXXXXXXXX
    now secrets add znalrs-base-id appXXXXXXXXXXXXXX
  5. Push repository and Zeit will automagically deploy your instance

  6. Add your links to your Airtable base and enjoy

Configuration

Default redirect

If base URL is accessed or no unique URL is given, the function will redirect to a specific URL defined on the now.json configuration file.

You can configure the default redirect by changing now.json file at redirects[0].destination field.

Custom table and view name

The default value for the table and view name of the Airtable base is znalrs, which is configured as an environment variable on the now.json file.

You can change to your preference, just make sure that the name on your Airtable base and now.json configuration is the same.

Bug or feature request

Submit an issue if there's a bug or if you have any ideas on how to improve this project.

Contributors

Thanks goes to these wonderful people (emoji key):


Griko Nibras

💻 🤔 🚧

This project follows the all-contributors specification. Contributions of any kind welcome!

License

MIT

You can’t perform that action at this time.