-
Notifications
You must be signed in to change notification settings - Fork 0
URL shortener with a Bang!
License
4f48/bang
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A ~fast enough~ URL shortener generating short links like this: domain.tld/!84v2b Could use some optimization, tests, and benchmarks. Bang! uses Valkey database (Redis fork) to store and persist redirects. A sample Docker Compose file is included in the repository to spin up one. --- How to use --- To create a new link: POST request at /new?url=[your link] To delete a link: DELETE request at /[short url]?key=[64 character long key provided when creating link] To run Bang!, start the database using "docker compose up -d", then run the executable or run "go run .". IMPORTANT: Make sure to run this behind HTTPS/TLS encryption, since the key for a short link gets sent around in clear text format.
About
URL shortener with a Bang!
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published