- Python 3.7+
- Poetry
- Git
git clone https://github.com/devopsterminal/webtask.git
cd webtask
poetry installpoetry run webtaskwebtask/
├── webtask/ # Main package
│ ├── main.py # Entry point
│ ├── server.py # HTTP server
│ └── static/ # Web assets
├── tests/ # Test suite
├── docs/ # Documentation
└── pyproject.toml # Poetry configuration
poetry run pytestpoetry run black webtask testspoetry run mypy webtaskpoetry run flake8 webtask tests- Edit
webtask/static/index.html - Test changes by running
poetry run webtask - Refresh browser to see updates
- Modify Python files in
webtask/ - Restart server to test changes
- Add tests for new functionality
poetry add package-nameFor development dependencies:
poetry add --group dev package-namepoetry run pytest tests/test_webtask.py::TestwebtaskServerpoetry run pytest --cov=webtask --cov-report=htmlpoetry buildpoetry publish- Fork the repository
- Create feature branch:
git checkout -b feature/amazing-feature - Make changes and add tests
- Run test suite:
poetry run pytest - Format code:
poetry run black . - Commit changes:
git commit -m 'Add amazing feature' - Push to branch:
git push origin feature/amazing-feature - Submit pull request
- Follow PEP 8
- Use Black for formatting
- Add type hints where possible
- Write docstrings for functions and classes
- Keep functions small and focused
- Real system integration
- Docker monitoring
- Process filtering
- Custom themes
- Configuration files
- Plugin system
- Keep web interface dependency-free
- Maintain cross-platform compatibility
- Focus on performance and responsiveness
- Ensure easy deployment and distribution