aboutsummaryrefslogtreecommitdiffstats
path: root/deckit
diff options
context:
space:
mode:
Diffstat (limited to 'deckit')
-rw-r--r--deckit/__init__.py16
-rw-r--r--deckit/__main__.py16
-rw-r--r--deckit/config.py16
-rw-r--r--deckit/display.py16
-rw-r--r--deckit/module.py16
-rw-r--r--deckit/modules/__init__.py16
-rw-r--r--deckit/modules/llm.py16
-rw-r--r--deckit/modules/music.py16
-rw-r--r--deckit/modules/obs.py16
-rw-r--r--deckit/modules/sbbuilder.py16
-rw-r--r--deckit/modules/stats.py16
-rw-r--r--deckit/modules/windows.py16
-rw-r--r--deckit/obsclient.py16
-rw-r--r--deckit/server.py16
-rw-r--r--deckit/theme.py16
15 files changed, 240 insertions, 0 deletions
diff --git a/deckit/__init__.py b/deckit/__init__.py
index f5a692a..353b4d7 100644
--- a/deckit/__init__.py
+++ b/deckit/__init__.py
@@ -1 +1,17 @@
+# deck-it - the deck-it package
+# Copyright (C) 2026 Danilo M. <danix@danix.xyz>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2 as
+# published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
"""deck-it: a tablet dashboard, stream-deck and second monitor."""
diff --git a/deckit/__main__.py b/deckit/__main__.py
index 735836c..5b6cda8 100644
--- a/deckit/__main__.py
+++ b/deckit/__main__.py
@@ -1,3 +1,19 @@
+# deck-it - the command entry point
+# Copyright (C) 2026 Danilo M. <danix@danix.xyz>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2 as
+# published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
"""`python3 -m deckit [setup-display | env]`."""
import sys
diff --git a/deckit/config.py b/deckit/config.py
index 151207b..aac5ad9 100644
--- a/deckit/config.py
+++ b/deckit/config.py
@@ -1,3 +1,19 @@
+# deck-it - configuration loading and validation
+# Copyright (C) 2026 Danilo M. <danix@danix.xyz>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2 as
+# published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
"""Configuration loading and validation for deck-it."""
import os
diff --git a/deckit/display.py b/deckit/display.py
index c1a74b1..6a9a58f 100644
--- a/deckit/display.py
+++ b/deckit/display.py
@@ -1,3 +1,19 @@
+# deck-it - the virtual monitor setup
+# Copyright (C) 2026 Danilo M. <danix@danix.xyz>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2 as
+# published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
"""The virtual monitor half: a headless Hyprland output sized to the tablet."""
import json
diff --git a/deckit/module.py b/deckit/module.py
index f1a7fa1..9dad62a 100644
--- a/deckit/module.py
+++ b/deckit/module.py
@@ -1,3 +1,19 @@
+# deck-it - the module contract and registry
+# Copyright (C) 2026 Danilo M. <danix@danix.xyz>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2 as
+# published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
"""The module contract and the registry that dispatches to modules.
A module is a data source plus an allow-listed set of actions. The client sends
diff --git a/deckit/modules/__init__.py b/deckit/modules/__init__.py
index 76fc9c5..09c6605 100644
--- a/deckit/modules/__init__.py
+++ b/deckit/modules/__init__.py
@@ -1,3 +1,19 @@
+# deck-it - module discovery
+# Copyright (C) 2026 Danilo M. <danix@danix.xyz>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2 as
+# published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
"""Module discovery.
Every `deckit/modules/<name>.py` exporting `make(cfg) -> Module` is a module.
diff --git a/deckit/modules/llm.py b/deckit/modules/llm.py
index 1b40a6f..7856603 100644
--- a/deckit/modules/llm.py
+++ b/deckit/modules/llm.py
@@ -1,3 +1,19 @@
+# deck-it - llm module
+# Copyright (C) 2026 Danilo M. <danix@danix.xyz>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2 as
+# published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
"""Claude Code and opencode usage, relayed from llm-cost-dashboard's API.
Everything here is read-only. The dashboard stays the owner of the data and the
diff --git a/deckit/modules/music.py b/deckit/modules/music.py
index f0baacb..aa30798 100644
--- a/deckit/modules/music.py
+++ b/deckit/modules/music.py
@@ -1,3 +1,19 @@
+# deck-it - music module
+# Copyright (C) 2026 Danilo M. <danix@danix.xyz>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2 as
+# published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
"""Now playing and volume, via playerctl and wpctl."""
import subprocess
diff --git a/deckit/modules/obs.py b/deckit/modules/obs.py
index 07ec5d9..491f45f 100644
--- a/deckit/modules/obs.py
+++ b/deckit/modules/obs.py
@@ -1,3 +1,19 @@
+# deck-it - obs module
+# Copyright (C) 2026 Danilo M. <danix@danix.xyz>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2 as
+# published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
"""OBS stream-deck: recording, scenes, audio channels, transitions and sources."""
import json
diff --git a/deckit/modules/sbbuilder.py b/deckit/modules/sbbuilder.py
index 13552a1..cefe2a3 100644
--- a/deckit/modules/sbbuilder.py
+++ b/deckit/modules/sbbuilder.py
@@ -1,3 +1,19 @@
+# deck-it - sbbuilder module
+# Copyright (C) 2026 Danilo M. <danix@danix.xyz>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2 as
+# published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
"""sb-builder build state, read-only over ssh.
`sbb-remote stats` carries the dashboard: VM load, uptime, memory, disk, package
diff --git a/deckit/modules/stats.py b/deckit/modules/stats.py
index 255efc6..c190ec8 100644
--- a/deckit/modules/stats.py
+++ b/deckit/modules/stats.py
@@ -1,3 +1,19 @@
+# deck-it - stats module
+# Copyright (C) 2026 Danilo M. <danix@danix.xyz>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2 as
+# published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
"""System stats: CPU, memory, GPU (Intel xe), network, uptime.
The Arc driver exposes temperature and fan through hwmon and no VRAM capacity;
diff --git a/deckit/modules/windows.py b/deckit/modules/windows.py
index 67dbbd2..5457b16 100644
--- a/deckit/modules/windows.py
+++ b/deckit/modules/windows.py
@@ -1,3 +1,19 @@
+# deck-it - windows module
+# Copyright (C) 2026 Danilo M. <danix@danix.xyz>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2 as
+# published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
"""Hyprland windows, workspaces, and launching config-declared commands."""
import json
diff --git a/deckit/obsclient.py b/deckit/obsclient.py
index 87eefff..bd4d1d9 100644
--- a/deckit/obsclient.py
+++ b/deckit/obsclient.py
@@ -1,3 +1,19 @@
+# deck-it - a minimal obs-websocket v5 client
+# Copyright (C) 2026 Danilo M. <danix@danix.xyz>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2 as
+# published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
"""A minimal obs-websocket v5 client.
OBS speaks WebSocket + JSON. On connect it sends Hello; if auth is required we
diff --git a/deckit/server.py b/deckit/server.py
index c6cc7e8..e392041 100644
--- a/deckit/server.py
+++ b/deckit/server.py
@@ -1,3 +1,19 @@
+# deck-it - the HTTP server, auth and module routing
+# Copyright (C) 2026 Danilo M. <danix@danix.xyz>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2 as
+# published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
"""The HTTP server: static assets, the theme, and the module API.
It listens only on a Unix socket in a 0700 directory, which `adb reverse`
diff --git a/deckit/theme.py b/deckit/theme.py
index 5603d5b..2ed3d51 100644
--- a/deckit/theme.py
+++ b/deckit/theme.py
@@ -1,3 +1,19 @@
+# deck-it - reads the UDT palette and renders it as CSS
+# Copyright (C) 2026 Danilo M. <danix@danix.xyz>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2 as
+# published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
"""Read UDT's palette output and render it as CSS custom properties.
UDT writes the structural palette to ~/.config/rofi/udt/palette.rasi and the