Commit Graph

4 Commits

Author SHA1 Message Date
7d0f47f465 feat(scripts): Add SecuBox seed and slipstream scripts for auto-install
Add comprehensive scripts for bootstrapping SecuBox on fresh OpenWrt:

- secubox-seed.sh: Bootstrap script for fresh installations
  - Auto-detects architecture (x86_64, aarch64, armv7l)
  - Configures SecuBox repository with fallback mechanisms
  - Installation profiles: minimal, standard, full
  - Graceful handling when repo.secubox.in is unavailable

- secubox-slipstream.sh: Bake SecuBox config into images during build
  - Pre-configures repository feeds in rootfs
  - Installs seed script and first-boot setup
  - Adds SecuBox branding (banner, release info)
  - Works with rootfs directories or image files

Update GitHub Actions workflows:
- build-secubox-vm.yml: Add slipstream step for x86_64 VMs
- build-secubox-images.yml: Add slipstream step for GlobalScale devices

Images now include:
- Pre-configured SecuBox repository (/etc/opkg/customfeeds.conf)
- Seed script (/usr/sbin/secubox-seed)
- First-boot auto-setup script
- SecuBox banner

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-20 10:23:05 +01:00
ccfb58124c docs: Add trilingual documentation (French and Chinese translations)
Add complete French (fr) and Chinese (zh) translations for all documentation:

- Root files: README, CHANGELOG, SECURITY, BETA-RELEASE
- docs/: All 16 core documentation files
- DOCS/: All 19 deep-dive documents including embedded/ and archive/
- package/secubox/: All 123+ package READMEs
- Misc: secubox-tools/, scripts/, EXAMPLES/, config-backups/, streamlit-apps/

Total: 346 translation files created

Each file includes language switcher links for easy navigation between
English, French, and Chinese versions.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-20 10:00:18 +01:00
ce543762cc chore: Update GitHub repo URL to CyberMind-FR organization
Replace github.com/gkerma/secubox-openwrt with
github.com/CyberMind-FR/secubox-openwrt across all files.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 09:44:01 +01:00
dcdbd7bca6 docs: Add GitHub Wiki and Pages setup automation
Add comprehensive documentation publishing infrastructure with two deployment
options: GitHub Wiki (quick) and GitHub Pages (professional).

## New Files

### Setup Scripts
- **scripts/setup-wiki.sh** - Automated GitHub Wiki deployment
  * Clones wiki repository
  * Creates Home page with navigation
  * Creates sidebar (_Sidebar.md)
  * Copies all DOCS/ files
  * Fixes internal links for wiki format
  * Auto-commits and pushes

- **scripts/setup-github-pages.sh** - GitHub Pages with MkDocs Material
  * Checks/installs dependencies (Python, MkDocs)
  * Creates mkdocs.yml configuration
  * Generates docs/ directory structure
  * Creates professional home page with cards
  * Copies and transforms all DOCS/ files
  * Adds custom CSS matching SecuBox design
  * Builds preview site
  * Ready for GitHub Pages deployment

### Documentation
- **WIKI-SETUP-GUIDE.md** - Complete setup guide
  * Comparison of Wiki vs GitHub Pages
  * Step-by-step instructions for both options
  * Customization guides
  * Troubleshooting section
  * CI/CD automation examples

- **scripts/README.md** - Scripts documentation
  * Quick start for both options
  * Feature comparison
  * Update procedures
  * Troubleshooting

## Features

### GitHub Wiki Option
 2-minute setup
 No dependencies (Git only)
 Auto-sync from DOCS/
 Sidebar navigation
 Archive organization
 Link fixing automation

### GitHub Pages Option (Recommended)
 MkDocs Material theme
 Dark/Light mode support
 Professional navigation (tabs + sidebar)
 Search functionality
 Mermaid diagram support
 Mobile responsive
 Custom domain support
 SEO optimized
 Custom CSS matching SecuBox design
 Archive section

## Deployment Options

**Quick (Wiki):**
```bash
./scripts/setup-wiki.sh
# → https://github.com/gkerma/secubox-openwrt/wiki
```

**Professional (Pages):**
```bash
./scripts/setup-github-pages.sh
mkdocs serve  # Test locally
# → https://gkerma.github.io/secubox-openwrt/
```

## Benefits
 One-command documentation publishing
 Two deployment options (quick vs professional)
 Automated link fixing for both formats
 Complete documentation coverage
 Professional appearance (Pages option)
 Easy updates (re-run script)
 CI/CD ready

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-28 10:00:05 +01:00