fjosue4 / google-gemini-ui Goto Github PK
View Code? Open in Web Editor NEWBasic UI to chat with Google Gemini AI
Home Page: https://google-gemini-ui.vercel.app
License: MIT License
Basic UI to chat with Google Gemini AI
Home Page: https://google-gemini-ui.vercel.app
License: MIT License
I am working on a similar project but Google recommends not using the API Key client side. Do you know of a way to store the API key securely in Google Cloud and send it securely to the client?
Reference: https://ai.google.dev/gemini-api/docs/get-started/tutorial?lang=web
Each message acts as an independent prompt.
Hi @fjosue4
I downloaded the app and put it in www.example.com/google-gemini, where google-gemini is an application, but I cannot get it to display. When I navigate to www.example.com/google-gemini, there is no error but the only thing I can see on the browser is the tittle of the page. What could be wrong ?
Thanks
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.