The full-text search system for Aozora Bunko by Groonga.
$ git clone https://github.com/myokoym/aozorasearch
$ bash scripts/setup-codex-agents.sh
$ bundle config set path vendor/bundle
$ bundle install
$ git submodule update --init # Free space of 11GB is required
scripts/setup-codex-agents.sh は、awesome-codex-subagents からこのリポジトリで使う custom agents を取得し、ローカルの .codex/agents/ に同期します。.codex/agents/ 自体は commit 対象ではありません。
Ruby 3.2 系でのローカル検証を前提にしています。
Ubuntu 系では、少なくとも次の package が必要です。
$ sudo apt-get install -y ruby-dev build-essential pkg-config groonga libgroonga-dev groonga-bin
$ bundle exec rake test
$ bundle exec ruby -I lib bin/aozorasearch load
$ bundle exec ruby -I lib bin/aozorasearch start
$ bundle exec ruby -I lib bin/aozorasearch version
- Ruby Code (.rb): LGPL 2.1 or later. See LICENSE.txt for details.
- Data from aozorabunko (submodule): Licensed by 青空文庫 (Aozora Bunko) under CC BY 2.1 JP.