How nureenali/telltale works
TellTale is a creative-writing workspace: writers organize projects and chapters, draft with autosave, maintain story context and notes, and consult AI brainstorming whose ideas can be saved or turned into scenes. The main runtime shown is the React client backed by the Node/SQLite API and optional Gemini service; the README also identifies an alternative FastAPI backend. Edges follow explicit imports/calls in the excerpts and source index or README capability statements; unsampled feature internals are represented at their exact paths, with only documented links shown.
Main entry points: App.tsx App routing · api.ts API client · WorkspacePage.tsx Writing canvas · IdeasPage.tsx Saved ideas
Components 23
Writing workspace
- App routing
src/App.tsx - Workspace shell
src/components/layout/Shell.tsx - Home overview
src/features/home/HomePage.tsx - Project management
src/features/projects/ProjectsPage.tsx - Writing canvas
src/features/workspace/WorkspacePage.tsx - Story notes
src/features/notes/NotesPage.tsx - Saved ideas
src/features/ideas/IdeasPage.tsx - Workspace settings
src/features/settings/SettingsPage.tsx - Workspace state
src/context/WorkspaceContext.tsx - Theme preferences
src/context/ThemeContext.tsx
Runtime services
- API client
src/services/api.ts - Local data service
src/services/localDb.ts - HTTP API
server/api.ts - Gemini brainstorming
server/gemini.ts
Workspace persistence
- SQLite workspace
server/db.ts - Domain types
server/types.ts
Alternative Python API
- Python Gemini service
backend/app/services/gemini_service.py - FastAPI endpoints
backend/app/main.py - Python SQLite access
backend/app/database.py - API schemas
backend/app/schemas.py
Other components
- Writer
- Google Gemini
- SQLite database file
data/telltale.db
Connections 32
- Writer → App routing: uses
src/App.tsx - App routing → Workspace shell: renders
src/App.tsx - App routing → Home overview: routes to
src/App.tsx - App routing → Writing canvas: routes to
src/App.tsx - App routing → Project management: routes to
src/App.tsx - App routing → Story notes: routes to
src/App.tsx - App routing → Saved ideas: routes to
src/App.tsx - App routing → Workspace settings: routes to
src/App.tsx - App routing → Workspace state: provides state
src/App.tsx - App routing → Theme preferences: provides theme
src/App.tsx - Workspace shell → Workspace state: reads state
src/components/layout/Shell.tsx - Workspace shell → API client: calls
src/components/layout/Shell.tsx - Project management → API client: manages projects
README.md - Writing canvas → API client: saves writing
README.md - Writing canvas → Gemini brainstorming: requests brainstorm
README.md - Writing canvas → Story notes: adds notes
- Writing canvas → Saved ideas: saves ideas
README.md - Saved ideas → API client: manages ideas
src/features/ideas/IdeasPage.tsx - Saved ideas → Writing canvas: creates scene
src/features/ideas/IdeasPage.tsx - Story notes → API client: manages notes
src/features/notes/NotesPage.tsx - Workspace state → API client: loads workspace
src/context/WorkspaceContext.tsx - API client → HTTP API: sends requests
- HTTP API → SQLite workspace: reads and writes
server/api.ts - HTTP API → Gemini brainstorming: dispatches
server/api.ts - Gemini brainstorming → Google Gemini: generates suggestions
- SQLite workspace → SQLite database file: persists data
README.md - SQLite workspace → Domain types: uses types
server/db.ts - FastAPI endpoints → Python SQLite access: reads and writes
backend/app/main.py - FastAPI endpoints → Python Gemini service: calls
backend/app/main.py - FastAPI endpoints → API schemas: validates payloads
backend/app/main.py - Python Gemini service → Google Gemini: generates suggestions
backend/app/services/gemini_service.py - Python SQLite access → SQLite database file: persists data