realodix/haiku
Composer 安装命令:
composer require realodix/haiku
包简介
A tool to manage and maintain Adblock filter lists.
README 文档
README
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-feature.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. Haiku detects your layout and writes ahaiku.yml. - 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.
realodix/haiku 适用场景与选型建议
realodix/haiku 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 2.48k 次下载、GitHub Stars 达 3, 最近一次更新时间为 2025 年 12 月 03 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 realodix/haiku 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 realodix/haiku 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 2.48k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 13
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-12-03