Talecraft is a Flask app that uses the GroqCloud API to generate imaginative stories for children based on user input such as title, theme, place, and prompts about characters and settings.
- Flask
- HTML
- Matcha.css
- 🔐 Authentication (authN)
- 📖 Create, view, and delete stories
- 🤖 Generate stories using AI
- 🔍 Search stories
- ✏️ Update stories
- 🌟 Story Hub for sharing cool stories
-
Clone the repository:
git clone https://github.com/pheonix-coder/TaleCraft
-
Set up a virtual environment:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install requirements:
pip install -r requirements.txt
-
Initialize the database:
flask db init flask db migrate flask db upgrade
-
Set Up API key:
- Obtain a Groq API key and add it to your .env file (see .env.example for reference).
-
Run the application:
python run.py
This project is a submission to Quira Quest 16.