Uau is a temparory/permanent link shortener.
* currently deployed on Workers, Workers KV & Pages
- Generate a temporary shortened link for a link
- ... or for some text
- Generate permanent links for the administrator
Examples:
- GitHub Action docs: two.li/gha/docs
- GitHub Action environments: two.li/gha/env
- GitHub Action script: two.li/gha/script
// PUT /_/pixiv
{
"type": "link",
"payload": "https://www.pixiv.net/artworks",
"inheritPath": true
}
Result:
UAU link | Target |
---|---|
two.li/pixiv/15308432 | https://www.pixiv.net/en/artworks/15308432 |
two.li/pixiv/93067044 | https://www.pixiv.net/en/artworks/93067044 |
two.li/pixiv/<any id> | https://www.pixiv.net/en/artworks/<id> |
inheritParam
- Append the query parameters to the target URL (and preserve the ones in the target URL)
// PUT /_/1p3a
{
"type": "link",
"payload": "https://www.1point3acres.com/bbs/forum.php?mod=viewthread",
"inheritParam": true
}
Result:
Use any database on your choice
e.g. Workers KV
Check API doc.
MIT