Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

Fedirect

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.

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.

About

Fediverse + redirect = Fedirect

Topics

Resources

License

Releases

No releases published

Packages

No packages published

Languages