realodix/haiku
Realodix Haiku
Haiku is a powerful command-line tool for managing adblock filter lists efficiently. It automates repetitive tasks such as merging sources, optimizing, and tidying up filter lists effortlessly.
Built with a deep understanding of the syntaxes of Adblock Plus, AdGuard, and uBlock Origin.
# Three capabilities, one tool
01/Lint - Static analysis
Analyze your filter lists to perform intelligent redundancy analysis, while catching syntax errors and invalid options or modifiers before they affect users.
02/Fix - Optimizer & Normalizer
An opinionated optimizer that sorts, combines, and deduplicates rules for a leaner, faster-loading filter list. No manual formatting roulette; drop it in, automate it, and move on.
For a complete list of transformations, see docs/fixer_transformations.md.
03/Build - Compiler & Bundler
Compile multiple filter sources (local files and/or remote URLs) into a single, unified output. Automatically regenerates header metadata, strips unnecessary lines such as comments, and delivers a production-ready deployment.
# Three steps to first run
-
Install. Install the package via Composer
composer require realodix/haiku -
Initialize. Run
vendor/bin/haiku initin your project root. The command writes ahaiku.ymlconfiguration file. -
Run. Use
vendor/bin/haiku lint,vendor/bin/haiku fix, orvendor/bin/haiku build. Wire it into pre-commit, CI, or your editor.
For detailed command usage, available options, and more examples, see docs/usage.md.
# Configuration
See configuration file documentation or AdBlockID-src/haiku.yml for a production configuration example.
Contributing
Contributions are welcome! Please:
- Fork the repo and create a feature branch.
- Add tests for new features.
- Ensure code passes
composer check. - Submit a PR with a clear description.
Report bugs or suggest features via Issues.
License
This project is licensed under the MIT License.
Related Packages
Automatic configuration for Laravel apps to apply Tighten's standard linting & c...
Juzaweb CMS is a Content Management System (CMS) developed based on Laravel Fram...
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v1.13.33 | ^8.4 | ^13.30 | MIT | |
| v1.13.32 | ^8.4 | ^13.30 | MIT | |
| v1.13.31 | ^8.4 | ^13.30 | MIT | |
| v1.13.30 | ^8.4 | ^13.30 | MIT | |
| v1.13.29 | ^8.4 | ^13.30 | MIT | |
| v1.13.28 | ^8.4 | ^13.30 | MIT | |
| v1.13.27 | ^8.4 | ^13.30 | MIT | |
| v1.13.26 | ^8.4 | ^13.30 | MIT | |
| v1.13.25 | ^8.4 | ^13.30 | MIT | |
| v1.13.24 | ^8.4 | ^13.30 | MIT | |
| v1.13.23 | ^8.4 | ^13.30 | MIT | |
| v1.13.22 | ^8.4 | ^13.30 | MIT | |
| v1.13.21 | ^8.4 | ^13.30 | MIT | |
| v1.13.20 | ^8.4 | ^13.30 | MIT | |
| v1.13.19 | ^8.4 | ^13.30 | MIT | |
| v1.13.18 | ^8.4 | ^13.30 | MIT | |
| v1.13.17 | ^8.4 | ^13.14 | MIT | |
| v1.13.16 | ^8.4 | ^13.14 | MIT | |
| v1.13.15 | ^8.4 | ^13.14 | MIT | |
| v1.13.14 | ^8.4 | ^13.14 | MIT | |
| v1.13.13 | ^8.4 | ^13.14 | MIT | |
| v1.13.12 | ^8.4 | ^13.14 | MIT | |
| v1.13.11 | ^8.4 | ^13.14 | MIT | |
| v1.13.10 | ^8.4 | ^13.14 | MIT | |
| v1.13.9 | ^8.4 | ^13.12 | MIT | |
| v1.13.8 | ^8.4 | ^13.0 | MIT | |
| v1.13.7 | ^8.4 | ^13.0 | MIT | |
| v1.13.6 | ^8.4 | ^13.0 | MIT | |
| v1.13.5 | ^8.4 | ^13.0 | MIT | |
| v1.13.4 | ^8.4 | ^13.0 | MIT |
Showing the latest 30 of 63. See every release on Packagist