Add centralized route registry (`secubox-route`) in secubox-core to eliminate route management duplication across metablogizerctl, streamlitctl, and mitmproxyctl. New features: - `/etc/config/secubox-routes` - UCI config for central route registry - `/usr/sbin/secubox-route` - CLI for route management (add, remove, sync) - Import routes from HAProxy, MetaBlogizer, Streamlit with source tracking - Auto-sync to all mitmproxy instances on route changes - Skip wildcard domains and LuCI (port 8081) routes Updated services to use centralized registry: - metablogizerctl: Use secubox-route add instead of mitmproxyctl sync - streamlitctl: Use secubox-route add with domain/port params - peertubectl: Use secubox-route add for emancipation - vhost-manager/mitmproxy.sh: Prefer secubox-route when available - mitmproxyctl: Delegate to secubox-route import-all for sync-routes This prevents route mixups between services and provides a single source of truth for all WAF routing configuration. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| files | ||
| Makefile | ||
| README.md | ||
MetaBlogizer - Static Site Publisher
Static site publisher with automatic virtual host creation. Supports uhttpd (native) and nginx (LXC) backends.
Installation
opkg install secubox-app-metablogizer
Configuration
UCI config file: /etc/config/metablogizer
uci set metablogizer.main.enabled='1'
uci set metablogizer.main.backend='uhttpd'
uci set metablogizer.main.web_root='/srv/www'
uci commit metablogizer
Usage
metablogizerctl create <site> # Create a new site
metablogizerctl deploy <site> # Deploy/publish site
metablogizerctl list # List managed sites
metablogizerctl remove <site> # Remove a site
metablogizerctl vhost add <domain> # Add virtual host
metablogizerctl status # Show status
Features
- Auto-vhost creation for new sites
- uhttpd (native OpenWrt) and nginx (LXC) backends
- Git-based content deployment
Dependencies
gituhttpd
License
Apache-2.0