Make sure you have these installed:
git clone https://github.com/sheisstarwithoutmoon/cove.git
cd coveYou need 3 free accounts:
- Go to console.groq.com
- Sign up → API Keys → Create API Key
- Copy it → looks like
gsk_xxxxxxxxxx
- Go to tavily.com
- Sign up → Dashboard → API Keys
- Copy it → looks like
tvly-xxxxxxxxxx
- Go to firebase.google.com → Add Project → name it
cove - Enable Google Auth:
- Left sidebar → Authentication → Get Started
- Sign-in providers → Google → Enable → Save
- Enable Firestore:
- Left sidebar → Firestore Database → Create Database
- Start in test mode → Choose a region → Done
- Get Frontend Config:
- Project Settings (gear icon) → Your apps → Add app → Web (
</>) - Register app → copy the
firebaseConfigobject
- Project Settings (gear icon) → Your apps → Add app → Web (
- Get Service Account Key:
- Project Settings → Service Accounts → Generate new private key
- Downloads a JSON file → rename it to
serviceAccountKey.json
cd backend
npm installCreate a .env file inside the backend/ folder:
GROQ_API_KEY=your_groq_key_here
TAVILY_API_KEY=your_tavily_key_here
PORT=8000Place serviceAccountKey.json inside the backend/ folder:
Start the backend:
npm run devOpen a new terminal:
cd frontend
npm installCreate a .env file inside the frontend/ folder:
REACT_APP_API_URL=http://localhost:8000Start the frontend:
npm run devcove/
├── backend/
│ ├── agents/
│ │ ├── orchestrator.js
│ │ ├── searchAgent.js
│ │ ├── summarizerAgent.js
│ │ ├── verifierAgent.js
│ │ └── reportAgent.js
│ ├── middleware/
│ │ └── auth.js
│ ├── firebase.js
│ ├── index.js
│ ├── package.json
│ ├── .env ← you create this
│ └── serviceAccountKey.json ← you download this
│
└── frontend/
├── public/
│ └── index.html
├── src/
│ ├── components/
│ │ ├── Login.jsx
│ │ ├── Dashboard.jsx
│ │ ├── AgentProgress.jsx
│ │ └── ReportView.jsx
│ ├── App.jsx
│ ├── index.js
│ └── firebase.js
├── package.json
└── .env ← you create this