Quick Start
This guide will get OpenSNS running on your local machine in under 5 minutes.
Prerequisites
Section titled “Prerequisites”- Python 3.11+
- Node.js 18+ or Bun
- Git
Installation
Section titled “Installation”The fastest way to get started:
# Clone the repositorygit clone https://github.com/opensns-dev/opensns.gitcd opensns
# Copy environment filescp backend/.env.example backend/.env
# Start all servicesdocker-compose up -dAccess the app:
- Frontend: http://localhost:3000
- API Docs: http://localhost:8000/docs
-
Clone and setup backend
Terminal window git clone https://github.com/opensns-dev/opensns.gitcd opensns/backend# Create virtual environmentpython -m venv venvsource venv/bin/activate # Windows: venv\Scripts\activate# Install dependenciespip install -r requirements.txt# Install Playwright browserplaywright install chromium# Configure environmentcp .env.example .env# Edit .env with your settings -
Start the backend
Terminal window uvicorn app.main:app --reload -
Setup frontend (new terminal)
Terminal window cd opensns/frontendbun installbun dev -
Open the app
Navigate to http://localhost:3000
First Steps
Section titled “First Steps”-
Register an account
Go to http://localhost:3000/register and create your account.
-
Configure API keys (optional)
Navigate to Settings and add your API keys:
- OpenAI API Key - For AI text generation
- Fal.ai API Key - For image/video generation
-
Create your first campaign
Go to Campaigns → Create Campaign, enter a product URL, and watch the AI generate your assets!
What’s Next?
Section titled “What’s Next?”- Configuration Guide - Customize your setup
- API Keys Setup - Configure AI providers
- Creating Campaigns - Learn the campaign workflow