• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
wmichaelaustin

wmichaelaustin

Storyteller

Public
Like
Storyteller
Home
Code
4
backend
2
frontend
4
shared
2
README.md
Branches
1
Pull requests
Remixes
History
Environment variables
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.
Sign up now
Code
/
frontend
/
README.md
Code
/
frontend
/
README.md
Search
7/13/2025
README.md

Frontend Application

React-based frontend for the AI Story Generator.

Components

  • App.tsx - Main application component with state management
  • StoryForm.tsx - Input form for story subject
  • StoryDisplay.tsx - Main story display with navigation
  • ChapterCard.tsx - Individual chapter component with text-to-speech

Features

  • Responsive design with TailwindCSS
  • Text-to-speech with male voice preference
  • Chapter navigation
  • Loading states and error handling
  • Image display for story and chapters

Text-to-Speech

Uses the Web Speech API with configuration for male voice preference:

  • Tries to find male voices in the system
  • Falls back to default voice if no male voice available
  • Configurable speech rate and pitch
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
ExploreDocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.