https://github.com/transcental/pfpserver
https://github.com/transcental/pfpserver
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/transcental/pfpserver
- Owner: transcental
- Created: 2024-11-09T02:56:59.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-16T11:44:16.000Z (about 1 year ago)
- Last Synced: 2025-07-30T03:38:53.180Z (5 months ago)
- Language: Python
- Homepage: https://pfp.amber.hackclub.app
- Size: 8.2 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PFP Server
This is a super basic Flask server for serving my pfps. There are three routes:
- `/` - Returns a random pfp
- `/` - Returns a random pfp from the specified folder
- `//` - Returns the specified pfp from the specified folder
## Usage
- Clone the repo
- Install the requirements with `pip install -r requirements.txt`
- Run the server with `gunicorn -w 4 -b 0.0.0.0:8000 main:app`
- Access the server at `http://localhost:8000/`