Skip to content

jessicatsao1/PlayPlot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PlayPlot

Playplot transforms storytelling by combining AI-powered content generation with interactive gaming elements. Our platform addresses key market challenges including high production costs, limited personalization, and creator compensation while democratizing content creation in the rapidly growing global market.

Prerequisites

Node.js Environment

  • Node.js (v18 or higher)
  • npm (comes with Node.js) or pnpm

Python Environment

  • Python 3.9 or higher
  • pip (Python package manager)

API Keys Required

The following API keys need to be set up in the backend/.env file and frontend/.env:

OPENAI_API_KEY=your_openai_api_key
ELEVENLABS_API_KEY=your_elevenlabs_api_key
PERPLEXITY_API_KEY=your_perplexity_api_key
GROQ_API_KEY=your_groq_api_key
FAL_API_KEY=your_fal_api_key

Installation

Backend Setup

  1. Navigate to the backend directory:
cd backend
  1. Create a Python virtual environment:
python -m venv venv
source venv/bin/activate  # On Windows, use `venv\Scripts\activate`
  1. Install Python dependencies:
pip install -r requirements.txt
  1. Create a .env file in the backend and frontend directory and add your API keys as shown in the Prerequisites section.

Frontend Setup

  1. Navigate to the frontend directory:
cd frontend
  1. Install dependencies:
npm install
# or if using pnpm
pnpm install

Running the Application

Start the Backend Server

  1. From the backend directory:
python api.py

The backend server will start on http://localhost:5000

Start the Frontend Development Server

  1. From the frontend directory:
npm run dev
# or with pnpm
pnpm dev

The frontend will be available at http://localhost:3000

Project Structure

PlayPlot/
├── backend/           # Python Flask backend
│   ├── api.py        # Main API endpoints
│   ├── requirements.txt
│   └── ...
├── frontend/         # Next.js frontend
│   ├── app/         # Next.js pages and components
│   ├── components/  # Reusable React components
│   └── ...
└── screenshot-demo/  # Demo screenshots and media

Features

  • AI-powered story generation
  • Text-to-speech conversion
  • Image generation
  • Video creation
  • Interactive story progression
  • Real-time updates

Contributing

Please read our contributing guidelines before submitting pull requests.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

2 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors