NarrativeFlow is an interactive AI story co-writer application designed to help authors craft compelling narratives. It features an adaptive AI that collaborates with you, offering real-time suggestions, scene visualizations, and stylistic coherence.
- Adaptive Co-Writing: A chat-like interface where you and the AI take turns writing. The AI adapts to your selected genre, tone, and style.
- Parametric Controls: Fine-tune your story's Pacing, Detail Level, and Tone in real-time using the editor's control panel.
- Scene Visualization: (Mockup) Visualize your current scene with AI-generated imagery.
- Story Setup Wizard: A comprehensive intake form to define your story's Premise, Genre (Fantasy, Sci-Fi, etc.), and POV.
- Modern UI/UX:
- Fully responsive design for Mobile, Tablet, and Desktop.
- Dark/Light Mode support (System synced).
- Professional, focused writing environment.
- User Management:
- Secure Login & Signup pages.
- User Profile dashboard with writing statistics.
- Frontend: React 18, TypeScript, Vite
- Styling: Tailwind CSS, PostCSS, CSS Variables (Theming)
- Animations: Framer Motion
- Routing: React Router DOM (v6+)
- Icons: Lucide React
-
Clone the repository (if applicable) or navigate to the project directory.
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Open in Browser: Visit
http://localhost:5173to start writing.
src/
βββ components/ # Reusable UI components (Button, Input, Slider, etc.)
βββ layouts/ # Page layouts (MainLayout)
βββ lib/ # Utilities (tailwind-merge, clsx)
βββ pages/ # Application Pages
β βββ Home.tsx # Landing Page
β βββ Login.tsx # Sign In
β βββ Signup.tsx # Registration
β βββ StorySetup.tsx # Configuration Wizard
β βββ StoryEditor.tsx # Main Co-Writing Interface
β βββ Profile.tsx # User Dashboard
βββ types/ # TypeScript definitions
βββ App.tsx # Main Router configuration
βββ index.css # Global Styles & Theme Variables
The application uses CSS variables for theming, allowing for accurate color mapping in both Light and Dark modes.
- Dark Mode: Default for a "Writer's Night Mode" feel.
- Light Mode: Accessible high-contrast alternative.
- System: Syncs with your OS settings.
Toggle the theme using the icons in the top navigation bar.
- Fork the repository.
- Create a feature branch (
git checkout -b feature/amazing-feature). - Commit your changes (
git commit -m 'Add amazing feature'). - Push to the branch.
- Open a Pull Request.
Built with β€οΈ for Storytellers.