6

GitHub - eyalch/kurzr: Simple URL Shortener

 2 years ago
source link: https://github.com/eyalch/kurzr
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

kurzr

kurzr is a simple URL shortener.

Features

The main feature is to take a full (long) URL and produce a short URL. Requesting the resulting short URL will return an HTTP redirect status to the original full URL.

Alias

When generating a short URL, you may optionally provide an alias which will be used as the short identifier.

Architecture

The API is built with Go and implements the Clean Architecture.

The web UI is built with React and Next.js.

Infrastructure

Runtime

The project is running as a serverless function using Netlify Functions, which uses AWS Lambda behind the scenes.

Persistence

URLs are stored in Redis.

Security

reCAPTCHA

reCAPTCHA is used to make it harder for bots to use the site.

Rate Limiting

Redis is also utilized for rate limiting.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK