A lightweight Flask web app for sharing and matching device control configurations.
The application stores profile data in a GitHub Gist and hosts uploaded control images through ImgBB, then lets users search for matching profiles using device and setup information.
- Collects control-profile information through a web interface
- Matches profiles by claw style, game, device, and device size
- Stores profile records in a GitHub Gist
- Uploads control images to ImgBB
- Returns matching profiles through a results page
- Uses caching and response compression for repeated requests
- Python
- Flask
- GitHub Gist API
- ImgBB API
- HTML / CSS
The application expects these environment variables:
GITHUB_ACCESS_TOKEN
IMGBB_API_KEY
Do not put real API keys or access tokens in the repository.
The application uses a GitHub Gist containing User_Data.json as its profile data source.
git clone https://github.com/CookieCums/ControlCodeShare.git
cd ControlCodeSharepip install -r requirements.txtSet GITHUB_ACCESS_TOKEN and IMGBB_API_KEY in your environment.
python main.pyThe application listens on port 10000.
ControlCodeShare/
├── main.py
├── requirements.txt
├── static/
└── templates/
User
│
├── Search profile ──► Flask ──► GitHub Gist
│ │
│ └── User_Data.json
│
└── Submit profile ─► Flask ──► ImgBB (control image)
│
└── GitHub Gist (profile data)
This README documents the current implementation. It does not change or imply additional application functionality.