Commit 239bdea
feat: add static script gallery with GitHub Pages deployment (#52)
* feat: add static gallery site generator and GitHub Pages deployment
Generates a single index.html from scripts.json using Tailwind CSS CDN
and Alpine.js for search, category tabs, tag filtering, image carousels,
lightbox, and dark/light mode. GitHub Actions workflow deploys to Pages
on push to main.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix: correct carousel navigation, dark mode, and toggle icons
- Wrap carousel and lightbox prev/next buttons in <div class="contents">
so Alpine x-if renders all siblings, not just the first (caused missing
forward arrow)
- Add tailwind.config darkMode: 'class' so the toggle actually works
instead of deferring to OS preference
- Replace broken partial sun SVG with Heroicons v2 outline sun and moon,
matching the stroke style used throughout the rest of the UI
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix: remove non-existent screenshot-5 reference from EdgeTX Goodies
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix: replace broken external image URL with local screenshots for EdgeTX Goodies
Downloads 4 widget screenshots from upstream repo and references them
locally, removing the 404 GitHub raw URL.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix: prevent processing of image paths outside the repository root in process_images function
* fix: preserve full relative subdirectory structure when processing images
* fix: update keydown event listeners to use window scope for better accessibility
* fix: ensure safe JSON serialization to prevent script tag conflicts in generated HTML
* fix: add rel="noopener noreferrer" to external links for improved security
* fix: enhance image slideshow controls with proper timer management
* fix: improve JSON serialization to prevent HTML tag conflicts
* fix: narrow to OSError in image processing error handling for clearer warnings
The broad except Exception works but masks the actual failure mode. Narrowing to OSError (which covers IOError, PermissionError, etc.) would be more precise while still handling all realistic file-copy failures.
* fix: ensure safe handling of script tags by checking if tags are an array
* fix: remove unused event listener for tag filtering in lightbox
* fix: expand .gitignore to include Python-related files and virtual environments
---------
Co-authored-by: Peter Feerick <5500713+pfeerick@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent b7b3031 commit 239bdea
8 files changed
Lines changed: 699 additions & 1 deletion
File tree
- .github/workflows
- ASSETS/edgetx-goodies
- tools
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
Loading
Loading
Loading
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
385 | | - | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
386 | 388 | | |
387 | 389 | | |
388 | 390 | | |
| |||
Large diffs are not rendered by default.
0 commit comments