- README.md - Quick start guide and overview
- implementation_plan.md - Detailed architecture and implementation plan
- CODE_REVIEW.md - Comprehensive code review and improvements
pastebox/
├── cmd/ # Entry points
│ ├── router/ # Routing daemon
│ └── instance/ # Pastebox instance
├── internal/ # Private packages
│ ├── daemon/ # Process management & load balancing
│ ├── encryption/ # AES-256-GCM & Redis queue
│ ├── instance/ # File manager
│ ├── storage/ # MongoDB & filesystem
│ └── gateway/ # SSH/SFTP server
├── pkg/ # Public packages
│ ├── models/ # Data models
│ ├── config/ # Configuration
│ └── logger/ # Structured logging
├── scripts/ # Build and test scripts
├── deployments/ # Deployment configs
└── bin/ # Compiled binaries
# Build
make build
# Run routing daemon
./bin/router --config config.yaml
# Run tests
./scripts/test.sh- Language: Go
- Total Files: 13 Go files
- Total Lines: ~1,924 lines
- Binary Size:
- Router: ~29 MB
- Instance: ~24 MB
✅ Daemon-based architecture
✅ Multi-strategy load balancing
✅ AES-256-GCM encryption
✅ Redis-based job queue
✅ MongoDB per instance
✅ SSH/SFTP gateway
✅ Health monitoring
✅ Audit logging
- Review implementation_plan.md for architecture details
- Check CODE_REVIEW.md for code quality analysis
- Follow README.md for setup instructions