You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add deploy scripts, env-based config, and docs updates (#18)
* Add environment-aware token server URL and deploy-website script
Replace hardcoded token server URLs in Widget.astro and Head.astro with
PUBLIC_SERVER_URL env var, allowing localhost for dev and a deployer-provided
URL for production. Add deploy-website npm script, env var guard in the
deploy shell script, .env.example template, and TypeScript env declaration.
* Enable interactive highlights in astrophotography demo
* Add deploy-token-server npm script with .env support
Add deploy-token-server script to package.json, create root .env.example
for GCP_PROJECT_ID, and update deploy-token-server.sh to source root .env
when the env var is not already set.
* Update README with logo, badges, setup docs, and add LICENSE
Add ArionTalk logo variants (light/dark) with GitHub picture element,
Gemini Live and Chrome badges, env file setup in Development section,
updated token server deployment docs, and MIT license file.
* Update favicon to use accent logo
* Serve logo from ariontalk.com and add public logo images
Save your project ID so the deploy script picks it up automatically:
228
+
229
+
```bash
230
+
cp .env.example .env
231
+
# Edit .env and set GCP_PROJECT_ID
206
232
```
207
233
234
+
**Deploy:**
235
+
236
+
```bash
237
+
pnpm deploy-token-server
238
+
```
239
+
240
+
Builds a Docker image, pushes to Artifact Registry, and deploys to Cloud Run. The `GEMINI_API_KEY` is pulled from Secret Manager at runtime — never passed in plain text.
241
+
242
+
You can also pass the project ID inline: `GCP_PROJECT_ID=your-project pnpm deploy-token-server`.
243
+
208
244
## Tech Stack
209
245
210
246
-**[Gemini Live API](https://ai.google.dev/)** — Real-time multimodal voice streaming with function calling
@@ -222,9 +258,6 @@ Then point your widget to the deployed URL:
222
258
| Gemini Live | Any modern browser | Requires WebSocket + microphone access |
223
259
| Local | Chrome 139+ | Requires Prompt API origin trial |
0 commit comments