website-xp-phone 2.5.3 → 2.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/package.json +6 -6
  2. package/public/blog/7.md +1 -1
  3. package/public/blog/archive/seventh-post-lie-theory-na2000.json +2 -2
  4. package/public/blog/random/google.md +2 -2
  5. package/public/blog/releases/dotfiles_1_0_0.md +45 -0
  6. package/public/blog/releases/hlwm_and_herbstutil.md +33 -0
  7. package/public/blog/releases/try_it_out.md +48 -0
  8. package/public/checksums.txt +83 -81
  9. package/public/documents/drift-report.json +1 -1
  10. package/src/content/addons.json +2 -2
  11. package/src/content/blog.json +12 -1
  12. package/src/content/configs.json +2 -2
  13. package/src/content/contacts.json +2 -0
  14. package/src/content/index.ts +7 -1
  15. package/src/content/projects/{webuser.json → _shelve/webuser.json} +6 -5
  16. package/src/content/projects/development.json +8 -8
  17. package/src/content/projects/doftiles.json +101 -29
  18. package/src/content/projects/frontend.json +6 -5
  19. package/src/content/projects/graphbrowser.json +34 -6
  20. package/src/content/projects/herbctl.json +78 -46
  21. package/src/content/projects/herbstutil.json +85 -68
  22. package/src/content/projects/lightdni-jssas-toggle.json +51 -6
  23. package/src/content/projects/on-deploy.json +85 -24
  24. package/src/content/projects/opencode-screencast.json +64 -11
  25. package/src/content/projects/pagerts.json +58 -22
  26. package/src/content/projects/polyframes.json +54 -31
  27. package/src/content/projects/rarebert.json +37 -8
  28. package/src/content/schema.ts +3 -0
  29. package/src/content/sections.json +2 -0
  30. package/src/content/soundcloud.json +26 -14
  31. package/src/styles/window.css +55 -19
  32. package/src/themes/pageSlide/index.ts +211 -83
  33. package/src/themes/pageSlide/pageSlide.css +89 -29
  34. package/src/window/OkButton.tsx +6 -1
  35. package/src/window/Window.tsx +78 -0
  36. package/src/window/themes.ts +6 -7
  37. package/test/content.test.js +17 -0
  38. package/tsconfig.node.tsbuildinfo +1 -1
  39. package/tsconfig.tsbuildinfo +1 -1
  40. package/xp.css/dist/98.css +2 -0
  41. package/xp.css/dist/98.css.map +1 -0
  42. package/xp.css/dist/GUI.css +2 -0
  43. package/xp.css/dist/GUI.css.map +1 -0
  44. package/xp.css/dist/XP.css +2 -0
  45. package/xp.css/dist/XP.css.map +1 -0
  46. package/xp.css/dist/fonts/converted/PerfectDOSVGA437Win.woff +0 -0
  47. package/xp.css/dist/fonts/converted/PerfectDOSVGA437Win.woff2 +0 -0
  48. package/xp.css/dist/fonts/converted/ms_sans_serif.woff +0 -0
  49. package/xp.css/dist/fonts/converted/ms_sans_serif.woff2 +0 -0
  50. package/xp.css/dist/fonts/converted/ms_sans_serif_bold.woff +0 -0
  51. package/xp.css/dist/fonts/converted/ms_sans_serif_bold.woff2 +0 -0
  52. package/Makefile +0 -39
  53. package/public/blog/hlwm_and_herbstutil.md +0 -74
