Fediverse + redirect = Fedirect
Find user page by username.
e.g. https://brined.fish/link/KayMW@brined.fish will 302 redirect to https://s.brined.fish/@KayMW
Tested platform:
- Mastodon
- GNU Social
- Misskey
Special thanks to niconiconi@cybre.space( @biergaizi ) for naming the repo.
Clone the reposistory, install the dependencies, and run main.py
.
Don't forget to use a web server to reverse proxy it.
- Split username into two parts (username and host).
- Fetch and parse host's
.well-known/host-meta
, get the link to host's webfinger. - Fetch user's page by accessing webfinger.