unclecode
cd02616218
feat(cnode): add standalone CLI for Docker server management
- Reorganized server management code:
- Moved server_cli.py -> deploy/docker/cnode_cli.py
- Moved server_manager.py -> deploy/docker/server_manager.py
- Created fast Python-based installation (0.1s startup):
- deploy/installer/cnode_pkg/ - Standalone package
- deploy/installer/install-cnode.sh - Local installer
- deploy/installer/deploy.sh - Remote installer for users
- Added backward compatibility:
- crawl4ai/cli.py: 'crwl server' redirects to 'cnode'
- Updated tests to match new CLI structure (12/12 passing)
- Automated sync workflow:
- .githooks/pre-commit - Auto-syncs source to package
- setup-hooks.sh - One-time setup for contributors
- deploy/installer/sync-cnode.sh - Manual sync script
Performance:
- Startup time: 0.1s (49x faster than PyInstaller)
- Size: ~50KB wrapper vs 8.8MB binary
Commands:
cnode start [--replicas N] # Start server/cluster
cnode status # Check status
cnode scale N # Scale replicas
cnode logs [-f] # View logs
cnode stop # Stop server
2025-10-21 09:31:18 +08:00
..
2025-09-09 12:49:55 +08:00
2025-08-28 17:21:49 +08:00
2025-06-23 10:44:27 +08:00
2025-06-12 14:33:12 +03:00
2025-10-21 09:31:18 +08:00
2025-06-09 11:49:33 +08:00
2025-09-25 14:11:46 +08:00
2025-09-16 15:45:54 +08:00
2025-02-07 21:56:27 +08:00
2025-02-28 19:53:35 +08:00
2025-04-22 22:35:25 +08:00
2025-08-28 17:21:49 +08:00
2025-06-12 14:38:32 +03:00
2025-08-28 17:21:49 +08:00
2025-07-11 22:27:18 +08:00
2024-05-14 21:27:41 +08:00
2025-07-17 16:59:10 +08:00
2025-08-09 19:37:22 +05:30
2025-08-02 19:10:36 +08:00
2025-01-13 19:19:58 +08:00
2025-08-02 19:10:36 +08:00
2025-08-02 19:10:36 +08:00
2025-08-05 14:09:54 +08:00
2025-04-29 16:26:35 +02:00
2025-07-17 11:35:16 +02:00
2025-08-15 18:47:31 +08:00
2025-01-13 19:19:58 +08:00
2025-04-29 16:26:35 +02:00
2025-08-17 19:14:55 +08:00
2025-08-03 16:50:54 +08:00
2025-05-19 13:51:16 +08:00
2025-08-28 17:38:40 +08:00
2025-02-28 19:53:35 +08:00
2025-06-29 20:41:37 +08:00
2025-06-10 18:08:27 +08:00