testsAndMisc-archive/python_pkg/articles
Krzysztof kuhy Rudnicki 4cf523bf6d refactor: move Python packages under python_pkg/
- Move puzzle_solver/, poker_modifier_app/, articles/, tests/ into python_pkg/
- Move moviepy_showcase.py and _moviepy_*.py into python_pkg/moviepy_showcase/
- Update all imports to use python_pkg. prefix
- Update pyproject.toml per-file-ignores and pytest testpaths
- Add pre-commit hook to enforce Python files under python_pkg/
2026-03-18 22:54:45 +01:00
..
data refactor: move Python packages under python_pkg/ 2026-03-18 22:54:45 +01:00
tools refactor: move Python packages under python_pkg/ 2026-03-18 22:54:45 +01:00
__init__.py refactor: move Python packages under python_pkg/ 2026-03-18 22:54:45 +01:00
.clang-format refactor: move Python packages under python_pkg/ 2026-03-18 22:54:45 +01:00
.gitignore refactor: move Python packages under python_pkg/ 2026-03-18 22:54:45 +01:00
cppcheck.txt refactor: move Python packages under python_pkg/ 2026-03-18 22:54:45 +01:00
index.html refactor: move Python packages under python_pkg/ 2026-03-18 22:54:45 +01:00
Makefile refactor: move Python packages under python_pkg/ 2026-03-18 22:54:45 +01:00
README.md refactor: move Python packages under python_pkg/ 2026-03-18 22:54:45 +01:00
run_tests.sh refactor: move Python packages under python_pkg/ 2026-03-18 22:54:45 +01:00
run.sh refactor: move Python packages under python_pkg/ 2026-03-18 22:54:45 +01:00
server_c.c refactor: move Python packages under python_pkg/ 2026-03-18 22:54:45 +01:00
sw.js refactor: move Python packages under python_pkg/ 2026-03-18 22:54:45 +01:00
test_server_api.py refactor: move Python packages under python_pkg/ 2026-03-18 22:54:45 +01:00
test_site_size.py refactor: move Python packages under python_pkg/ 2026-03-18 22:54:45 +01:00

Mini Articles (<=14KB)

  • Single-file site: index.html with 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.html in a browser.

Tests

  • pytest includes a test to enforce the 14KB budget for index.html.