This guide provides instructions for setting up and running the Vinci Clips application in a local development environment.
- Node.js: v18.0.0 or later
- npm: v8.0.0 or later
- FFmpeg: This is a critical dependency for all video and audio processing.
- Git: For cloning the repository.
- Gemini API: The application uses the Gemini API for all transcription and AI analysis features. You will need to obtain an API key from Google AI Studio.
git clone https://github.com/tryvinci/vinci-clips.git
cd vinci-clipsThe project is split into a backend and a frontend, and you need to install the dependencies for both.
# Install backend dependencies
cd backend
npm install
# Install frontend dependencies
cd ../frontend
npm installThe backend requires an environment file to store your API key.
# Navigate to the backend directory
cd backend
# Copy the example .env file
cp .env.example .env# Navigate to the frontend directory
cd frontend
# Copy the example .env file
cp env.example .env.localNow, open the newly created .env file in a text editor and add your Gemini API key:
# .env
GEMINI_API_KEY=your-gemini-api-key-hereTo run the app concurrently
You first have to install concurrently
# Start the frontend and the backend server
npm install concurrently --save-dev
#global installation
npm install -g concurrentlyIn your first terminal (from the project root):
npm startYou can also run the backend and frontend in separate terminal windows.
In your first terminal (from the project root):
npm run start:backendIn your second terminal (from the project root):
npm run start:frontendOnce both are running, you can access the application at http://localhost:3000/upload.