Public
Remixed
Analyze topics from Granola meeting transcripts with AI
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.

🥜 Granola Transcript Analyzer

Paste your Granola meeting transcripts and get AI-powered topic analysis — extracted themes, key points, sentiment, discussion share, and action items.

Setup

  1. Add your OpenAI API key as an environment variable: 👉 Add OPENAI_API_KEY here: https://www.val.town/x/rodrigoweilg/granola-analyzer/environment-variables?key=OPENAI_API_KEY
  2. Open the app and paste a Granola transcript.
  3. Click Analyze — results are saved to SQLite and browsable in History.

Architecture

Rendering mermaid diagram...

File structure

index.ts                        ← Hono backend (API routes + serves frontend)
lib/
  db.ts                         ← SQLite schema & queries
  analyze.ts                    ← OpenAI transcript analysis logic
frontend/
  index.html                    ← HTML shell (Twind + React)
  index.tsx                     ← React entrypoint
  components/
    App.tsx                     ← Root: navigation + view switching
    TranscriptInput.tsx         ← Paste transcript form
    AnalysisView.tsx            ← Display analysis results
    HistoryList.tsx             ← Browse past analyses

API

MethodRouteDescription
POST/api/analyzeAnalyze a transcript (body: {title, transcript})
GET/api/analysesList all past analyses
GET/api/analyses/:idGet a single analysis
DELETE/api/analyses/:idDelete an analysis

Environment variables

KeyDescription
OPENAI_API_KEYOpenAI API key for GPT-4o-mini