Skip to content

JustinSobayo/contentshield

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Content Shield

A video content analysis platform powered by AI.

Visit the Web Application - Recommended

https://contentshieldai.vercel.app/

Run locally using Docker

The easiest way to run Content Shield locally is using Docker. This ensures all dependencies (like FFmpeg and Python libraries) are installed automatically.

Prerequisites

1. Setup Environment

Create the backend environment file and add your API key:

cp backend/env.example backend/.env
# Open backend/.env on your computer and paste your GEMINI_API_KEY inside

2. Run the App

Start the application containers:

docker compose up --build

(The first run may take a few minutes to download dependencies. subsequent runs will be instant.)

3. Access


Manual Setup (No Docker)

If you prefer to run dependencies on your host machine directly.

1. Backend Setup

Requires Python 3.10+ and FFmpeg installed on your system.

cd backend
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

2. Environment Variables

cp backend/env.example backend/.env
# Edit backend/.env and add your GEMINI_API_KEY

3. Frontend Setup

Requires Node.js 20+.

npm install

4. Running Locally

You can start both servers with the helper script:

chmod +x start_dev.sh
./start_dev.sh

Or run them manually:

Backend:

source backend/venv/bin/activate
uvicorn app.main:app --reload --port 8000

Frontend:

npm run dev

Open http://localhost:8080 in your browser.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors