Commit Graph

18 Commits

Author SHA1 Message Date
066ed94468 Add OpenWRT Master-Link client implementation guide
docs/OPENWRT-MASTERLINK.md:
- RPCD backend script (luci.masterlink)
- LuCI JavaScript view for join/leave UI
- UCI config template
- OpenWRT package Makefile
- ACL permissions file
- CLI and web UI testing commands
- Complete directory structure for luci-app-masterlink

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-26 13:38:38 +01:00
fbd475351d Update module screenshots with roadmap v1.1.0
- 45 module screenshots captured from VM
- Includes updated roadmap page with full migration tracking
- Shows 102 OpenWRT modules, 38 migrated, 64 pending

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-26 08:03:47 +01:00
26c27d226d Add OpenWRT vs Debian comparison and update migration status
- Create docs/OPENWRT-DEBIAN-COMPARISON.md with full module comparison
  - OpenWRT: 103 luci-app modules
  - Debian: 52 packages (49 UI + 3 backend)
  - 43 modules migrated, 68 pending
  - ~1000+ API endpoints documented
  - Technology stack comparison
  - Roadmap for remaining phases

- Update MIGRATION-MAP.md with accurate counts and link to comparison
- Update WIP.md with Session 16 progress (UI theme, screenshots, docs)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-26 07:27:31 +01:00
f33b447294 Update all module screenshots and documentation
- Captured 45 module screenshots with new CRT theme
- Updated docs/SCREENSHOTS-VM.md with module gallery
- Updated wiki documentation for OpenWRT and Debian
- All modules now have consistent light theme navbar

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-26 07:22:52 +01:00
1534f89b2b Add UI documentation with module list and theme guide
- docs/UI-GUIDE.md: Comprehensive UI documentation
  - Navbar integration requirements
  - Menu categories and module list
  - Color palette for light/dark themes
  - Menu configuration format
  - Maintenance script usage
- docs/screenshots/: Placeholder for module screenshots

Note: Screenshots need to be captured manually and added to docs/screenshots/

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-26 07:20:23 +01:00
442650d53e Add OpenWrt implementation prompts for mesh daemon and CRT theme
Documentation for porting SecuBox to OpenWrt:
- OPENWRT-MESH-DAEMON.md: Complete spec for secuboxd on OpenWrt
  - C/Lua implementation guidelines
  - UCI configuration format
  - procd init script
  - Control socket protocol (compatible with Debian)
  - mDNS discovery via umdns
  - LuCI integration structure

- OPENWRT-CRT-THEME.md: P31 phosphor green theme for LuCI
  - Complete CSS stylesheet (cascade.css)
  - CRT effects engine (scanlines, glow, flicker)
  - Color palette and typography specs
  - Component styling (tables, forms, buttons, badges)
  - OpenWrt package Makefile
  - Topology visualization CSS

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-25 08:41:15 +01:00
6e56dd7135 Add multilingual module documentation
- Add MODULES-EN/FR/DE/ZH.md with 48 modules documented
- Update sidebar with multilingual module links
- Add Metrics Dashboard to screenshots documentation
- All 47 module screenshots linked to GitHub

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-25 05:28:54 +01:00
6f6f3667b6 Add Live USB documentation and wiki pages
- docs/LIVE-USB.md: Complete guide for bootable USB
- wiki/: GitHub wiki content (Home, Live-USB, Sidebar)
- README.md: Add Live USB quick start section

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-24 17:59:07 +01:00
3d42000827 secubox-metrics: P31 phosphor theme for metrics dashboard
- Full inline CSS with CRT phosphor green (#33ff66) spectrum
- Dark tube background (#050803) with bloom text effects
- Removed dependency on external theme.css
- New screenshot showing live metrics dashboard

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-24 16:15:01 +01:00
129c9e5d46 Add Metrics Dashboard screenshot
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-24 16:11:37 +01:00
0873446338 Add Metrics Dashboard to documentation
- Add secubox-metrics README
- Update MIGRATION-MAP with 52 modules
- Update multilingual wiki docs (EN, FR, DE, ZH)
- Add Metrics Dashboard to all module lists

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-24 15:42:33 +01:00
a4fa81d349 Add complete package READMEs and multilingual wiki documentation
- Generate README.md for all 45 secubox-* packages with screenshots
- Add multilingual wiki pages (EN, FR, DE, ZH) documenting 47 modules
- Add generate-docs.py tool for documentation generation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-24 15:31:34 +01:00
a05b76428f Update screenshots with stable portal service
All 45 modules captured with proper authentication.
Portal service now stable (watchdog fix applied).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-24 15:26:55 +01:00
c1e4b45d47 Fix screenshot tool login with aiohttp
- Use aiohttp to login via API (bypasses browser SSL issues)
- Inject JWT token into browser localStorage
- All 45 modules now captured with proper authentication
- Portal service watchdog needed (keeps dying)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-24 13:24:30 +01:00
1f2386b1a8 Update screenshots and wiki documentation
- Refreshed all 45 VM module screenshots
- Updated screenshot-tool.py with better login selectors
- Wiki documentation ready in docs/wiki/
  - secubox-debian-ui.md
  - secubox-openwrt-ui.md
  - UI-COMPARISON.md

Screenshots gallery: docs/SCREENSHOTS-VM.md

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-24 13:04:43 +01:00
482ffaf7aa Fix portal auth and add watchdog support
api/main.py:
- Persist default admin user on first load
- Add startup event to ensure users.json exists
- Better error handling for JSON decode errors

secubox-portal.service:
- Restart=always with WatchdogSec=30
- RuntimeDirectory=secubox ensures socket dir exists
- ExecStartPre creates /etc/secubox with proper ownership
- StartLimitBurst=5 prevents restart loops

Fixes authentication issues on fresh boot.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-24 12:54:04 +01:00
948003c307 Add screenshot tool and wiki documentation
scripts/screenshot-tool.py:
- Playwright-based screenshot capture for all 47 modules
- Supports VM (localhost:9443) and device (192.168.255.1)
- Auto-login with JWT token handling
- Generates markdown documentation per host
- Side-by-side comparison generator
- Wiki page generators for both repositories
- Module listing with categories and icons

docs/wiki/:
- secubox-openwrt-ui.md: OpenWRT LuCI documentation
- secubox-debian-ui.md: Debian CRT P31 theme documentation
- UI-COMPARISON.md: Side-by-side comparison guide

Usage:
  python3 scripts/screenshot-tool.py --host vm
  python3 scripts/screenshot-tool.py --host device
  python3 scripts/screenshot-tool.py --compare --all

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-24 12:36:19 +01:00
5d2264cadc Add comprehensive module documentation
- docs/MODULES.md: Complete documentation for all 46 modules
  - Organized by category (dashboard, security, network, etc.)
  - API endpoint counts and descriptions
  - CRT P31 phosphor theme documentation
  - Screenshot checklist for visual documentation
  - Module architecture and build instructions
- docs/screenshots/: Directory for module screenshots
- Updated WIP.md with Session 11 documentation work
- Updated MIGRATION-MAP.md with secubox-soc module

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-24 12:25:27 +01:00