2 Commits

Author SHA1 Message Date
7d2fe8bacd Create comprehensive GitHub template system with auto-update
🚀 Complete GitHub Template System:
• GitHub Actions workflows (CI, release, template-sync)
• Auto-update system integration for all projects
• Privacy-first approach (private repos by default)
• One-command setup script for easy migration
• Template synchronization for keeping repos updated

🔧 Components Added:
• .github/workflows/ - Complete CI/CD pipeline
• scripts/setup-github-template.py - Template setup automation
• scripts/quick-github-setup.sh - One-command project setup
• Comprehensive documentation and security guidelines

🔒 Privacy & Security:
• Private repositories by default
• Minimal permissions for workflows
• Local-only data processing
• No telemetry or tracking
• User consent for all operations

🎯 Perfect for Gitea → GitHub migration:
• Preserves auto-update functionality
• Professional development workflows
• Easy team collaboration
• Automated release management

Usage: ./scripts/quick-github-setup.sh . -o username -n project-name
2025-08-15 15:37:16 +10:00
e7e0f71a35 Implement comprehensive auto-update system
 Features:
- GitHub releases integration with version checking
- TUI update notifications with user-friendly interface
- CLI update commands (check-update, update)
- Discrete notifications that don't interrupt workflow
- Legacy user detection for older versions
- Safe update process with backup and rollback
- Progress bars and user confirmation
- Configurable update preferences

🔧 Technical:
- UpdateChecker class with GitHub API integration
- UpdateConfig for user preferences
- Graceful fallbacks when network unavailable
- Auto-restart after successful updates
- Works with both TUI and CLI interfaces

🎯 User Experience:
- TUI: Shows update banner on startup if available
- CLI: Discrete one-line notice for regular commands
- Commands: 'rag-mini check-update' and 'rag-mini update'
- Non-intrusive design respects user workflow

This provides seamless updates for the critical improvements
we've been implementing while giving users full control.
2025-08-15 15:10:59 +10:00