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/Linter
Analyze your filter lists to perform intelligent redundancy analysis, while catching syntax errors and invalid options or modifiers before they affect users.
📝 02/Formatter
A deterministic formatter that sorts, combines, and deduplicates rules for a leaner, faster-loading filter list. No manual formatting roulette; drop in, automate it, and move on.
📦 03/Bundler
Combines multiple filter list files (local and/or remote URLs) into a single file. 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 a
haiku.ymlconfiguration file. If you want to override settings locally, create and commit to VCShaiku.yml.distbut locally usehaiku.ymlwhich should be ignored (e.g. in.gitignore). -
Run
Use
vendor/bin/haiku lint,vendor/bin/haiku format, 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...
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v1.14.0 | ^8.4 | ^13.30 | MIT | |
| v1.13.35 | ^8.4 | ^13.30 | MIT | |
| v1.13.34 | ^8.4 | ^13.30 | MIT | |
| 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 |
Showing the latest 30 of 66. See every release on Packagist