Files
mediadeck/pyproject.toml
T
Denis e823b2d470 Initial commit: MediaDeck web remote for a Linux media PC
Python bridge (aiohttp, single asyncio loop) between a tablet browser and
a Linux media PC: MPRIS players, PipeWire audio (pactl), virtual keyboard
and touchpad (uinput), power and session control (logind).

- Tablet UI with player, audio, touchpad, launchers and system tabs (fr/en)
- Launchers stored in SQLite and managed from /admin; raw commands are
  opt-in (admin.allow_custom_command)
- Optional text entry, translated to key presses from the PC's real
  keyboard layout with libxkbcommon and never through the clipboard
  (features.text_input, off by default)
- Local HTTPS with a private CA restricted by name constraints (make cert)
- Token-protected WebSocket and REST API, strict CSP, no JS dependencies

Checked: pyright 0 errors, 87 unit tests, browser tests in headless
Chromium. Not yet exercised on the real tablet, nor with real uinput key
presses.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-23 23:33:10 +02:00

30 lines
635 B
TOML

[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "mediadeck"
version = "0.1.0"
description = "Web remote for a Linux media PC: MPRIS, PipeWire, virtual input, power"
readme = "README-EN.md"
license = "MIT"
requires-python = ">=3.11"
authors = [{ name = "Denis" }]
dependencies = [
"aiohttp>=3.9",
"dbus-next>=0.2.3",
"evdev>=1.6",
]
[project.optional-dependencies]
dev = ["pyright>=1.1.380"]
[project.scripts]
mediadeck = "mediadeck.__main__:main"
[tool.setuptools]
packages = ["mediadeck"]
[tool.setuptools.package-data]
mediadeck = ["web/*.html", "web/static/*"]