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

Onesideddimple

Storytelling

Public
Like
Storytelling
Home
Code
4
backend
2
frontend
3
shared
1
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
/
Code
/
Search
index.ts
https://Onesideddimple--97b706283f9c11f08a0a76b3cceeab13.web.val.run
README.md

Creative Writing Inspiration Generator

A web application that generates short stories and poetry based on user inputs to inspire writers and spark creativity.

Features

  • Story Generator: Creates short stories based on genre, character, setting, and theme
  • Poetry Generator: Generates poems in various styles (haiku, sonnet, free verse, limerick)
  • Customizable Inputs: Users can specify genres, moods, themes, and other creative elements
  • AI-Powered: Uses OpenAI to generate high-quality, creative content
  • Clean Interface: Simple, writer-friendly design focused on the content

Project Structure

β”œβ”€β”€ backend/
β”‚   └── index.ts           # Main Hono server with API routes
β”œβ”€β”€ frontend/
β”‚   β”œβ”€β”€ index.html         # Main HTML template
β”‚   β”œβ”€β”€ index.tsx          # React frontend application
β”‚   └── style.css          # Custom styling
β”œβ”€β”€ shared/
β”‚   └── types.ts           # Shared TypeScript types
└── README.md

API Endpoints

  • GET / - Serves the main application
  • POST /api/generate-story - Generates a short story
  • POST /api/generate-poem - Generates a poem

Usage

  1. Choose between story or poetry generation
  2. Fill in the creative prompts (genre, mood, theme, etc.)
  3. Click generate to receive AI-created content
  4. Use the generated content as inspiration for your own writing

Environment Variables

  • OPENAI_API_KEY - Required for AI content generation
HTTP
  • index.ts
    Onesideddimple--97…13.web.val.run
Code
backendfrontendsharedREADME.md
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI 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.