Open-source execution engine for DataForge — handles data operations, API endpoints, webhooks, cron jobs, and more.
When you connect a self-hosted node to DataForge, this is the software that runs on your server. It receives proxied requests from the Control Plane and executes them against your local PostgreSQL database.
- Data CRUD with row-level security and validation
- Custom REST API builder with caching
- GraphQL auto-generation from schema
- SQL console with schema isolation
- Webhooks with HMAC signing and retry
- Cron jobs (SQL, HTTP)
- Real-time WebSocket pub/sub
- File storage (local / S3)
- Plugin system (Telegram, Discord, Email, S3, etc.)
- AI-powered SQL generation (Anthropic)
docker pull ghcr.io/YOUR_ORG/dataforge-worker:latest
docker run -d \
--name dataforge-worker \
-p 4001:4001 \
-e DATABASE_URL=postgresql://user:pass@localhost:5432/dataforge \
-e REDIS_URL=redis://localhost:6379 \
-e NODE_API_KEY=your-secret-key-min-16-chars \
-e CONTROL_PLANE_URL=https://your-cp.dataforge.pro \
ghcr.io/YOUR_ORG/dataforge-worker:latestcurl -fsSL https://raw.githubusercontent.com/YOUR_ORG/dataforge-worker/main/scripts/install.sh | bashgit clone https://github.com/YOUR_ORG/dataforge-worker.git
cd dataforge-worker/backend
cp .env.example .env # configure
npm install
npm run migrate # create tables
npm run dev # start in dev mode| Variable | Required | Default | Description |
|---|---|---|---|
DATABASE_URL |
Yes | — | PostgreSQL connection string |
REDIS_URL |
No | redis://localhost:6379 |
Redis connection string |
NODE_API_KEY |
Yes | — | Secret key for CP authentication (min 16 chars) |
CONTROL_PLANE_URL |
Yes | — | URL of your DataForge Control Plane |
NODE_ID |
No | hostname | Unique identifier for this node |
PORT |
No | 4001 |
HTTP port |
docker pull ghcr.io/YOUR_ORG/dataforge-worker:latest
docker-compose up -dOr with specific version:
docker pull ghcr.io/YOUR_ORG/dataforge-worker:v1.2.0- Fastify 5 + TypeScript
- Knex.js + PostgreSQL
- Redis (ioredis)
- node-cron
- GraphQL
- WebSocket (@fastify/websocket)
MIT