|Cassidy Dingenskirchen 1fde205cb3||3 months ago|
|public||1 year ago|
|src||3 months ago|
|.editorconfig||2 years ago|
|.gitignore||11 months ago|
|LICENSE||2 years ago|
|README.md||2 years ago|
|default.nix||3 months ago|
|example.env||11 months ago|
|shard.lock||11 months ago|
|shard.yml||11 months ago|
|shards.nix||11 months ago|
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.
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
Just navigate to http://localhost:8001 (by default) to use.
The main codebase is located on https://git.15318.de. You can log in using GitLab or GitHub there.
git checkout -b my-new-feature)
git commit -am 'Add some feature')
git push origin my-new-feature)