Advanced Web Automation Tool with Enterprise Features
office_screen is an advanced web automation tool designed for enterprise use. It provides multi-site browsing, error handling, stealth capabilities, and performance monitoring.
pip install office_screen
git clone https://github.com/1devspace/office-screen.git
cd office_screen
pip install -e .
docker pull office_screen:latest
docker run -it office_screen:latest
office_screen uses JSON configuration files for easy setup:
{
"interval": 90,
"adaptive_interval": true,
"min_interval": 30,
"max_interval": 180,
"max_retries": 3,
"max_browser_restarts": 5,
"memory_check_interval": 300,
"max_memory_usage": 80,
"proxies": [],
"user_agents": [
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36"
]
}
{
"urls": [
{
"category": "tech",
"urls": [
"https://news.ycombinator.com/",
"https://github.com/trending"
]
}
]
}
python office_screen.py
python office_screen.py --config my-config.json
docker run -v $(pwd)/config.json:/app/config.json office_screen:latest
This project includes comprehensive GitHub Actions workflows:
from office_screen import OfficeScreen
# Initialize with custom config
office = OfficeScreen(config_file="my-config.json")
office.run()
setup_browser()
- Initialize browservisit_url(url)
- Visit a specific URLrun()
- Start the main automation loopsave_performance_metrics()
- Save metrics to fileCheck the logs/
directory for detailed logs and performance metrics.
For issues, questions, or contributions:
📄 This documentation was automatically generated by the CI/CD pipeline.
Last updated: