unclecode
589339a336
docs: add AI-optimized architecture map and quick start cheat sheet
...
ARCHITECTURE.md:
- Dense technical reference for AI agents
- Complete system flow diagrams
- Memory leak prevention strategies
- File cross-references with line numbers
- Symbolic notation for compression
- Docker orchestration deep dive
QUICKSTART.md:
- One-page cheat sheet for users
- Install → launch → scale → test workflow
- Simple example.com curl test
- Common commands reference
2025-10-23 12:20:07 +08:00
unclecode
418dd60a80
docs(cnode): add direct GitHub raw URL install option
...
- Users can install directly from GitHub without hosting
- Added both crawl4ai.com and GitHub raw URL options
- Clarified Method 2 is for development/contributors
2025-10-21 11:03:51 +08:00
unclecode
d88ff3fbad
refactor(installer): rename deploy.sh to install-cnode.sh for consistency
...
- Renamed deploy.sh -> install-cnode.sh (clearer name)
- Updated all references in README.md
- Single consistent naming: install-cnode.sh everywhere
2025-10-21 10:57:16 +08:00
unclecode
f4ed1da237
docs(cnode): add comprehensive user guide with API examples and monitoring
...
- Complete guide from installation to production
- Code examples in Python, JavaScript, cURL
- Monitoring dashboard documentation
- Troubleshooting section
- Scaling and deployment best practices
2025-10-21 10:46:32 +08:00
unclecode
c2a5b7d77d
fix(installer): remove broken verification check - cnode installs and works fine
2025-10-21 10:03:55 +08:00
unclecode
7fe985cbfa
fix(installer): improve cnode verification check in deploy.sh
2025-10-21 09:46:15 +08:00
unclecode
02f0e4787a
perf(installer): use git sparse-checkout to download only cnode_pkg directory
...
- Only fetches deploy/installer/cnode_pkg/ instead of entire repo
- Uses --depth=1 for minimal git history
- Faster download and smaller footprint
- Requires git (added check)
2025-10-21 09:40:22 +08:00
unclecode
9faddd30f5
fix(installer): update deploy.sh to download Python package instead of binary
2025-10-21 09:38:23 +08:00
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