The autonomous backend that powers Ardeno OS. Runs on Railway, talks to Discord, handles everything.
- Lead Engine — You type
/findleads restaurant Colomboin Discord and it:- Searches Google Maps for businesses
- Audits each website
- Scores and profiles each lead with AI (Gemini/Groq)
- Posts approval cards to Discord with buttons
- You tap ✅ Approve or ❌ Reject
- Approved leads queue for outreach (coming next)
npm installCopy .env.example to .env and fill in:
| Variable | Where to get it |
|---|---|
DISCORD_TOKEN |
Discord Dev Portal → Bot → Token |
DISCORD_CLIENT_ID |
Discord Dev Portal → General Information → Application ID |
DISCORD_GUILD_ID |
Right-click your Discord server → Copy Server ID |
DISCORD_APPROVAL_CHANNEL_ID |
Right-click your approvals channel → Copy Channel ID |
SUPABASE_URL |
Supabase → Settings → API |
SUPABASE_SERVICE_KEY |
Supabase → Settings → API → service_role key |
GEMINI_API_KEY |
Google AI Studio — free |
GROQ_API_KEY |
Groq Console — free |
GOOGLE_PLACES_API_KEY |
Google Cloud Console → Places API — $200/month free credit |
Run supabase-migration.sql in your Supabase SQL editor.
npm run register-commandsnpm run dev- Create a new project on Railway
- Connect this repo (or push to GitHub first)
- Add all env vars in Railway dashboard
- Deploy — Railway auto-detects Node.js
| Command | Description |
|---|---|
/findleads <niche> <location> [limit] |
Find and score leads in a niche + location |
- Outreach agent — auto-draft personalised emails per lead
- Demo builder — trigger demo website creation from Discord
- Follow-up agent — chase leads that don't respond
- Competitor scanner — monitor what other agencies are doing