An open API service indexing awesome lists of open source software.

https://github.com/redl0tus/fedirect

Fediverse + redirect = Fedirect
https://github.com/redl0tus/fedirect

fediverse

Last synced: about 1 month ago
JSON representation

Fediverse + redirect = Fedirect

Awesome Lists containing this project

README

        

Fedirect
==========

Fediverse + redirect = Fedirect

Find user page by username.

e.g. https://brined.fish/link/[email protected] will 302 redirect to https://s.brined.fish/@KayMW

Tested platform:
- Mastodon
- GNU Social
- Misskey

Special thanks to [[email protected]](https://brined.fish/link/[email protected])( @biergaizi ) for naming the repo.

Deploy
------

Clone the reposistory, install the dependencies, and run `main.py`.
Don't forget to use a web server to reverse proxy it.

How does it work
----------------

1. Split username into two parts (username and host).
2. Fetch and parse host's `.well-known/host-meta`, get the link to host's webfinger.
3. Fetch user's page by accessing webfinger.