# 🌌 EchoVerse **EchoVerse** is a collaborative Discord bot for world-building, branching narratives, and interactive storytelling. It allows communities to craft evolving fictional universes together β€” one prompt, one character, and one vote at a time. --- ## πŸš€ Features - πŸ™οΈ **World Creation** – Create shared universes with unique settings, timelines, and rules. - πŸ§™β€β™€οΈ **Character Builder** – Develop original characters tied to specific worlds. - πŸ—ΊοΈ **Lore Wiki** – Automatically extract and organize lore based on user-generated content. - πŸ“š **Prompt Engine** – Generate interactive prompts to spark creativity. - 🧠 **Branching Storylines** – Let your community vote on what happens next. - πŸ”— **FastAPI Backend** – For future integration with websites, lore viewers, and AI modules. --- ## πŸ“¦ Tech Stack | Component | Tech Used | |------------|-----------------| | Bot | `discord.py` | | Backend | `FastAPI` (Python) | | Database | `PostgreSQL` | | Frontend (planned) | TBD | --- ## πŸ“ Project Structure ``` echoverse/ β”œβ”€β”€ bot/ β”‚ β”œβ”€β”€ main.py # Discord bot entrypoint β”‚ β”œβ”€β”€ commands/ # Slash commands β”‚ └── utils/ # NLP tools, vote logic, etc. β”œβ”€β”€ api/ β”‚ └── fastapi_app.py # REST API for worlds/characters β”œβ”€β”€ .gitignore β”œβ”€β”€ requirements.txt └── README.md ``` --- ## 🧠 API (FastAPI) Base URL: `https://echoverse.codewasabi.xyz/api/v1` > Full API documentation available at `/docs` and `/redoc`. --- ## πŸ› οΈ Setup Instructions ### 1. Clone the repo ```bash git clone https://github.com/pyGuy152/echoverse.git cd echoverse ``` ### 2. Install dependencies ```bash pip install -r requirements.txt ``` ### 3. Create `.env` file ```env ``` ### 4. Run the Discord Bot ```bash python3 bot/main.py ``` ### 5. Run the FastAPI Backend ```bash uvicorn api.fastapi:app --reload ``` --- ## πŸ§ͺ Example Commands (Discord) ```bash ``` --- ## πŸ“Œ Roadmap - [ ] Create worlds and characters - [ ] Generate prompts and store responses - [ ] Vote-based branching system - [ ] Lore wiki extraction via NLP - [ ] Web lore explorer (React) - [ ] AI-enhanced prompt system --- ## πŸ‘¨β€πŸ’» Developer Notes - All data is saved in Postgres db. Schema will be avalible soon. - Use the FastAPI routes to debug or export world data. ---