mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-07-04 19:43:11 +02:00
- Added constants for HTTP status codes (using http.HTTPStatus) - Added validation limit constants in screen_locker - Added centipawn loss threshold constants in chess analysis - Added various other domain-specific constants across 9 files |
||
|---|---|---|
| .. | ||
| data | ||
| tools | ||
| __init__.py | ||
| .clang-format | ||
| .gitignore | ||
| cppcheck.txt | ||
| index.html | ||
| Makefile | ||
| README.md | ||
| run_tests.sh | ||
| run.sh | ||
| server_c.c | ||
| sw.js | ||
| test_server_api.py | ||
| test_site_size.py | ||
Mini Articles (<=14KB)
- Single-file site:
index.htmlwith inline CSS & JS - Features:
- List of articles with thumbnails (cards)
- Read view: thumbnail, title, body (supports inline images/videos)
- Create view: title, thumbnail picker/drag-drop, rich body via contenteditable
- Drag/drop or choose images/videos anywhere in the body
- Local persistence via localStorage (no server required)
How to open
- Open
site/index.htmlin a browser.
Tests
pytestincludes a test to enforce the 14KB budget forindex.html.