@@ -1,88 +1,108 @@
1
1
  {
2
2
  "slug": "herbstutil",
3
3
  "title": "herbstutil",
4
- "description": "The herbstluftwm compatibility layer: herbstclient attr output as clean typed JSON, shell completion mirroring herbstclient's own, and the parse/attr primitives every sibling tool builds on.",
4
+ "description": "the herbstluftwm compatibility layer: herbstclient attr output as clean typed JSON, shell completion mirroring herbstclient's own, and the parse/attr primitives every sibling tool builds on.",
5
5
  "github": "https://github.com/akinevz2/herbstutil",
6
+ "lastModified": "2026-11-02",
6
7
  "content": {
7
- "heading": "herbstutil - JSON bridge to herbstluftwm",
8
+ "heading": "herbstutil - the JSON bridge to herbstluftwm",
8
9
  "content": [
9
- "herbstutil is a small command-line tool that turns the output of `herbstclient attr` into clean, typed JSON - so the state of the herbstluftwm window manager can be consumed wherever JSON is spoken. It can run herbstclient itself (`herbstutil attr ...`) or parse piped output like a unix filter.",
10
+ "**herbstutil** is a small command-line tool that turns the output of `herbstclient attr` into clean, typed JSON - so the state of the **herbstluftwm** window manager can be consumed wherever JSON is spoken.",
11
+ "",
12
+ "it can run herbstclient itself (`herbstutil attr ...`) or parse piped output like a unix filter.",
10
13
  "[https://github.com/akinevz2/herbstutil](https://github.com/akinevz2/herbstutil)",
11
14
  {
12
- "heading": "herbstluftwm in a nutshell",
15
+ "heading": "the attr interface herbstclient speaks",
13
16
  "content": [
14
- "herbstluftwm is a manual tiling window manager for Linux. Its core idea: the whole desktop is one global object tree - monitors, tags, clients (windows), settings - queried and modified over IPC with the companion tool herbstclient.",
15
- "The tree is probed with `herbstclient attr <path>`: it prints a short description of the node, its children, and a table of every attribute (typed, writable, hookable).",
16
- "```sh\n$ herbstclient attr clients. # children of the clients node\n$ herbstclient attr clients.focus. # introspect the focused window\n$ herbstclient attr clients.focus.tag # read a single leaf value\n```",
17
- "The catch: `attr` output is written for humans first - padded type tables, prose, legends. Great to read, fragile to parse."
17
+ "**herbstluftwm** is a manual tiling window manager for Linux. its core idea: the whole desktop is one global object tree - monitors, tags, clients (windows), settings - queried and modified over IPC with the companion tool herbstclient.",
18
+ "the tree is probed with `herbstclient attr <path>`: it prints a short description of the node, its children, and a table of every attribute (typed, writable, hookable).",
19
+ "```sh\n$ herbstclient attr clients. # the clients node\n$ herbstclient attr clients.focus. # the focused window\n$ herbstclient attr clients.focus.tag # one leaf value\n```",
20
+ "the catch: `attr` output is written for humans first - padded type tables, prose, legends.",
21
+ "",
22
+ "great to read, fragile to parse."
18
23
  ],
19
24
  "theme": "open"
20
25
  },
21
26
  {
22
- "heading": "What herbstutil does",
23
- "status": "v0.3.x - the compatibility layer",
27
+ "heading": "the package, architecturally",
24
28
  "content": [
25
- "herbstutil rebuilds `herbstclient attr` output as JSON, preserving the node's shape: value - the node's description; children - the names of the child nodes; attributes - every attribute as a name-value pair.",
26
- "Where herbstclient speaks humans, herbstutil speaks machine.",
27
- "It does not stop at unquoting: herbstclient annotates every attribute with a type hint in the first column of its listing, and herbstutil uses that hint to emit properly typed JSON.",
28
- {
29
- "heading": "Value typing",
30
- "content": [
31
- "s (string) - JSON string, outer quotes stripped",
32
- "b (bool) - JSON boolean",
33
- "i, u (int, uint) - JSON number",
34
- "R (rectangle) - `WIDTHxHEIGHT+X+Y` becomes an object { x, y, width, height }",
35
- "p (point) - `XxY` becomes an object { x, y }",
36
- "c, r, n, f (color, regex, named value, font) - string",
37
- "Leaf values (a single attribute) print no type hint, so a heuristic decides there: true/false become booleans, integers and decimals become numbers, everything else stays a string."
38
- ],
39
- "theme": "open"
40
- },
41
- {
42
- "heading": "Usage",
43
- "content": [
44
- "Two ways to the same JSON: let herbstutil run herbstclient for you, or pipe herbstclient through the parse filter (the default command). Built with Bun and bunli, packaged as a single executable:",
45
- "```sh\n$ herbstutil attr clients.focus. # runs herbstclient attr and parses it\n$ herbstclient attr clients. | herbstutil parse\n$ herbstclient attr clients. | herbstutil # parse is the default command\n```",
46
- "s, --space <n> - pretty-print with `n` spaces of indentation (default 4)",
47
- "e, --escape - skip all type conversion and keep every value exactly as herbstclient printed it: strings keep their literal quotes, escaped inside the JSON string",
48
- "`parse` refuses to run attached to a terminal: as a filter it always reads from stdin."
49
- ],
50
- "theme": "open"
51
- }
29
+ "one **bun**/**bunli** single executable: a pure parse/attr core, exported as a library (parseAttr), under a thin command layer - `attr`, `parse`, `shell-completions`.",
30
+ "",
31
+ "every spawn of herbstclient and helper binaries carries the 5-second timeout the dots wrapper convention mandates: a vanished window resolves null instead of wedging the bar or the keybind.",
32
+ "",
33
+ "parse/attr primitives only - the keybind state machines live one floor down, in **herbctl**."
34
+ ],
35
+ "theme": "open"
36
+ },
37
+ {
38
+ "heading": "usage",
39
+ "content": [
40
+ "two ways to the same JSON: let herbstutil run herbstclient for you, or pipe herbstclient through the parse filter (the default command):",
41
+ "```sh\n$ herbstutil attr clients.focus. # run + parse in one\n$ herbstclient attr clients. | herbstutil parse\n$ herbstclient attr clients. | herbstutil # parse is default\n```",
42
+ "`-s, --space <n>` - pretty-print with `n` spaces of indentation (default 4)",
43
+ "`-e, --escape` - skip all type conversion and keep every value exactly as herbstclient printed it: strings keep their literal quotes, escaped inside the JSON string",
44
+ "`parse` refuses to run attached to a terminal: as a filter it always reads from stdin."
52
45
  ],
53
46
  "theme": "open"
54
47
  },
55
48
  {
56
- "heading": "Examples",
49
+ "heading": "quirks - the value typing",
57
50
  "content": [
58
- "The same nodes, before and after herbstutil.",
51
+ "herbstclient annotates every attribute with a type hint in the first column of its listing; herbstutil uses that hint to emit properly typed JSON:",
52
+ "`s` (string) - JSON string, outer quotes stripped",
53
+ "`b` (bool) - JSON boolean",
54
+ "`i`, `u` (int, uint) - JSON number",
55
+ "`R` (rectangle) - `WIDTHxHEIGHT+X+Y` becomes an object { x, y, width, height }",
56
+ "`p` (point) - `XxY` becomes an object { x, y }",
57
+ "`c`, `r`, `n`, `f` (color, regex, named value, font) - string",
58
+ "",
59
+ "leaf values (a single attribute) print no type hint, so a heuristic decides there: true/false become booleans, integers and decimals become numbers, everything else stays a string.",
60
+ "",
61
+ "pass `--escape` to keep the raw text instead."
62
+ ],
63
+ "theme": "open"
64
+ },
65
+ {
66
+ "heading": "stable in v1.x",
67
+ "status": "v1.1.0",
68
+ "content": [
69
+ "the global command installs from a plain `npm install -g herbstutil` wherever bun exists - the package runs its bun-executed source, no build step to trust and no dist blob to ship.",
70
+ "the help text is terse and prints on stdout; the version in bunli.config and package.json can never diverge (the config spreads the package manifest).",
71
+ "the completion verb ships as `shell-completions`, registered first so help reads attr, parse, shell-completions in the natural order.",
72
+ "the parse contract is the stable surface: typed JSON with value / children / attributes, rectangles and points as objects."
73
+ ],
74
+ "theme": "open"
75
+ },
76
+ {
77
+ "heading": "examples",
78
+ "content": [
79
+ "the same nodes, before and after herbstutil.",
59
80
  {
60
- "heading": "Root node: herbstclient attr clients.",
81
+ "heading": "root node: herbstclient attr clients.",
61
82
  "content": [
62
- "Raw:",
63
- "```text\n$ herbstclient attr clients.\nThe managed windows. For every (managed) window id there is an entry here.\n\n4 children:\n 0x280003.\n 0x680004.\n 0x900003.\n focus.\n0 attributes.\n .---- type\n | .-- writable\n | | .-- hookable\n V V V\n```",
64
- "Through herbstutil:",
65
- "```json\n{\n \"value\": \"The managed windows. For every (managed) window id there is an entry here.\",\n \"children\": [\n \"0x280003.\",\n \"0x680004.\",\n \"0x900003.\",\n \"focus.\"\n ],\n \"attributes\": {}\n}\n```"
83
+ "raw:",
84
+ "```text\n$ herbstclient attr clients.\nThe managed windows. One entry per window id.\n\n4 children:\n 0x280003.\n 0x680004.\n 0x900003.\n focus.\n0 attributes.\n .---- type\n | .-- writable\n | | .-- hookable\n V V V\n```",
85
+ "through herbstutil:",
86
+ "```json\n{\n \"value\": \"The managed windows. One entry per window id.\",\n \"children\": [\n \"0x280003.\",\n \"0x680004.\",\n \"0x900003.\",\n \"focus.\"\n ],\n \"attributes\": {}\n}\n```"
66
87
  ],
67
88
  "theme": "open"
68
89
  },
69
90
  {
70
- "heading": "Node with attributes: herbstclient attr clients.focus.",
91
+ "heading": "node with attributes: herbstclient attr clients.focus.",
71
92
  "content": [
72
- "Raw (excerpt):",
73
- "```text\n$ herbstclient attr clients.focus.\na managed window\n\n1 child:\n parent_frame.\n24 attributes:\n .---- type\n | .-- writable\n | | .-- hookable\n V V V\n s - - class = \"Alacritty\"\n R - h content_geometry = 1255x662+13+34\n s - - class = \"Alacritty\"\n R - h content_geometry = 1255x662+13+34\n b w h decorated = true\n i - h pid = 403112\n s - - tag = \"work\"\n s - h title = \"OC | herbstutil tag 0.1.1b discrepancy\"\n b - h visible = true\n s - h winid = \"0x280003\"\n```",
74
- "Through herbstutil (excerpt - all 24 attributes arrive in the JSON):",
75
- "```json\n{\n \"value\": \"a managed window\",\n \"children\": [\n \"parent_frame.\"\n ],\n \"attributes\": {\n \"class\": \"Alacritty\",\n \"content_geometry\": {\n \"x\": 13,\n \"y\": 34,\n \"width\": 1255,\n \"height\": 662\n },\n \"decorated\": true,\n \"pid\": 403112,\n \"tag\": \"work\",\n \"title\": \"OC | herbstutil tag 0.1.1b discrepancy\",\n \"visible\": true,\n \"winid\": \"0x280003\"\n }\n}\n```",
76
- "Attribute values arrive typed: strings unquoted, booleans and numbers real, rectangles as objects - herbstclient's type hint drives the conversion. Pass `--escape` to keep the raw text instead."
93
+ "raw (excerpt):",
94
+ "```text\n$ herbstclient attr clients.focus.\na managed window\n\n1 child:\n parent_frame.\n24 attributes:\n .---- type\n | .-- writable\n | | .-- hookable\n V V V\n s - - class = \"Alacritty\"\n R - h content_geometry = 1255x662+13+34\n b w h decorated = true\n i - h pid = 403112\n s - - tag = \"work\"\n s - h title = \"OC | herbstutil tag 0.1.1b discrepancy\"\n b - h visible = true\n s - h winid = \"0x280003\"\n```",
95
+ "through herbstutil (excerpt - all 24 attributes arrive in the JSON):",
96
+ "```json\n{\n \"value\": \"a managed window\",\n \"children\": [\n \"parent_frame.\"\n ],\n \"attributes\": {\n \"class\": \"Alacritty\",\n \"content_geometry\": {\n \"x\": 13,\n \"y\": 34,\n \"width\": 1255,\n \"height\": 662\n },\n \"decorated\": true,\n \"pid\": 403112,\n \"tag\": \"work\",\n \"title\": \"OC | herbstutil tag 0.1.1b discrepancy\",\n \"visible\": true,\n \"winid\": \"0x280003\"\n }\n}\n```"
77
97
  ],
78
98
  "theme": "open"
79
99
  },
80
100
  {
81
- "heading": "Leaf node: herbstclient attr clients.focus.tag",
101
+ "heading": "leaf node: herbstclient attr clients.focus.tag",
82
102
  "content": [
83
- "Raw:",
103
+ "raw:",
84
104
  "```text\n$ herbstclient attr clients.focus.tag\nwork\n```",
85
- "Through herbstutil:",
105
+ "through herbstutil:",
86
106
  "```json\n{\n \"value\": \"work\",\n \"children\": [],\n \"attributes\": {}\n}\n```"
87
107
  ],
88
108
  "theme": "open"
@@ -91,37 +111,34 @@
91
111
  "theme": "open"
92
112
  },
93
113
  {
94
- "heading": "The pure layer (the v0.3 split)",
95
- "content": [
96
- "herbstutil stayed deliberately small: parse/attr primitives only. The keybind state machines that briefly lived here (the mod-s/w/d/e/a/q/f/x compositions and the float registers) moved out to herbctl - its own project, one floor down on this page.",
97
- "Everything downstream (herbctl, polyframes) imports parseAttr directly, bundled at build time; the CLI verbs stay for scripts and humans."
98
- ],
99
- "theme": "open"
100
- },
101
- {
102
- "heading": "Shell completion, mirroring herbstclient",
114
+ "heading": "extensions - shell completion",
103
115
  "content": [
104
- "herbstclient's completion model: the binary does the thinking (complete_shell <pos> <words...>), the shell scripts just delegate. herbstutil mirrors it - the complete-shell verb, plus bash/zsh scripts that are byte-structure twins of hlwm's own.",
105
- "The attr verb's positional completes LIVE hlwm object paths: the request is delegated to herbstclient -q complete_shell itself, so clients.0x…, tags.by-name. and every attribute name arrive straight from the running WM.",
106
- "Install the completion with the package scripts:",
116
+ "**herbstclient**'s completion model: the binary does the thinking (complete_shell <pos> <words...>), the shell scripts just delegate. **herbstutil** mirrors it - the shell-completions verb, plus bash/zsh scripts that are byte-structure twins of hlwm's own.",
117
+ "",
118
+ "the attr verb's positional completes live hlwm object paths: the request is delegated to herbstclient -q complete_shell itself, so clients.0x..., tags.by-name. and every attribute name arrive straight from the running WM.",
119
+ "",
120
+ "install the completion with the package scripts:",
107
121
  "```sh\n$ npm run completion:install # bash + zsh, user-level\n$ herbstutil attr clients.<TAB> # the live tree, in your shell\n```",
108
- "Published on npm: `npm i -g herbstutil` gives the command (it runs through bun) - or install from source with bun run build."
122
+ "published on npm: `npm i -g herbstutil` gives the command (it runs through bun) - or install from source with `bun run build`."
109
123
  ],
110
124
  "theme": "open"
111
125
  },
112
126
  {
113
- "heading": "Links",
127
+ "heading": "links",
114
128
  "content": [
115
129
  {
116
- "heading": "GitHub repository",
130
+ "heading": "github repository",
131
+ "content": "v1.1.0",
117
132
  "link": "https://github.com/akinevz2/herbstutil"
118
133
  },
119
134
  {
120
135
  "heading": "herbstluftwm project",
136
+ "content": "herbstluftwm 0.9.5",
121
137
  "link": "https://herbstluftwm.org"
122
138
  },
123
139
  {
124
140
  "heading": "herbstclient reference",
141
+ "content": "herbstluftwm 0.9.5",
125
142
  "link": "https://herbstluftwm.org/herbstclient.html"
126
143
  }
127
144
  ],
@@ -1,18 +1,63 @@
1
1
  {
2
2
  "slug": "lightdni-jssas-toggle",
3
3
  "title": "lightdni-jssas-toggle",
4
- "description": "LightDNI (Doesn't Need Integration) provides a simple declarative API for adding a theme toggle to your website.",
4
+ "description": "lightdni (Doesn't Need Integration) provides a simple declarative API for adding a theme toggle to your website.",
5
5
  "github": "https://github.com/akinevz2/lightdni-jssas-toggle",
6
+ "lastModified": "2026-10-29",
6
7
  "content": {
7
- "heading": "lightdni-jssas-toggle",
8
+ "heading": "lightdni-jssas-toggle - the theme toggle, no integration needed",
8
9
  "content": [
9
- "LightDNI (Doesn't Need Integration) provides a simple declarative API for adding a theme toggle to your website.",
10
+ "**lightdni** (Doesn't Need Integration) provides a simple declarative API for adding a theme toggle to your website.",
11
+ "",
10
12
  "[https://github.com/akinevz2/lightdni-jssas-toggle](https://github.com/akinevz2/lightdni-jssas-toggle)",
11
13
  {
12
- "heading": "From the README",
14
+ "heading": "how a website wears its theme",
13
15
  "content": [
14
- "TypeScript utility package for applying and toggling CSS themes: theme classes and attributes on the root element, dynamic CSS variables, localStorage/cookie persistence, and accessibility metadata (color-scheme and aria-live announcements).",
15
- "A consolidated one-call setTheme API - dependency-safe, and works in vanilla JS/TS, React, and Vue projects."
16
+ "a website's theme is conventionally worn on the root element: a class or a data attribute selects the palette, CSS variables carry the colors, and persistence rides localStorage or a cookie. the platform adds the rest - `color-scheme` for the browser's own widgets, `prefers-color-scheme` for the system setting.",
17
+ "",
18
+ "every framework re-implements this wiring. **lightdni** is that wiring, once, declaratively - in vanilla JS/TS, React and Vue projects alike."
19
+ ],
20
+ "theme": "open"
21
+ },
22
+ {
23
+ "heading": "the package, architecturally",
24
+ "content": [
25
+ "a TypeScript utility package: one consolidated `setTheme` call that applies theme classes and attributes on the root element, resolves dynamic CSS variables, persists through localStorage/cookie, and maintains the accessibility metadata (`color-scheme`, `aria-live` announcements).",
26
+ "",
27
+ "dependency-safe - no framework runtime, no peer installs."
28
+ ],
29
+ "theme": "open"
30
+ },
31
+ {
32
+ "heading": "quirks",
33
+ "content": [
34
+ "the persisted theme name is read back defensively - a stored value that names no known theme resolves to the default, not to a broken palette."
35
+ ],
36
+ "theme": "open"
37
+ },
38
+ {
39
+ "heading": "stable in v1.x",
40
+ "status": "v1.1.1",
41
+ "content": [
42
+ "the one-call `setTheme` API is the stable surface; the persisted-theme reader is back with tests.",
43
+ "",
44
+ "published on npm: lightdni-jssas-toggle 1.1.1."
45
+ ],
46
+ "theme": "open"
47
+ },
48
+ {
49
+ "heading": "links",
50
+ "content": [
51
+ {
52
+ "heading": "github repository",
53
+ "content": "v1.1.1",
54
+ "link": "https://github.com/akinevz2/lightdni-jssas-toggle"
55
+ },
56
+ {
57
+ "heading": "npm package",
58
+ "content": "1.1.1",
59
+ "link": "https://www.npmjs.com/package/lightdni-jssas-toggle"
60
+ }
16
61
  ],
17
62
  "theme": "open"
18
63
  }
@@ -1,62 +1,123 @@
1
1
  {
2
2
  "slug": "on-deploy",
3
3
  "title": "on-deploy",
4
- "description": "The doftiles deployment orchestrator: verifies the WM-stack binaries, installs the missing ones through per-distro deploy scripts, runs the make install assurances (bun, postinstall trust, the herbctl binary), deploys the dependencies, and provisions the session stack from declarative profiles.",
4
+ "description": "the doftiles deployment orchestrator: verifies the WM-stack binaries, installs the missing ones through per-distro deploy scripts, runs the make install assurances (bun, postinstall trust, the herbctl binary), deploys the dependencies, and provisions the session stack from declarative profiles.",
5
5
  "github": "https://github.com/akinevz2/on-deploy",
6
+ "lastModified": "2026-11-05",
6
7
  "content": {
7
8
  "heading": "on-deploy - the deployment orchestrator",
8
9
  "content": [
9
- "on-deploy turns the dotfiles repo into a one-command deployment. It runs inside the doftiles checkout and reads two manifests: wm.requires (the required binaries; the last line names the platform - ubuntu, manjaro, arch, ... - selecting the <target>.deploy resolver) and deploy.profile (how the graphical session starts, which features, which units, which env). The make deploy TUI configures both before anything is stowed.",
10
+ "**on-deploy** turns the **doftiles** repo into a one-command deployment. it runs inside the doftiles checkout, reads the deployment manifests, and provisions the session stack from them - all four manifests are configurable through configure (tui or flags).",
11
+ "",
10
12
  "[https://github.com/akinevz2/on-deploy](https://github.com/akinevz2/on-deploy)",
11
13
  {
12
- "heading": "The verbs",
14
+ "heading": "the repo it walks",
13
15
  "content": [
14
- "check - report the requirement state; exit 1 when anything is missing (also --json).",
15
- "deploy - install every missing binary: resolve the package, show the command, confirm (Enter = yes), run it, then re-verify - a binary still missing after its command fails the run. --yes for non-interactive runs; --dry-run to preview.",
16
- "provision - platform services per profile: the X server set, the ~/.xinitrc session line, a greetd + tuigreet greeter, the nested stack packages, the xrdp layer.",
17
- "toolchain - the make install assurances: bun through npm when missing, trust of the global bun packages' postinstall scripts, the herbctl binary built from the submodule checkout when missing. (These used to be four separate Makefile recipes - bun-toolchain, bun-trust, on-deploy-ensure, herbctl-ensure - they are steps of one command now.)",
18
- "deps - the dependency deployment: polyframes (the bar module / rofi menus binary), ensured on install, --force redeployed on update, --method source|npm|release per machine. The install method is recorded in ~/.config/doftiles.conf (stowed from the repo, so method changes show up as tracked diffs).",
19
- "snapshot - collect a machine's pre-existing config into doftiles' defaults/ (a stow-shaped package) BEFORE the first deploy overwrites it - the machine's prior state, versioned in git, restorable with one make target.",
20
- "configure - edit the deploy target and the required-package list from an interactive menu (or --target/--add/--remove flags)."
16
+ "the doftiles checkout is a structured deployment scope, declared in four manifests:",
17
+ "**wm.required** - required binaries, the deployment model and the deploy target",
18
+ "",
19
+ "**stows.required** - the stow packages",
20
+ "",
21
+ "**system.required** - each submodule with its dots-relative paths - the scope of the depends walk",
22
+ "",
23
+ "**services.required** - the unit order",
24
+ "",
25
+ "each stow package owns its own dots/<pkg>/.local/state/depends/<pkg>.makefile (toolchain/build/link/install), and the session runs as systemd user units - on-deploy provisions both."
21
26
  ],
22
27
  "theme": "open"
23
28
  },
24
29
  {
25
- "heading": "The profiles",
30
+ "heading": "the package, architecturally",
26
31
  "content": [
27
- "Four session models, co-installable where it makes sense:",
28
- "wsl-systemd - NO display manager: hlwm runs as the systemd user unit herbst.service, waiting for the Windows-side X server (VcXsrv) to be reachable. The historical bypass; provision even checks the Windows partition for VcXsrv and offers a silent install from the SourceForge feed.",
29
- "nested - hlwm inside an Xvfb framebuffer, shared over VNC (:5900) and browser noVNC (:6080), with an RDP surface layered on top (xrdp's Xvnc module attaches to the same framebuffer; 3389 stays free for the Windows side). The temporary profile, additive to a primary one.",
30
- "xinit - startx runs ~/.xinitrc; no display manager.",
31
- "greetd - greetd + tuigreet own the console (the bare-OS target).",
32
- "A profile declares units (systemd user units, enabled additively) and env overrides (written to ~/.config/doftiles/env, read by the units via EnvironmentFile). The make deploy TUI selects the session model, the features, the units and the env - and writes deploy.profile before stowing anything."
32
+ "a resolver, not a package list: the deploy script contract is `<target>.deploy <binary>` -> the providing package, and `install <binary>` -> the install command - one resolver script per distro, whatever the distro is.",
33
+ "",
34
+ "the requirement walk is resolve, confirm, run, re-verify: every missing binary is resolved per <target>.deploy, printed before it runs (sudo prompts stay visible - the tty is unlocked), and re-verified after.",
35
+ "",
36
+ "the prompts ride a raw line reader (bun's readline wedges), and the menu works scripted or interactive."
33
37
  ],
34
38
  "theme": "open"
35
39
  },
36
40
  {
37
- "heading": "Built to not hang, not lie",
41
+ "heading": "usage - the verbs",
38
42
  "content": [
39
- "Non-interactive runs abort cleanly demanding --yes instead of blocking on prompts; every install is re-verified; a failed install fails the run. The prompts ride a raw line reader (bun's readline wedges), and the menu works scripted or interactive. The deploy script contract is <target>.deploy <binary> -> the providing package, install <binary> -> the install command - the resolver per distro, not a package list."
43
+ "`install` / `check` - the requirement walk; check reports and exits 1 on missing (--json).",
44
+ "",
45
+ "`deploy` - install every missing binary: resolve the package, show the command, confirm (Enter = yes), run it, then re-verify - a binary still missing after its command fails the run. `--yes` for non-interactive runs, `--dry-run` to preview.",
46
+ "",
47
+ "`services` - the service.order (services.required) runner: check/start/stop/restart/status over the systemd user units, --no-block, stow-safe disable.",
48
+ "",
49
+ "`detect-server` - the reachable-X probe (localhost:0.0 style): `--persist-to-systemd` writes DISPLAY into the manager env, `--persist-to-env` writes an rc.d-includable file.",
50
+ "",
51
+ "`toolchain` - the make install assurances: bun through npm when missing, trust of the global bun packages' postinstall scripts, the **herbctl** binary built from the submodule checkout when missing.",
52
+ "",
53
+ "`depends` - the per-package walk over system.required: every listed package runs its depends makefile; `--only` narrows, `--build` for sync+build.",
54
+ "",
55
+ "`snapshot` - collect a machine's pre-existing config into doftiles' defaults/ (a stow-shaped package) before the first deploy overwrites it - the machine's prior state, versioned in git, restorable with one make target.",
56
+ "",
57
+ "`configure` - edit the deploy target and the required-package list from an interactive menu (or `--target`/`--add`/`--remove` flags)."
40
58
  ],
41
59
  "theme": "open"
42
60
  },
43
61
  {
44
- "heading": "Links",
62
+ "heading": "usage - the profiles",
63
+ "content": [
64
+ "four session models, co-installable where it makes sense:",
65
+ "**wsl-systemd** - no display manager: hlwm runs as the systemd user unit herbst.service, waiting for the Windows-side X server (VcXsrv) to be reachable; provision even checks the Windows partition for VcXsrv and offers a silent install from the SourceForge feed",
66
+ "",
67
+ "**nested** - hlwm inside an Xvfb framebuffer, shared over VNC (:5900) and browser noVNC (:6080), with an RDP surface layered on top (xrdp's Xvnc module attaches to the same framebuffer; 3389 stays free for the Windows side)",
68
+ "",
69
+ "**xinit** - startx runs ~/.xinitrc; no display manager",
70
+ "",
71
+ "**greetd** - greetd + tuigreet own the console (the bare-OS target)",
72
+ "",
73
+ "a profile declares units (systemd user units) and env overrides (written to ~/.config/doftiles/env, read by the units via EnvironmentFile). the make deploy tui selects the session model, the features, the units and the env - and writes deploy.profile before stowing anything."
74
+ ],
75
+ "theme": "open"
76
+ },
77
+ {
78
+ "heading": "quirks",
79
+ "content": [
80
+ "non-interactive runs abort cleanly demanding --yes instead of blocking on prompts; a failed install fails the run.",
81
+ "",
82
+ "the only true external requirement is passwordless sudo (or an interactive prompt) for platform package installation.",
83
+ "",
84
+ "profiles enable additively: activating a second profile never disables the first's units."
85
+ ],
86
+ "theme": "open"
87
+ },
88
+ {
89
+ "heading": "stable in v1.4.x",
90
+ "status": "v1.4.2",
91
+ "content": [
92
+ "version probing reads the package manager (dpkg-query, pacman) instead of spawning the binary - GUI programs no longer initialize a display backend on the walk and flash a window mid-deploy.",
93
+ "",
94
+ "the managed status reports `installed <version>`, read from the same package-manager query.",
95
+ "",
96
+ "the four manifests, configure and the profile walk are the stable surface since 1.4.0."
97
+ ],
98
+ "theme": "open"
99
+ },
100
+ {
101
+ "heading": "links",
45
102
  "content": [
46
103
  {
47
- "heading": "GitHub repository",
104
+ "heading": "github repository",
105
+ "content": "v1.4.2",
48
106
  "link": "https://github.com/akinevz2/on-deploy"
49
107
  },
50
108
  {
51
- "heading": "doftiles (what it deploys)",
109
+ "heading": "doftiles - what it deploys",
110
+ "content": "v1.0.0",
52
111
  "link": "/projects/doftiles"
53
112
  },
54
113
  {
55
- "heading": "herbctl (the binary the toolchain step builds)",
114
+ "heading": "herbctl - the binary the toolchain step builds",
115
+ "content": "v1.2.1",
56
116
  "link": "/projects/herbctl"
57
117
  },
58
118
  {
59
- "heading": "polyframes (the artifact the deps step deploys)",
119
+ "heading": "polyframes - the artifact the deps step deploys",
120
+ "content": "v2.2.0",
60
121
  "link": "/projects/polyframes"
61
122
  }
62
123
  ],
@@ -1,31 +1,84 @@
1
1
  {
2
2
  "slug": "opencode-screencast",
3
3
  "title": "opencode-screencast",
4
- "description": "An OpenCode plugin for live herbstluftwm screencasts: floating narration and delegation windows, a geometry toolkit for the floating layer (disjoin_rects partitioning, batch fitting, tiling surgery), audience callbacks over dunst, and a typed OOP scenario layer whose runs serialize to replayable script files.",
4
+ "description": "an OpenCode plugin for live herbstluftwm screencasts: floating narration and delegation windows, a geometry toolkit for the floating layer (disjoin_rects partitioning, batch fitting, tiling surgery), audience callbacks over dunst, and a typed OOP scenario layer whose runs serialize to replayable script files.",
5
5
  "github": "https://github.com/akinevz2/opencode-screencast",
6
+ "lastModified": "2026-10-31",
6
7
  "content": {
7
- "heading": "opencode-screencast — the agent performs, the audience watches",
8
+ "heading": "opencode-screencast - the agent performs, the audience watches",
8
9
  "content": [
9
- "opencode-screencast turns an OpenCode agent into a screencast performer: it spawns floating narration windows the audience reads while the agent drives herbstluftwm live — every hlwm operation logged into the narration feed, every delegated command typed visibly into managed terminals, completion signaled by sentinels instead of window-title guesses.",
10
+ "**opencode-screencast** turns an **OpenCode** agent into a screencast performer: it spawns floating narration windows the audience reads while the agent drives **herbstluftwm** live - every hlwm operation logged into the narration feed, every delegated command typed visibly into managed terminals, completion signaled by sentinels instead of window-title guesses.",
11
+ "",
10
12
  "[https://github.com/akinevz2/opencode-screencast](https://github.com/akinevz2/opencode-screencast)",
11
13
  {
12
- "heading": "The floating layer, handled honestly",
14
+ "heading": "the stage it performs on",
13
15
  "content": [
14
- "The plugin treats floating-vs-tiling occlusion as a layout bug, not cosmetics: disjoin_rects partitions the monitor against every decorated float, the largest unobscured rect becomes the placement slot, and a fit_floating_layer pass walks the whole floating layer into non-overlapping positions — nudging visibly by default, or snapping at once under the hlwm lock. A single misplaced tile gets frame surgery instead: the split runs along the floating window's decorated edge so the covered tiled window lands on the free side."
16
+ "three systems host the show: **herbstluftwm** (the floating layer is the stage floor - every narration and delegation window lives there), **dunst** (the audience's channel - whispers replace themselves in a stable slot or carry click actions), and **OpenCode** (the performer - a plugin host whose tool calls drive hlwm over herbstclient).",
17
+ "",
18
+ "the floating layer is finite screen space shared with the user's own floats - occlusion is a layout bug, not cosmetics."
15
19
  ],
16
20
  "theme": "open"
17
21
  },
18
22
  {
19
- "heading": "The audience is an actor",
23
+ "heading": "the package, architecturally",
20
24
  "content": [
21
- "Whispers (dunst notifications) can replace themselves in a stable slot, or carry a click action that yoinks the user back to the orchestrating window — the click fires a detached handler through herbstclient, no blocked tooling. The stranded roll-call audits the backstage windows (orchestrator, narration) for wrong tags, minimization, or drifting off-screen, and the guarded close refuses to ever terminate the conversation window: its winid churns when reopened, so identity comes from capture-at-start, verified at every assert."
22
- ]
25
+ "an OpenCode plugin (hook-based tool integration) over a geometry toolkit and a typed scenario layer.",
26
+ "",
27
+ "the geometry toolkit partitions the monitor with disjoin_rects against every decorated float: the largest unobscured rect becomes the placement slot, and a fit_floating_layer pass walks the whole floating layer into non-overlapping positions - nudging visibly by default, or snapping at once under the hlwm lock.",
28
+ "",
29
+ "a single misplaced tile gets frame surgery instead: the split runs along the floating window's decorated edge so the covered tiled window lands on the free side.",
30
+ "",
31
+ "the scenario layer authors presentations as typed OOP: branded winids and tag names, a Camera that carries the performance with it, managed Clients, and Scenes that record every action with millisecond offsets - saved as replayable .scenario.json files."
32
+ ],
33
+ "theme": "open"
34
+ },
35
+ {
36
+ "heading": "usage - the scenario surface",
37
+ "content": [
38
+ "the User surface reads like a test framework: expect, await, recover, awaitClick - predicates over hlwm observables (focus, floating state, rects, command exit codes, current tag) with recovery strategies instead of blind sleeps.",
39
+ "",
40
+ "scenes record as they run; the saved .scenario.json replays the performance step for step.",
41
+ "",
42
+ "a backprop-style checker walks each scene's action stream against simulated state and flags the churn that reads as screen flashes: duplicated camera moves, yo-yo focus, undone moves, float oscillation."
43
+ ],
44
+ "theme": "open"
23
45
  },
24
46
  {
25
- "heading": "Scenarios: typed, replayable, checked",
47
+ "heading": "quirks",
26
48
  "content": [
27
- "The scenario layer authors presentations as typed OOP: branded winids and tag names, a Camera that carries the performance with it, managed Clients, and Scenes that record every action with millisecond offsets — saved as replayable .scenario.json files. The User surface reads like a test framework: expect, await, recover, awaitClick — predicates over hlwm observables (focus, floating state, rects, command exit codes, current tag) with recovery strategies instead of blind sleeps. A backprop-style checker walks each scene's action stream against simulated state and flags the churn that reads as screen flashes: duplicated camera moves, yo-yo focus, undone moves, float oscillation."
28
- ]
49
+ "the conversation window's winid churns when reopened - identity comes from capture-at-start, verified at every assert; the guarded close refuses to ever terminate it.",
50
+ "",
51
+ "whisper click actions fire detached handlers through herbstclient - no blocked tooling.",
52
+ "",
53
+ "the stranded roll-call audits the backstage windows (orchestrator, narration) for wrong tags, minimization, or drifting off-screen."
54
+ ],
55
+ "theme": "open"
56
+ },
57
+ {
58
+ "heading": "stable so far - v0.1.x",
59
+ "status": "v0.1.0",
60
+ "content": [
61
+ "sentinel-based completion (no window-title guesses), capture-at-start window identity, and the disjoin_rects placement slot are the stable floor of the plugin.",
62
+ "",
63
+ "the scenario layer's recording format (.scenario.json) is the replayable surface."
64
+ ],
65
+ "theme": "open"
66
+ },
67
+ {
68
+ "heading": "links",
69
+ "content": [
70
+ {
71
+ "heading": "github repository",
72
+ "content": "0.1.0 (no tags yet)",
73
+ "link": "https://github.com/akinevz2/opencode-screencast"
74
+ },
75
+ {
76
+ "heading": "doftiles - the agents package that ships it",
77
+ "content": "v1.0.0",
78
+ "link": "/projects/doftiles"
79
+ }
80
+ ],
81
+ "theme": "open"
29
82
  }
30
83
  ]
31
84
  }