shashort
Version, currently master branch1 version
- master branchlatestApr 7, 2019
gitlab.com/deing/shashort
The world's first cryptographically secure link shortener. Development moved to https://git.15318.de/dingens/SHAShort.
Installation
# Add this to your shard.yml
dependencies:
shashort:
gitlab: deing/shashort
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
0.27.2- License
- MIT
- Author
- deing
- Target
shashortfrom src/shashort.cr
Dependencies
Runtime Dependencies
README
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"
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Apr 7, 2019
- Crystal
0.27.2- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
gitlab.com/deing/shashort
Metadata
- Created
- Aug 16, 2026
- Updated
- Aug 16, 2026
- Synced
- Aug 16, 2026
- Versions
- 1