shashort
shashort
SHAShort is the first and only URL shortening service to only use cryptographically secure hashing functions in the process of shortening, thereby making it computationally infeasible to reverse-engineer the original URL from the shortened link. That isn't something you should care about, but I did it anyway.
Installation
Run shards build --release, create a database shashort.sqlite3 with the table CREATE TABLE urlmap (url string unique on conflict replace, hash string); adjust the port in .env if you want and run bin/shashort.
Usage
Just navigate to http://localhost:8001 (by default) to use.
Contributing
- Fork it (https://github.com/your-github-user/shashort/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- deing - creator and "maintainer"
Repository
shashort
Owner
Statistic
- 1
- 0
- 0
- 0
- 4
- over 6 years ago
- April 6, 2019
License
MIT License
Links
Synced at
Mon, 24 Nov 2025 23:14:58 GMT
Languages