Total Pageviews

Tuesday, 10 December 2024

Gemini ChatUp


中文

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

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.

Account/Password

Test Account Password
guest guest123456

Streaming Conversation

SCR-20240121-shmh

How to Deploy

Get Gemini API Key

Get API Key

Deploy to Vercel

Deploy with Vercel

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."
    SCR-20240120-pofd

  2. In the Edge Config, switch to Projects and check if it is already associated with the current project.
    SCR-20240120-pmob

  3. Finally, switch to Items and at the bottom right, you can add usernames and passwords in JSON format by yourself.
    SCR-20240120-pmyd


Local Start

  • Install dependencies

    npm i
    
    1. Create a new .envfile, copy the contents of .env.example into .env, and modify it with your own API Key and configuration options.


    1. Local Start
      npm run dev
      from https://github.com/loo-y/GeminiChatUp 

     

    No comments:

    Post a Comment