/xhs-link

a minimalist xhslink dot com shortlink resolver

Primary LanguagePythonGNU Affero General Public License v3.0AGPL-3.0

xhslink Resolver

Inspired by b23.wtf

Remove hidden tracking parameters in xhslink dot com.

STILL UNDER INTENSIVE DEVELOPMENT

Deploy Your Own

Go to Deploy.md

Usage

Suppose you have a link like: (http(s)://)xhslink.com/YOUR_SHORT_CODE

Here YOUR_SHORT_CODE should be an alphanumberic string, like

  • o2s5so
  • TmtPSw
  • cUFu9d
  • kKsk
  • 114514

Redirect

Replace "com" with "icu" in your link.

https://xhslink.icu/YOUR_SHORT_CODE

API: Resolve the code

https://xhs.li/code/YOUR_SHORT_CODE

API: Resolve the full URL

https://xhs.li/full/?url=(http(s)://)xhslink.com/YOUR_SHORT_CODE

License

AGPLv3-icon

© Little Sweet Potato. This project is licensed under AGPLv3.

Verify the Commits

Commits in this repo are signed by a PGP key. Get it here.