Thanks for your interest in Grok Lens.
git clone https://github.com/monomyth/grok-lens.git
cd grok-lens
bundle install
bundle exec rake test
bundle exec rackup -o 127.0.0.1 -p 9292Use a fixture GROK_HOME when possible so tests and demos do not depend on your personal session history:
GROK_HOME=/path/to/fixture bundle exec rackup -o 127.0.0.1 -p 9292- Ruby 4.x only — do not add Ruby 3 compatibility shims unless discussed
- Keep the tool read-only with respect to
GROK_HOME - Prefer small, focused PRs
- Add or update tests for store parsing and HTTP routes when behavior changes
- Token figures from
usage.jsonare billed; otherwise keep them labeled as estimates
| Path | Role |
|---|---|
lib/grok_lens/store.rb |
Filesystem scan and session enrichment |
lib/grok_lens/app.rb |
Sinatra routes |
views/ |
ERB templates |
public/ |
CSS / minimal JS |
test/ |
Minitest + Rack::Test |
- Fork and branch from
master - Ensure
bundle exec rake testpasses - Describe the change and any screenshots for UI work