This is an open source clone of xAI's Grok. Made this just for fun. Don't sue me xAI. I love You.
Important: Groc is 100% unaffiliated with xAI.
Your favorite "legally distinct" AI chatbot made by a broke student.
Note: Free & open-source. Swap the models if you want something smarter!
Live Demo: groc.lol
Mobile app: PWA supported, click on the "Add to Home Screen" button in your browser.
- Youtube link access (Chat, summary, ...etc)
- Perplexity style Web search capabilities, searching both tweets and web pages.
- Image generation using FLUX.1 by Black Forest Labs
- Vision capabilities (chat with images)
- Rate limiting
- Customizable LLM settings
- LLM Options:
- Primary Chat: Choose between Grok-beta (xAI) or alternative models
- Function Calling: Choose between Llama (Groq) or alternative models
- Web search: Serper
- Rate limiting: Upstash
- Image generation: FAL
XAI_API_KEY=your_key
GROQ_API_KEY=your_key
SERPER_API_KEY=your_key
FAL_KEY=your_keyUPSTASH_REDIS_REST_URL=your_url
UPSTASH_REDIS_REST_TOKEN=your_token- Rate limiting can be disabled by setting
useRateLimitingtofalsein/app/config.tsx - LLM providers can be configured in
/app/config.tsx:- Choose different models for primary chat and function calling
- Switch between providers (Groq, xAI, etc.)
- System prompts and parameters can be customized in
types/chat.ts
# Install dependencies
npm install
# or
yarn install
# Run development server
npm run dev
# or
yarn devOpen http://localhost:3000 with your browser to see the result.
If you find this project helpful:
- ⭐ Star this repo
- ☕ Buy me a coffee
- 🐦 X: @DatoBHJ
- 📧 Email: [email protected]