0.8.0 ā€¢ Published 5 years ago

lynx-app v0.8.0

Weekly downloads
7
License
AGPL-3.0
Repository
github
Last release
5 years ago

GitHub Actions Coverage Dependencies devDependencies Vulnerabilities Dependabot Status License Docs Standard code style Prettier code style Deploy to Heroku Issues Issues

Modern, lightweight, and planet-scale link shortener + analytics + management!

The secret sauce is deep integration with CDN and aggressively caching everything.

šŸ  Homepage

Install

Server + admin panel: heroku (how to update? do we release docker images?) CDN/DNS: ??? Analytics: ???

Usage

// todo

Architecture

I was originally going to build this using Cloudflare workers + Cloudflare K/V, BUT then I found out I can't have access logs without paying for the Enterprise plan, so here's Plan B:

AWS

CloudFront allows access log to be stored in S3, and with that we can do any sort of analysis on that. An additional benefit of this approach is that you can use whatever tool you already have that analyzes access logs on S3, so you don't have to be locked in to the analytics of your link shortener!

And the plan here is to have CloudFront trigger lambdas on any URLs, the lambdas would check DynamoDB for any records, and then instruct CloudFront to cache the results!

This aggressive caching of redirects should make requests instantaneous, while the use of Lambda and DynamoDB would make it 1. serverless (you don't have to maintain anything), and 2. planet-scale!

Run tests

yarn test

Author

šŸ‘¤ Jane Jeon

šŸ¤ Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a ā­ļø if this project helped you!

šŸ“ License

Copyright Ā© 2019 Jane Jeon. This project is AGPL-3.0 licensed.


This project is based off of Express-Objection-Template