Giter Club home page Giter Club logo

google-gemini-ui's Introduction

Google Gemini Web Chat

Experience the new Google AI Model 'Gemini' on any device. This application is pure front-end, the API key and your name are stored in your browser and used to make requests, and all server connections are made directly to Google Servers. Test it online

Captura de pantalla 2024-01-24 a las 10 03 21

Changelog

  • User now gets feedback if try to access without an API Key.
  • User gets feedback if try to request with an invalid API Key.
  • It's possible to clear the chat history saved on the browser.
  • Light mode.
  • A proxy can be passed for all API requests from Setup.

image image

Features requested:

  • Easier way to setup API Key
  • Greeting or empty state when chatlog is empty.

Known issues/bugs:

  • None reported yet.

How to Run Locally:

  • npm i
  • npm start

Deploy is ready for Vercel.

Not using Vercel to deploy?

Check this step-by-step guide created by @TSSFL

google-gemini-ui's People

Contributors

fjosue4 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

google-gemini-ui's Issues

Exploring Best Practices for Light Mode and Other Enhancements

Hi @fjosue4

Thank you for creating the Google Gemini web chat interface https://github.com/fjosue4/google-gemini-ui. I have been thinking about something like this for a while and I really appreciate your great work!

I was thinking how to change the way an API Key is accessed by Google Generative AI Sample for Web https://github.com/google/generative-ai-js/tree/main/samples/web, just like it is done for ChatGPT at https://tssfl.com/viewtopic.php?t=6651 (see from original developer https://niek.github.io/chatgpt-web). I mean to make it possible for anyone to just copy and paste the key on the web interface rather than storing it in the back-end. Like you have done it.

I did not like the idea of accessing the API Key as an environment variable, see https://github.com/google/generative-ai-js/blob/main/samples/web/http-server.js.

You may find some other ideas to enhance the app, especially the UI by looking at these two sample web apps.

We are definitely excited to use your application.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.