Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/loo-y/GeminiChatUp
https://github.com/loo-y/GeminiChatUp
ai gemini-api gemini-pro nextjs react
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/loo-y/GeminiChatUp
- Owner: loo-y
- Created: 2023-12-22T11:27:49.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-05-26T15:44:22.000Z (6 months ago)
- Last Synced: 2024-07-31T08:19:16.040Z (3 months ago)
- Topics: ai, gemini-api, gemini-pro, nextjs, react
- Language: TypeScript
- Homepage: https://chatup.moca.one
- Size: 833 KB
- Stars: 87
- Watchers: 2
- Forks: 10
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gemini ChatUp
[中文](./README.zh.md)
## About
This project is a chat application based on the Google GeminiPro API Key, with support for responsive layout. It can retain multiple sets of conversations, and the basic parameters for each set of conversations can be set separately.## How to Use
[Demo](https://chatup.moca.one)
>You need to log in with an account or provide your own Gemini Pro API Key.
>Developers can click to see how to [deploy this feature](#user_credential).#### Account/Password
|Test Account|Password|
|--|--|
|guest|guest123456|#### Streaming Conversation
## How to Deploy
### Get Gemini API Key[Get API Key](https://makersuite.google.com/app/apikey)
### Deploy to Vercel
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Floo-y%2FGeminiChatUp&env=GOOGLE_GEMINI_API_KEY&envDescription=GeminiPro%20API%20Key&project-name=geminichatup&repository-name=GeminiChatUp&demo-url=https%3A%2F%2Fchatup.moca.one&demo-image=https%3A%2F%2Fgithub.com%2Floo-y%2FGeminiChatUp%2Fassets%2F2792566%2Fa69a57a5-598e-4958-a912-a7cc37dba2aa)Click the button to deploy to Vercel and follow the prompts to enter your Google GeminiPro API Key.
### Adding User Authentication
This feature requires enabling Edge config in Vercel. Follow these steps:
1. After the project is deployed, switch to the Storage Tab and select "New Edge Config."2. In the Edge Config, switch to Projects and check if it is already associated with the current project.
3. Finally, switch to Items and at the bottom right, you can add usernames and passwords in JSON format by yourself.
### Local Start
1. Install dependencies
```
npm i
```2. Create a new ```.env```file, copy the contents of ```.env.example``` into ```.env```, and modify it with your own API Key and configuration options.
3. Local Start
```javascript
npm run dev
```## Screenshots
### To Be Completed
1. ~~Streaming Q&A~~ (completed)
2. ~~Clearing previous conversations~~ (completed)
3. ~~Calculating tokens and removing excess conversations~~ (completed)
4. ~~Global settings, supporting client integration with GeminiPro API~~ (completed)
5. Support for searching conversation content
6. ~~Add GeminiPro Vision API~~ (completed)