Warning
Work-in-progress: This project is currently in a very early stage. Only the minimum core functionality is implemented, and many features are still missing or incomplete.
A simple, open-source Next.js web interface for interacting with Google's Gemini AI API. It provides a ChatGPT-like chat experience with basic streaming response functionality, using PostgreSQL to store chat history.
- Interactive, ChatGPT-inspired chat interface
- Integration with Google's Gemini AI API
- Basic streaming responses
- Persistent conversation history (PostgreSQL)
- Support for free and paid Google API keys
- Markdown and code syntax highlighting
- Modern UI built with Next.js and Tailwind CSS
git clone https://github.com/W4D-cmd/QuantaGem.git
Create a new file .env.local
in the root of the repository. Copy and paste the content of the .env
file into it and set your API keys.
Note
If you do not have multiple Google accounts or wish to only use the free API simply put the same key for both entries.
FREE_GOOGLE_API_KEY="your_free_google_api_key"
PAID_GOOGLE_API_KEY="your_paid_google_api_key"
Inside the cloned repository execute the following command to start up the docker environment including the database and the Next.js app:
docker compose up --build
Open your browser at http://localhost:3000.
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create your feature branch (
git checkout -b feature/my-feature
). - Commit your changes (
git commit -am 'Add new feature'
). - Push to the branch (
git push origin feature/my-feature
). - Create a new pull request.
Licensed under the MIT License. See LICENSE for details.