Fediverse + redirect = Fedirect
Find user page by username.
Tested on Mastodon and GNU Social.
Special thanks to email@example.com( @biergaizi ) for naming the repo.
Clone the reposistory, install the dependencies, and run
Don't forget to use a web server to reverse proxy it.
How does it work
- 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.