⚠️ IMPORTANT LEGAL NOTICE: This project is for educational purposes only. Please read the DISCLAIMER.md file before using this software.
VePhim is a feature-rich platform where you can watch movies online for free. Think of it as your personal movie library accessible anytime, anywhere with an internet connection. With a clean, modern interface and powerful features, VePhim delivers a premium streaming experience without the premium price tag.
VePhim acts as an aggregator rather than a host. Instead of storing movies on its own servers, it intelligently indexes and streams content from publicly available sources across the internet. Our specialized crawlers collect comprehensive movie data including:
This complete data collection approach enables:
🤖 AI-Powered SearchOur Gemini-powered AI understands your preferences and helps you find the perfect movie based on your mood, interests, or specific criteria. |
⚡ Lightning-Fast StreamingExperience smooth, high-quality playback with our advanced streaming technology and optimized content delivery. |
📱 Multi-PlatformEnjoy VePhim on your browser or mobile device with our responsive web app and native mobile applications. |
🔍 Smart DiscoveryDiscover new content through intelligent recommendations based on your viewing history and preferences. |
💾 Personal CollectionsCreate a free account to save favorites, track viewing history, and receive personalized recommendations. |
🛡️ Clean ExperienceEnjoy a clean, ad-light experience focused on content enjoyment rather than disruptions. |
VePhim is built as a monorepo using Nx, a powerful build system and development toolkit that enables efficient code sharing and maintenance across multiple applications.
Example :vephim/
├── apps/
│ ├── api/ # NestJS backend service
│ │ └── .env # Backend environment configuration
│ ├── fe/ # Main user interface (Next.js)
│ │ └── .env # Frontend environment configuration
│ ├── mnt/ # Admin dashboard interface
│ │ └── .env # Admin environment configuration
│ └── mobile/ # React Native mobile application
├── containers/ # Docker configurations for infrastructure
│ ├── be-with-redis/ # Backend with Redis configuration
│ ├── be-redis-pm2/ # Backend with Redis and PM2
│ ├── be-redis-es/ # Backend with Redis and Elasticsearch
│ ├── elasticsearch/ # Elasticsearch configuration
│ ├── kibana/ # Kibana visualization tool
│ ├── load-balancer/ # Load balancing configuration
│ ├── swag/ # Secure Web Application Gateway
│ └── weserv-images/ # Image optimization service
├── documents/ # Project documentation and diagrams
├── tools/ # Build and development utilities
├── .env # Root environment variables
└── nx.json # Nx workspace configurationVePhim leverages modern technologies to deliver a seamless user experience:
VePhim provides two separate frontend applications for different user roles:
Install dependencies:
Example :yarn installConfigure environment:
Example :cp .env.example .env
# Edit .env with your configuration valuesStart infrastructure services:
Example :docker compose -f docker-compose.infra.yml up -dStart applications in development mode:
Backend:
Example :# Configure backend environment
cp apps/api/.env.example apps/api/.env
# Edit apps/api/.env as needed
# Start the API server in development mode
yarn api
# Server will run at http://localhost:8000Main User Interface:
Example :# Configure frontend environment
cp apps/fe/.env.example apps/fe/.env
# Edit apps/fe/.env as needed
# Start the web application in development mode
yarn fe
# Main UI will run at http://localhost:3000Admin Dashboard:
Example :# Configure admin environment
cp apps/mnt/.env.example apps/mnt/.env
# Edit apps/mnt/.env as needed
# Start the admin interface in development mode
yarn mnt
# Admin dashboard will run at http://localhost:4000Mobile Application:
Example :# Ensure Android emulator is running
yarn adrBuild Backend:
Example :yarn nx build api --configuration=production
# Output will be in dist/apps/apiBuild Main UI:
Example :yarn nx build fe --skip-nx-cache
# Output will be in apps/fe/.next with standalone folder for productionBuild Admin Dashboard:
Example :yarn nx build mnt --skip-nx-cache
# Output will be in apps/mnt/.next with standalone folder for productionRun Backend:
Example :# After building
NODE_ENV=production node dist/apps/api/mainRun Main UI:
Example :# After building
cd apps/fe/.next/standalone
NODE_ENV=production node server.jsRun Admin Dashboard:
Example :# After building
cd apps/mnt/.next/standalone
NODE_ENV=production node server.jsOption 1: Standalone Backend
Example :docker compose up -dOption 2: Backend with Redis Bundle
Example :docker compose -f docker-compose.bundle.yml up -dFor quick deployment with Vercel:
Main User Interface:
yarn nx build fe --skip-nx-cacheapps/fe/.nextyarn install --immutableAdmin Dashboard:
yarn nx build mnt --skip-nx-cacheapps/mnt/.nextyarn install --immutableYou can also build and run your own Docker images using the provided Dockerfiles:
Example :# Build and run backend
docker build -f apps/api/Dockerfile -t vephim-api .
docker run -p 8000:8000 vephim-api
# Build and run main UI
docker build -f apps/fe/Dockerfile -t vephim-fe .
docker run -p 3000:3000 vephim-fe
# Build and run admin dashboard
docker build -f apps/mnt/Dockerfile -t vephim-mnt .
docker run -p 4000:4000 vephim-mntThis README provides an overview of VePhim. For detailed documentation, architecture diagrams, and contribution guidelines, check the documents directory or visit our GitHub repository.
IMPORTANT LEGAL NOTICE
This project is provided STRICTLY FOR EDUCATIONAL AND DEMONSTRATION PURPOSES ONLY.
For the full legal disclaimer, please refer to the DISCLAIMER.md file in this repository.
In summary:
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED.