A very basic Flask server that prompts the user for an instance domain, sends them through authentication flow, then displays a bare bones home timeline view. Basically just a proof of concept, feel free to use it for whatever you like.
app | ||
.gitignore | ||
deploy.sh | ||
docker-compose.yml | ||
Dockerfile | ||
LICENSE | ||
README.md | ||
requirements.txt |
GoToSocial FE Example
Here's a really rough Flask project to demonstrate OAuth flow for GoToSocial.
All this will do is prompt the user for an instance domain, send them through the authentication flow, then drop them on a very basic homepage view.
Don't expect any updates from this, I'm scrapping the project in favor of using something different. This is just to serve as an example of how one might do this. Feel free to fork or clone the code for yourself to use in whatever you like.
Usage
./deploy.sh development
or ./deploy.sh production
to run the Flask server.