Scripts Directory
This directory contains automation scripts and tools for the IT-Journey project.
🔗 Hyperlink Guardian System (Moved to Test Directory)
Important Notice: The Hyperlink Guardian system has been refactored and moved to the dedicated test directory structure for better organization.
📍 New Location
Guardian 2.0 is now located at: test/hyperlink-guardian/
🎯 What Changed
- Enhanced Architecture: Better organized with dedicated test framework
- Improved Configuration: YAML-based configuration with layered overrides
- Advanced Categorization: Enhanced error detection and link classification
- Better Documentation: Comprehensive setup, usage, and troubleshooting guides
- Validation Tools: Built-in validation and setup assistance
🔗 Guardian 2.0 Resources
🚀 Quick Start with Guardian 2.0
# Validate and setup
./test/hyperlink-guardian/scripts/validate.sh setup
# Run basic scan
./test/hyperlink-guardian/scripts/guardian.sh
# Run with enhanced features
./test/hyperlink-guardian/scripts/guardian.sh --verbose --config test/hyperlink-guardian/config/guardian-config.yml
Note: The GitHub Actions workflow has been automatically updated to use Guardian 2.0.
🏗️ Development Scripts
Core Scripts
environment-setup.sh
- Development environment configuration
version-manager.sh
- Version management utilities
Deployment Scripts
update-settings.sh
- Configuration updates
Content Scripts
append_feature.py
- Feature addition automation
jupyter-to-markdown.sh
- Notebook conversion
Generated Scripts
zer0-to-hero-complete.sh
- Complete learning journey script
zer0-to-hero-generated.sh
- Auto-generated version
- Various test and extraction scripts
🔧 Usage Guidelines
Local Development
- Clone the repository
- Install dependencies:
npm install -g markdown-link-check
- Run guardian locally:
./scripts/hyperlink-guardian.sh --verbose
CI/CD Integration
- Set
OPENAI_API_KEY
secret in GitHub repository settings
- Workflow runs automatically on schedule
- Review issues created by the guardian
- Fix broken links as recommended
Customization
- Modify exclusion patterns in the workflow
- Adjust parallel processing limits for performance
- Configure retry counts for flaky external services
- Customize AI analysis prompts for specific needs
📚 Educational Value
The Hyperlink Guardian system exemplifies several key DevOps and automation concepts:
- Proactive Monitoring: Early detection prevents user impact
- AI Integration: Intelligent analysis beyond simple status codes
- Workflow Automation: Complete CI/CD pipeline integration
- Error Handling: Graceful degradation and fallback strategies
- Observability: Comprehensive logging and reporting
- Scalability: Parallel processing and configurable limits
This system serves as both a practical tool and an educational example of modern DevOps practices in action.
🤝 Contributing
When adding new scripts:
- Follow the existing naming conventions
- Include comprehensive help documentation
- Add error handling and logging
- Update this README with usage examples
- Consider educational value and learning opportunities
For the Hyperlink Guardian system specifically:
- Test locally before committing changes
- Verify AI analysis produces meaningful insights
- Ensure workflow compatibility across platforms
- Document any new configuration options