Simple WebFinger server that returns static resources. Written with Python and FastAPI.
Find a file
2022-11-20 04:29:07 -06:00
resource minimum viable implementation 2022-11-19 23:44:42 -06:00
main.py minimum viable implementation 2022-11-19 23:44:42 -06:00
Pipfile minimum viable implementation 2022-11-19 23:44:42 -06:00
Pipfile.lock minimum viable implementation 2022-11-19 23:44:42 -06:00
README.md Add .json hint 2022-11-20 04:29:07 -06:00

Instructions

Add a resource in the resource/ folder. This will map to the ?resource= query parameter. Save it as a .json file

pipenv install
pipenv run uvicorn main:app --port 3464 --workers 1

nginx proxy_pass .well-known/webfinger to localhost:3464