Automated Moderation Tool for Content Creation and Streaming
.
βββ docker-compose.yml # Docker orchestration
βββ frontend/
β βββ src/
β β βββ App.jsx # Main app component
β β βββ components/
β β β βββ video/ # Video processing components
β β β βββ ui/ # shadcn components
β β βββ index.jsx # React entry point
β β βββ lib/
β βββ index.html # HTML entry point
β βββ main.cjs # Electron main process
βββ backend/
β βββ utils/ # Backend utility functions
β βββ main.py # FastAPI entry point
β βββ requirements.txt # Python dependencies
β βββ Dockerfile # Backend container definition- React - UI framework
- Vite - Build tool and dev server
- Electron - Desktop app wrapper
- shadcn/ui - Component library
- Tailwind CSS - CSS framework
- FastAPI - Backend API
- OpenAI Whisper - Speech-to-text transcription
- MoviePy - Video/audio processing
- Docker - Backend environment and dependency management
- Node.js v18 or higher
- Docker Desktop
- Python 3.12
- npm
git clone https://github.com/kumathy/Modsquad.git && cd ModsquadFrom the project root, install dependencies:
cd frontend && npm installStart dev server and Electron in two separate terminals:
# Terminal 1 β Vite dev server
npm run dev
# Terminal 2 β Electron
npm run startIn another separate terminal, from the project root:
docker compose up --buildThis builds the Python environment and starts the FastAPI server at http://localhost:8000. The --build flag is only needed the first time or after changes to requirements.txt/Dockerfile. After that, just run:
docker compose upTo stop the backend:
docker compose down

