How yaksh-8055/narrator2.0 works
Narrator2.0 is an AI story-generation and narration app. The visible dashboard workflow authenticates a demo user, lets them generate a story and access a library; generated speech and Cloudant persistence are also advertised by the app’s routes and dashboard. The page excerpt confirms the dashboard’s AuthGuard, generator, library, and save-refresh handoff. The README provides no detail, and generated route.ts is only a Next.js type-check wrapper, so unshown API-to-provider and storage call paths are not asserted.
Main entry points: page.tsx Story dashboard · ibmtts.ts IBM narration · cloudant.ts Cloudant access · gemini.ts Gemini generation
Components 15
User experience
- Story dashboard
page.tsx - Story generator
- Story library
Story services
- Generation API
- Gemini generation
gemini.ts - Speech API
- IBM narration
ibmtts.ts - Mood voices
index.ts - Request validation
validator.ts
Story persistence
- Cloudant APIs
- Cloudant access
cloudant.ts
Identity
- Auth guard
- Demo auth
auth.ts
Other components
- Narrator user
- Cloudant
Connections 15
- Narrator user → Story dashboard: uses
page.tsx - Story dashboard → Auth guard: renders
page.tsx - Auth guard → Demo auth: validates session
- Story dashboard → Story generator: renders
page.tsx - Story dashboard → Story library: renders
page.tsx - Story generator → Generation API: requests story
- Generation API → Request validation: validates input
- Generation API → Gemini generation: generates text
- Story generator → Speech API: requests narration
- Speech API → IBM narration: synthesizes speech
- IBM narration → Mood voices: selects voice
- Story generator → Cloudant APIs: saves story
- Story library → Cloudant APIs: loads stories
- Cloudant APIs → Cloudant access: delegates access
- Cloudant access → Cloudant: reads and writes