Skip to content

cromz22/groq-chat-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Groq Chat UI

Chat UI to use Groq.

Environmental Setup

  • Frontend

    • Install Bun if you don't have one in your system.

    • Install dependencies:

      cd frontend
      bun install
      
  • Backend

    • Install Poetry if you don't have one in your system.

    • Install dependencies:

      cd backend
      poetry install
      

Usage

  • Frontend

    cd frontend
    bun run dev
    
  • Backend

    cd backend
    GROQ_API_KEY=your-groq-api-key fastapi dev main.py
    
  • Open http://localhost:5173/ in your browser. You're all set!

Design Choices

  • I'm sure there are lots of UIs like this. I just wanted to make one of my own so that I can customize the design. The principle is to keep it simple and fast.
  • Groq is an awsome engine that provides fast inference. But they do not offer a chat app (at least not on the web; they have an experimental Android app). This UI enables you to save the chats as local json files.
  • For frontend, I chose Bun + Vite + React + TypeScript for modern web development. For backend, I chose FastAPI because it's easy for me to develop in Python.

About

Chat UI to use Groq.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published