StoryForge is an innovative web application that leverages AI to help writers generate compelling story outlines and develop creative narratives. By combining advanced language models with an intuitive user interface, StoryForge provides writers with a powerful tool to overcome writer's block and explore new storytelling possibilities.
- Interactive AI-powered story generation
- Customizable story elements
- Multiple genre and tone options
- Drag-and-drop suggestion interface
- Dark/light theme support
- Story editing and download capabilities
- Backend: Flask (Python)
- Frontend: HTML5, CSS3, JavaScript
- AI Integration: Mira SDK
- Libraries:
- Font Awesome for icons
- particles.js for background animation
- Python 3.8+
- pip
- Flask
- Mira SDK
- AI-Powered Story Generation: Utilizes advanced language models to create unique, contextually relevant story outlines
- Flexible Input Parameters: Supports multiple tones, genres, and topics
- Interactive User Interface: Drag-and-drop suggestions and intuitive design
- Responsive Design: Works seamlessly across different devices and screen sizes
- Theme Customization: Dark and light mode options for user comfort
git clone https://github.com/yourusername/storyforge.git
cd storyforge
python -m venv venv
source venv/bin/activate # On Windows, use `venv\Scripts\activate`
pip install flask mira-sdk
Replace the placeholder API key in app.py
:
client = MiraClient(config={"API_KEY": "your_mira_api_key"})
python app.py
storyforge/
│
├── app.py # Flask application
├── templates/
│ ├── index.html # Main application interface
│ ├── about.html
│ └── contact.html
│
├── static/
│ ├── css/
│ │ ├── styles.css # Main styling
│ │ └── menu.css # Navigation styling
│ │
│ └── js/
│ ├── script.js # Main application logic
│ ├── menu.js # Menu interactions
│ └── particles.js # Background particle animations
│
└── requirements.txt # Project dependencies
The Flask application handles two primary routes:
-
/generate_stories
: Generates multiple story outlines based on user-provided parameters- Inputs: Tone, Genre, Topic
- Uses Mira SDK to execute story generation flow
-
/improve_story
: Refines a selected story outline- Inputs: Plot, Tone, Genre, Topic
- Generates more detailed story sections
Manages user interactions:
- Theme toggling
- Drag-and-drop suggestions
- Story generation workflow
- Story editing and download functionality
Creates an interactive particle animation with:
- Customizable particle count
- Interactive hover and click effects
- Responsive design
- Select or input story tone, genre, and topic
- Generate story outlines
- Choose a plot outline
- Refine and generate full story
- Edit and download the final story
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
UTSO SARKAR - [email protected]
SHREYAN NARULA - [email protected]
Project Link: [https://github.com/yourusername/officiallyutso]