{"id":13457227,"url":"https://github.com/babaohuang/GeminiProChat","last_synced_at":"2025-03-24T12:31:08.662Z","repository":{"id":212424227,"uuid":"731462543","full_name":"babaohuang/GeminiProChat","owner":"babaohuang","description":"Minimal web UI for GeminiPro.","archived":false,"fork":false,"pushed_at":"2024-12-06T12:34:31.000Z","size":367,"stargazers_count":4430,"open_issues_count":84,"forks_count":12506,"subscribers_count":33,"default_branch":"main","last_synced_at":"2025-03-18T15:15:09.356Z","etag":null,"topics":["astro","gemini","gemini-api","gemini-client","gemini-pro","gemini-server","google","google-api"],"latest_commit_sha":null,"homepage":"https://geminiprochat.com","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/babaohuang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-14T06:17:33.000Z","updated_at":"2025-03-18T08:24:00.000Z","dependencies_parsed_at":"2024-05-06T11:48:43.390Z","dependency_job_id":"4f1e3c9d-f00e-4844-97cb-4e0da61dd6d5","html_url":"https://github.com/babaohuang/GeminiProChat","commit_stats":{"total_commits":210,"total_committers":11,"mean_commits":19.09090909090909,"dds":0.09523809523809523,"last_synced_commit":"4573fbda0d3448983352b18c0480e3149075a15f"},"previous_names":["babaohuang/geminiprochat"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babaohuang%2FGeminiProChat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babaohuang%2FGeminiProChat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babaohuang%2FGeminiProChat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babaohuang%2FGeminiProChat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/babaohuang","download_url":"https://codeload.github.com/babaohuang/GeminiProChat/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245269759,"owners_count":20587839,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["astro","gemini","gemini-api","gemini-client","gemini-pro","gemini-server","google","google-api"],"created_at":"2024-07-31T08:01:36.437Z","updated_at":"2025-03-24T12:31:08.640Z","avatar_url":"https://github.com/babaohuang.png","language":"TypeScript","readme":"# GeminiProChat\n\nEnglish | [中文](README_cn.md) | [Italiano](README_it.md) | [日本語](README_jp.md)\n\nMinimal web UI for Gemini Pro Chat.\n\n\u003e [!WARNING]\n\u003e **Disclaimer:** This project is not affiliated with, endorsed by, or sponsored by Google. It is an independent project that uses Google's Gemini Pro API.\n\nLive demo: [Gemini Pro Chat](https://gprochat.orzllc.com)\n\n[![image](https://github.com/babaohuang/GeminiProChat/assets/559171/d02fd440-401a-410d-a112-4b10935624c6)](https://www.geminiprochat.com)\n\n## Deploy\n\n### Deploy With Vercel(Recommended)\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/babaohuang/GeminiProChat\u0026env=GEMINI_API_KEY\u0026envDescription=Google%20API%20Key%20for%20GeminiProChat\u0026envLink=https://makersuite.google.com/app/apikey\u0026project-name=gemini-pro-chat\u0026repository-name=gemini-pro-chat\u0026demo-title=Gemini%20Pro%20Chat\u0026demo-description=Minimal%20web%20UI%20for%20Gemini%20Pro.\u0026demo-url=https%3A%2F%2Fgeminiprochat.com\u0026demo-image=https%3A%2F%2Fgeminiprochat.com%2Ficon.svg)\n\nJust click the button above and follow the instructions to deploy your own copy of the app.\n\n\n### Deploy on Railway\n\n[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/template/v9QL5u?referralCode=tSzmIe)\n\nJust click the button above and follow the instructions to deploy on Railway.\n\n### Deploy on Zeabur\n\n[![Deploy on Zeabur](https://zeabur.com/button.svg)](https://zeabur.com/templates/1103PJ)\n\nJust click the button above and follow the instructions to deploy on Zeabur.\n\n### Deploy With Docker\n\nTo deploy with Docker, you can use the following command:\n\n```bash\ndocker run --name geminiprochat \\\n--restart always \\\n-p 3000:3000 \\\n-itd \\\n-e GEMINI_API_KEY=your_api_key_here \\\nbabaohuang/geminiprochat:latest\n```\nPlease make sure to replace `your_api_key_here` with your own GEMINI API key.\n\nThis will start the **geminiprochat** service, accessible at `http://localhost:3000`. \n\n## Environment Variables\n\nYou can control the website through environment variables.\n\n| Name | Description | Required |\n| --- | --- | --- |\n| `GEMINI_API_KEY` | Your API Key for GEMINI. You can get it from [here](https://makersuite.google.com/app/apikey).| **✔** |\n| `API_BASE_URL` | Custom base url for GEMINI API. Click [here](https://github.com/babaohuang/GeminiProChat?tab=readme-ov-file#solution-for-user-location-is-not-supported-for-the-api-use) to see when to use this. | ❌ |\n| `HEAD_SCRIPTS` | Inject analytics or other scripts before `\u003c/head\u003e` of the page | ❌ |\n| `PUBLIC_SECRET_KEY` | Secret string for the project. Use for generating signatures for API calls | ❌ |\n| `SITE_PASSWORD` | Set password for site, support multiple password separated by comma. If not set, site will be public | ❌ |\n\n## Running Locally\n\n### Pre environment\n1. **Node**: Check that both your development environment and deployment environment are using `Node v18` or later. You can use [nvm](https://github.com/nvm-sh/nvm) to manage multiple `node` versions locally.\n\n   ```bash\n    node -v\n   ```\n\n2. **PNPM**: We recommend using [pnpm](https://pnpm.io/) to manage dependencies. If you have never installed pnpm, you can install it with the following command:\n\n   ```bash\n    npm i -g pnpm\n   ```\n\n3. **GEMINI_API_KEY**: Before running this application, you need to obtain the API key from Google. You can register the API key at [https://makersuite.google.com/app/apikey](https://makersuite.google.com/app/apikey).\n\n### Getting Started\n\n1. Install dependencies\n\n   ```bash\n    pnpm install\n   ```\n\n2. Copy the `.env.example` file, then rename it to `.env`, and add your [`GEMINI_API_KEY`](https://makersuite.google.com/app/apikey) to the `.env` file.\n\n   ```bash\n    GEMINI_API_KEY=AIzaSy...\n   ```\n\n3. Run the application, the local project runs on `http://localhost:3000/`.\n\n   ```bash\n    pnpm run dev\n   ```\n\n## Acknowledgements\n\nThis project is inspired by and based on the following open-source project:\n\n- [ChatGPT-Demo](https://github.com/anse-app/chatgpt-demo) - For the foundational codebase and features.\n\n## Star History\n\n[![Star History Chart](https://api.star-history.com/svg?repos=babaohuang/geminiprochat\u0026type=Timeline)](https://star-history.com/#babaohuang/geminiprochat\u0026Timeline)\n\n## Buy me a coffee\n\nIf this repo is helpful to you, buy me a coffee,thank you very much!😄\n\n\u003ca href=\"https://www.buymeacoffee.com/babaohuang\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/default-orange.png\" alt=\"Buy Me A Coffee\" height=\"41\" width=\"174\"\u003e\u003c/a\u003e\n","funding_links":["https://www.buymeacoffee.com/babaohuang"],"categories":["TypeScript","A01_文本生成_文本对话","Support list","Web 应用"],"sub_categories":["大语言对话模型及数据"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbabaohuang%2FGeminiProChat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbabaohuang%2FGeminiProChat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbabaohuang%2FGeminiProChat/lists"}