You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Cassidy Dingenskirchen 1fde205cb3
Fix build
3 months ago
public Use ic-enhance attribute 1 year ago
src Fix build 3 months ago
.editorconfig Initial commit 2 years ago
.gitignore Upkeep, add nix build thingy 11 months ago
LICENSE Initial commit 2 years ago Update README 2 years ago
default.nix Fix build 3 months ago
example.env Add DB path configuration 11 months ago
shard.lock Fix build 11 months ago
shard.yml Fix build 11 months ago
shards.nix Fix build 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.


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.


Just navigate to http://localhost:8001 (by default) to use.


The main codebase is located on You can log in using GitLab or GitHub there.

  1. Fork it (
  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


  • deing - creator and "maintainer"