Skip to content

Local Development

Prerequisites

  • Python 3.12+
  • Node.js 20+ (for the @driftabot/engine diff step)
  • A GitHub token with public repo read access

Setup

bash
# Clone the repo
git clone https://github.com/DriftaBot/registry.git
cd registry

# Install Python dependencies
pip install -e .

# Install the DriftaBot engine (used by crawl-providers)
npm install -g @driftabot/engine

# Copy and fill in your tokens
cp .env.example .env

.env:

bash
GITHUB_TOKEN=        # gh auth token
ANTHROPIC_API_KEY=   # only needed for agent mode

All make commands load .env automatically.

Make commands

Crawler

bash
make crawl          # deterministic crawler — no LLM, no API cost
make crawl-agent    # LangGraph agent crawler — requires ANTHROPIC_API_KEY

Provider discoverer

bash
python -m discoverer   # discover new providers and update provider.companies.yaml

Tokens

TokenHow to getRequired for
GITHUB_TOKENgh auth tokenAll commands
ANTHROPIC_API_KEYconsole.anthropic.commake crawl-agent

GitHub Actions workflows

WorkflowScheduleDescription
crawl-providers.ymlDaily 00:00 UTCFetches and commits updated provider specs; runs @driftabot/engine diff
discover-providers.ymlManual dispatchDiscovers new API providers, updates provider.companies.yaml
docs.ymlOn push to mainBuilds and deploys VitePress docs to GitHub Pages

Released under the MIT License.