Skip to content

Gemini Workspacer

Gemini Workspacer turns a rough idea into a Google Doc, Google Sheet, and Google Slides deck.

Core trick

Gemini plans a chat-clarified outline, then drives Google Workspace CLI tools to create Doc, Sheet, and Slides, extracting URLs from CLI output.

Tags

Description

Gemini Workspacer turns a rough idea into a Google Doc, Google Sheet, and Google Slides deck. It uses Gemini for planning and orchestration, then drives Google Workspace tools to generate polished artifacts.
kstonekuan/gemini-workspacer★ 00 forksTypeScriptCreated Mar 7, 2026 · last push Mar 7, 2026

README excerpt

# Gemini Workspacer

Gemini Workspacer turns a rough idea into a Google Doc, Google Sheet, and Google Slides deck. It uses Gemini for planning and orchestration, then drives Google Workspace tools to generate polished artifacts.

## What It Does

- Starts with a chat-based planning flow that asks for clarification only when needed
- Produces a structured draft plan with a concept title, summary, and goals for the Doc, Sheet, and Slides deck
- Generates all three Google Workspace artifacts from that confirmed plan
- Streams live server and Gemini CLI logs to the frontend during generation
- Extracts final Workspace URLs deterministically from CLI output, with a Gemini SDK fallback if needed

## How The App Works

1. You describe an idea in the chat UI.
2. `/api/plan-chat` sends the conversation to Gemini through `@google/genai`.
3. Gemini either asks one follow-up question or returns a draft artifact plan.
4. You keep chatting to revise the plan or confirm it.
5. `/api/generate` runs the local `gemini` CLI with Google Workspace tools enabled.
6. The server streams status updates and CLI logs back to the browser as NDJSON events.
7. The app recovers the final Google Doc, Sheet, and Slides URLs and shows them in the results UI.

## Tech Stack

- Next.js 16 App Router
- React 19
- TypeScript
- Tailwind CSS v4
- Biome
- Vercel AI SDK for the planning chat UI
- TanStack Query for generation mutation state
- Motion for UI animation
- `@google/genai` for structured Gemini SDK calls
-

Team