Scaffold a runnable SQLite-backed oban_claude setup.
Composes oban.install (steering it to SQLite and the Oban.Engines.Lite
engine) and adds the claude-specific pieces on top: a sample worker, a
telemetry logger, and a boot-time demo enqueue so iex -S mix shows a job
run end to end.
Example
# into a fresh project
mix igniter.new my_app --install oban_claude
# or into an existing project
mix igniter.install oban_claudeThen:
iex -S mixWhat it produces
- an Ecto SQLite3 repo (module, dev/test config, supervision child)
- Oban configured with
Oban.Engines.Lite, its migration, and supervision - a sample
ObanClaude.Workeron a:claudequeue - a telemetry logger + a dev-only boot enqueue (the "watch" demo)
The sample worker ships with a stubbed, offline query_fun so the demo runs
without a real (paid) claude call. Delete that one option to call claude.