Spaces:
Running
Running
Contributing to AI Client Acquisition System
Welcome! This guide will help you get started as a contributor.
Getting Started
Clone the repo
git clone https://github.com/iDevBuddy/ai-client-acquisition.git cd ai-client-acquisitionInstall dependencies
npm install cd src/profiling/python-service && pip install -r requirements.txt && cd ../../..Set up environment
cp .env.example .env # Fill in your API keys β ask @iDevBuddy for accessSet up database
- Create a Supabase project (free)
- Run migration files from
supabase/migrations/in order
Start development
# Terminal 1: Trigger.dev tasks npm run trigger:dev # Terminal 2: Python AI service cd src/profiling/python-service && python main.py
Project Architecture
Phase 1: FINDING (current)
Discovery β Scraping β Pain Detection β Email Finding β AI Profiling β Scoring β Slack
Phase 2: OUTREACH (upcoming)
Email sequences β LinkedIn messaging β Follow-ups β Reply handling
Code Conventions
- TypeScript for orchestration, discovery, and integrations
- Python for AI profiling service (FastAPI)
- Zod for runtime validation
- Use
logger(pino) for all logging β noconsole.log - Every LLM call must have a
traceId - Every external API call must go through
retry.ts
Branch Strategy
main β production-ready code
develop β integration branch
feature/* β new features
fix/* β bug fixes
Pull Request Process
- Create a feature branch:
git checkout -b feature/your-feature - Make your changes
- Test locally (see Testing section)
- Push and create a PR against
develop - Get at least 1 review before merging
Security Rules
β οΈ NEVER commit API keys or secrets
.envis in.gitignoreβ keep it that way- Use
.env.examplefor templates (no real values) - If you accidentally commit a key, rotate it IMMEDIATELY
Questions?
Reach out to @iDevBuddy on GitHub or Slack.