Rafif Muchsin
Link Shortener
Error
Something went wrong
Link Shortener
Ready to share
Something went wrong
This is a completely serverless link shortener that uses GitHub as a decentralized database. It offers 100% data ownership with zero database hosting costs. Anyone can use this tool by only providing a Target URL, User, Repo, and Github Token.
It's also possible to use it by cloning the repository.
my-links).repo scope.The "Preset" dropdown reads from a file called domains.json located in the project's root. The Default (Root) option is auto-filled to save you time if you have a primary repository you use constantly.
Why add a new option? If you want to categorize your links (e.g., one repo for /blog/ and another for /dl/ by modifying its "prefix"), you can clone this project and edit domains.json to add custom prefixes. This automatically locks the User/Repo fields to prevent typos.
Please note that "default": true value below can be changed to false if you don't want this option to be selected by default.
[
{
"prefix": "",
"name": "Default",
"user": "rafifmsn",
"repo": "rmsn-link-base",
"default": true
},
{
"prefix": "tr",
"name": "Default",
"user": "rafifmsn",
"repo": "trash-bin",
"default": false
}
] The system uses a Smart Match routing logic. The generated link adapts based on whether your repository is registered in domains.json or not:
s.domain.com/01JG... (or /prefix/01JG...)s.domain.com/01JG...#u=user&r=repoYour GitHub Token is stored locally in your browser and is never sent to an external server other than GitHub's official API.