Skip to content

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.

License

Notifications You must be signed in to change notification settings

pheonix-coder/TaleCraft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📚 Talecraft

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.

🛠️ Tech Stack

  • Flask
  • HTML
  • Matcha.css

✨ Features

  • 🔐 Authentication (authN)
  • 📖 Create, view, and delete stories
  • 🤖 Generate stories using AI

🛤️ Roadmap

  • 🔍 Search stories
  • ✏️ Update stories
  • 🌟 Story Hub for sharing cool stories

🚀 How to Run

  1. Clone the repository:

    git clone https://github.com/pheonix-coder/TaleCraft
  2. Set up a virtual environment:

    python -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`
  3. Install requirements:

    pip install -r requirements.txt
  4. Initialize the database:

    flask db init
    flask db migrate
    flask db upgrade
  5. Set Up API key:

    • Obtain a Groq API key and add it to your .env file (see .env.example for reference).
  6. Run the application:

    python run.py

🎯 Submission

This project is a submission to Quira Quest 16.

🎥 Demo Video

About

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.

Resources

License

Stars

Watchers

Forks