shashort

The world's first cryptographically secure link shortener. Development moved to https://git.15318.de/dingens/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

  1. Fork it (https://github.com/your-github-user/shashort/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • deing - creator and "maintainer"
Repository

shashort

Owner
Statistic
  • 1
  • 0
  • 0
  • 0
  • 4
  • over 5 years ago
  • April 6, 2019
License

MIT License

Links
Synced at

Thu, 21 Nov 2024 01:44:12 GMT

Languages