Commit 562c78c
feat: add DVD and pipes screensavers with cycling support (#2)
* docs: add design spec for new screensavers (dvd, pipes)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* docs: add implementation plan for new screensavers
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* docs: add dvd and pipes screenshots, rename screensaver to snake
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* refactor: extract shared code from main.go into focused files
Move terminal helpers to terminal.go, styles/rendering to style.go,
CGo auth logic to auth.go, and grid/worm primitives to grid.go.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* refactor: extract worm screensaver to screensaver_worm.go
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* feat: add screensaver interface and unified --screensaver flag
Introduce a screensaver interface with a factory registry and random
picker. Wrap runWormDemo in wormScreensaver to satisfy the interface.
Rewrite flag parsing: --screensaver <name> (snake/pipes/dvd/random),
--screensaver-cycle (stub), --worm-count alias, keeping --snake and
--snake-count for backwards compatibility.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* feat: add bouncing DVD lock screensaver
Implements dvdScreensaver with a tinted padlock that bounces diagonally
around the terminal at 100ms per tick, changing color on each wall
bounce. Supports keypress-triggered password overlay, Touch ID via Esc,
SIGWINCH resize handling, and tmux focus-event filtering.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* feat: add pipes screensaver
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* feat: add --pipes, --dvd, --random flags, cycling support, fix pipes rendering
- Add shortcut flags: --pipes, --dvd, --random alongside --snake
- Replace --screensaver/--screensaver-delay with --delay and --cycle (duration strings)
- Implement screensaver cycling via stop channel interface
- Fix pipes to stay solid while growing (fade only on screen reset)
- Remove static lock icon from DVD screensaver
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: resolve lint issues and update README usage
- Remove unused vars (purple, lockTitleStyle, promptStyle)
- Remove unused funcs (renderMessageOverlay, renderLockScreen)
- Update README with new CLI flags (--pipes, --dvd, --random, --delay, --cycle)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* docs: update CLAUDE.md and README for new screensavers and CLI flags
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* docs: remove config file from roadmap
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* docs: reformat spec and plan documents
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* docs: update screenshots and rename worms to snake in docs
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* feat: rename --snake to --worms, update all docs and screenshots
--snake kept as hidden alias for backwards compatibility.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 4d0da33 commit 562c78c
18 files changed
Lines changed: 3338 additions & 827 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
14 | 22 | | |
15 | | - | |
| 23 | + | |
16 | 24 | | |
17 | 25 | | |
18 | 26 | | |
| |||
30 | 38 | | |
31 | 39 | | |
32 | 40 | | |
33 | | - | |
| 41 | + | |
34 | 42 | | |
35 | 43 | | |
36 | 44 | | |
| |||
39 | 47 | | |
40 | 48 | | |
41 | 49 | | |
42 | | - | |
43 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
44 | 56 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
| 57 | + | |
| 58 | + | |
50 | 59 | | |
51 | 60 | | |
52 | | - | |
| 61 | + | |
53 | 62 | | |
54 | 63 | | |
55 | 64 | | |
56 | 65 | | |
57 | 66 | | |
58 | 67 | | |
59 | 68 | | |
60 | | - | |
61 | 69 | | |
62 | 70 | | |
63 | 71 | | |
64 | 72 | | |
65 | 73 | | |
| 74 | + | |
| 75 | + | |
66 | 76 | | |
67 | 77 | | |
68 | 78 | | |
| |||
73 | 83 | | |
74 | 84 | | |
75 | 85 | | |
76 | | - | |
77 | | - | |
| 86 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
33 | 43 | | |
34 | 44 | | |
35 | | - | |
36 | 45 | | |
37 | 46 | | |
| 47 | + | |
38 | 48 | | |
39 | 49 | | |
40 | 50 | | |
| |||
86 | 96 | | |
87 | 97 | | |
88 | 98 | | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
93 | 106 | | |
94 | 107 | | |
95 | 108 | | |
96 | 109 | | |
97 | 110 | | |
98 | 111 | | |
99 | | - | |
| 112 | + | |
100 | 113 | | |
101 | 114 | | |
102 | 115 | | |
| |||
105 | 118 | | |
106 | 119 | | |
107 | 120 | | |
108 | | - | |
| 121 | + | |
109 | 122 | | |
110 | 123 | | |
111 | 124 | | |
112 | 125 | | |
| 126 | + | |
113 | 127 | | |
114 | | - | |
| 128 | + | |
115 | 129 | | |
116 | 130 | | |
117 | 131 | | |
| |||
136 | 150 | | |
137 | 151 | | |
138 | 152 | | |
139 | | - | |
140 | | - | |
141 | | - | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
142 | 157 | | |
143 | 158 | | |
144 | 159 | | |
| |||
Loading
Loading
Binary file not shown.
Loading
0 commit comments