Note
Most of codes are vibecoded
Note
You need a VPS instance to run this.
Recommended at least 2GB of RAM, or 4GB with browser scraping installed
- Git - clone the repo and
git pullupdates - Bun - install deps, generate routes, run the server
- Node.js + npm - provides PM2 (
pm2-checkauto-installs it) - Python3 - only for browser scraping (
python3on Linux,pyon Windows)
# 1. Clone (in empty folder)
npm run git-clone
# or
git clone https://github.com/GreenVGJR/api.git .
# 2. Install deps
bun install
# 3. Start the server (pm2)
bun run startbun run gen-update # update to latest then restart
bun run soft-update # update to latest then hot-reloadOptional, only for browser-rendered scraping endpoints.
# Linux
bun run browser-install
# Windows
bun run win-browser-installInstalls a local .venv with scrapling[ai] + Playwright chromium.
- Tev, for assisting with api / giving ideas
License: Unlicense