1.0 KiB
1.0 KiB
Hiddencode Project
This workspace contains a minimal implementation matching the provided specification:
server: Flask server + SQLite database that stores SHA and two codes (upload/download).client/Writer: C# WinForms app to write codes for a target file.client/Reader: C# WinForms app to scan a folder and read codes for files.
Quick start (macOS / Ubuntu for server):
- Server
cd server
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python db_init.py
python app.py
Server listens on http://0.0.0.0:5000 by default.
- Clients (Windows recommended, requires .NET 6+)
Open client/Writer/Writer.csproj and client/Reader/Reader.csproj in Visual Studio or run:
cd client/Writer
dotnet run
cd ../Reader
dotnet run
Notes:
- Server base URL is
http://localhost:5000in the client code; change if needed. - The server stores entries in SQLite file
server/hiddencode.dbwith fields: id, sha, upload_code, download_code, created_at.