Spaces:
Sleeping
Sleeping
π Lore Keeper
An elegant AI-powered storytelling platform that creates personalized stories across multiple genres using Google's Gemini AI.
β¨ Features
π Genre & Theme Selection
- Multiple genres including Fantasy, Sci-Fi, Mystery, Romance, Horror, Historical Fiction, and Adventure
- Customizable themes within each genre
- Dynamic story generation based on selected preferences
π Reading Experience
- Clean, distraction-free reading interface
- Progress bar tracking
- Estimated reading time
- Infinite scroll for continuous story generation
- Text-to-Speech functionality
- Customizable font settings
- Multiple font families
- Adjustable font size
- Dark/Light theme toggle
π± Mobile-Friendly
- Responsive design
- Touch gestures support
- Swipe navigation for settings
- Mobile-optimized UI elements
π¨ Customization
- Theme switching (Light/Dark mode)
- Font family selection
- Text size adjustment
- Reading progress tracking
π Getting Started
Prerequisites
- Python 3.8+
- Flask
- Google Generative AI API key
Installation
- Clone the repository
git clone https://github.com/yourusername/lore-keeper.git
cd lore-keeper
- Install dependencies
pip install -r requirements.txt
- Set up Google Generative AI API key
- Obtain an API key from Google Cloud Console
- Set the
GOOGLE_API_KEY
environment variable
export GOOGLE_API_KEY='your_api_key_here'
- Run the application
python api/app.py
π οΈ Technology Stack
- Frontend: HTML5, CSS3, JavaScript
- Backend: Flask (Python)
- AI: Google Gemini 1.5 Flash
- Styling: Custom CSS with CSS Variables
- Fonts: Google Fonts (Crimson Text)
π― Usage
- Select your preferred genre and theme
- Start reading the generated story
- Scroll to automatically generate more content
- Use the settings panel to customize your reading experience
- Toggle Text-to-Speech for audio narration
π¨ Customization Options
Themes
- Light Mode
- Dark Mode
Fonts
- Crimson Text
- Georgia
- Palatino
- Baskerville
Reading Features
- Adjustable font size
- Progress tracking
- Reading time estimation
- Text-to-Speech
π± Mobile Features
- Swipe gestures for navigation
- Mobile-optimized layout
- Touch-friendly controls
- Responsive design
π€ Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
π Acknowledgments
- Google Generative AI for the story generation
- Flask community for the excellent web framework
Made with β€οΈ for storytelling enthusiasts