No description
- JavaScript 55%
- Python 25.8%
- HTML 11.9%
- CSS 7.1%
- Dockerfile 0.2%
|
All checks were successful
docker-publish / build-and-push (push) Successful in 10s
|
||
|---|---|---|
| .forgejo/workflows | ||
| .gitignore | ||
| api.js | ||
| board.html | ||
| board.js | ||
| config.js | ||
| docker-compose.yml | ||
| Dockerfile | ||
| index.html | ||
| index.js | ||
| proxy.py | ||
| README | ||
| settings.js | ||
| style.css | ||
| thread.html | ||
| thread.js | ||
legacymkch - legacy frontend for mkch Simple HTML/CSS/JS frontend for Symbian browsers and other legacy environments. Files: - index.html - main page with boards list - board.html - threads list for a board - thread.html - thread view with comments - style.css - styles - config.js - configuration (API endpoint) - api.js - API client functions - index.js, board.js, thread.js - page logic - settings.js - settings management (cookies, localStorage, debug mode) - proxy.py - CORS proxy server Setup: 1. Start mkch backend server 2. Start proxy server 3. Open http://localhost:8888 (or http://YOUR_IP:8888 for remote access) in browser 4. Go to Settings and configure: - API Base URL (auto-detected from current hostname) - Source Key - enter your key and click "Calculate" to calculate auth_key - Auth Key (sha256 hash, calculated automatically or enter manually) - Session ID (auto-generated if empty, or enter manually) - CSRF Token (from cookies after visiting /key/auth/) - Debug mode - enable to send browser console logs to proxy server (best secutiy solution 2025!!! /j) Server (proxy.py): - Runs on port 8888 by default - Serves static files (HTML, CSS, JS) from current directory - Proxies API requests (/api/*, /key/*) to http://127.0.0.1:8000 - Handles /sha256 endpoint for SHA256 calculation - Handles /debuglog endpoint for debug logging - Adds CORS headers to bypass browser restrictions - Adds X-Forwarded-For header to preserve client IP - Edit API_BASE in proxy.py to change target server Requirements: - Python 3 - Browser with XMLHttpRequest support (ES5 compatible) - mkch server running on port 8000