thefrontside / frontside.com

The Frontside Website
https://frontside.com
MIT License
4 stars 4 forks source link

Add link shortener service to the Frontside toolkit #58

Open taras opened 4 years ago

taras commented 4 years ago

We're using bit.ly link shortener service to create links to Microstates Discord.

I used bit.ly instead of just embedding the Discord link because I wanted the ability to change the target of the short link without updating where the short link is used. Turns out this is not possible with Bit.ly.

I would like for us to have a short link service that fits into the architecture that is emerging at Frontside. We don't have the architecture flashed out yet, but it needs to be composable, testable and simulatable.

I propose that we create a lambda functions that is backed by a GitHub repository where links will be stored. We'll want to connect this service to Google Analytics to see metrics for each link.

I'm going to turn this into an RFC once we had a chance to discuss it.

cowboyd commented 4 years ago

Note that we do own several potential URL shortening domains:

image

jbolda commented 4 years ago

This might be worth looking at if you still are interested in implementing this. https://github.com/kentcdodds/netlify-shortener

GitHub
kentcdodds/netlify-shortener
Your own free URL shortener with Netlify. Contribute to kentcdodds/netlify-shortener development by creating an account on GitHub.