Get started with Open Browser Rendering in 5 minutes!
- Docker installed
- Docker Compose installed
- Clone the repository
git clone https://github.com/devmode-id/OpenBrowserRendering.git
cd OpenBrowserRendering- Configure environment
cp .env.example .env
# Edit .env and set your API key- Start the service
docker-compose up -d- Test it
# Health check
curl http://localhost:3000/health
# Take a screenshot
curl -X POST http://localhost:3000/screenshot \
-H "Authorization: Bearer supersecret123" \
-H "Content-Type: application/json" \
-o screenshot.png \
-d '{"url": "https://example.com"}'✅ Done! Your service is running on http://localhost:3000
- Node.js >= 18.0.0
- npm
- Clone the repository
git clone https://github.com/devmode-id/OpenBrowserRendering.git
cd OpenBrowserRendering- Install dependencies
npm install- Install Playwright browsers
npx playwright install --with-deps- Configure environment
cp .env.example .env
# Edit .env and set your API key- Start the service
npm start- Test it
# Health check
curl http://localhost:3000/health
# Take a screenshot
curl -X POST http://localhost:3000/screenshot \
-H "Authorization: Bearer supersecret123" \
-H "Content-Type: application/json" \
-o screenshot.png \
-d '{"url": "https://example.com"}'✅ Done! Your service is running on http://localhost:3000
- 📚 Read the full documentation
- 🔧 Check out API reference
- 💡 See usage examples
- 🚀 Learn about VPS deployment
- 🔒 Review security best practices
Change the port in .env:
PORT=3001
Add your user to docker group:
sudo usermod -aG docker $USERInstall system dependencies:
# Ubuntu/Debian
sudo apt-get install -y \
libnss3 libnspr4 libatk1.0-0 libatk-bridge2.0-0 \
libcups2 libdrm2 libxkbcommon0 libxcomposite1 \
libxdamage1 libxfixes3 libxrandr2 libgbm1 \
libasound2Made with ❤️ by DEVMODE Community