Skip to content
For Developers

CLI, API, Webhooks. Open platform.

Server-side scripts, deployable sites, and RESTful endpoints — ready to use.

Open Platform

Build and deploy from the terminal.

Prolibu CLI is the official tool to develop, test, and deploy Scripts, Sites, Virtual Tours, and Plugins on Prolibu v2. By living in the terminal, it enables development fully assisted by AI agents.

Scripts

Server-side JavaScript functions that run as lifecycle hooks, scheduled tasks, HTTP endpoints, or manual executions via API.

Sites

Deploy static sites or SPAs with built-in authentication, included API client, and one-key publishing — all from the CLI.

REST API

RESTful endpoints to manage deals, proposals, tickets, contacts, and more. OAuth 2.1 + PKCE authentication with granular scopes and MFA.

Scripts

Automate any business workflow.

Create lifecycle hooks triggered on every CRUD event, cron-scheduled tasks, custom HTTP endpoints, or scripts executed manually via API. With native clients for Salesforce, HubSpot, SendGrid, WhatsApp, and AI providers.

afterCreate.js
const Events = require('lib/vendors/prolibu/EventManager');
const SalesforceApi = require('lib/vendors/salesforce/SalesforceApi');
const UltraMsg = require('lib/vendors/ultramsg/UltraMsg');

Events.on('afterCreate', async () => {
  const { id, client, amount } = eventData;

  const sf = new SalesforceApi({ ...env });
  await sf.authenticate();
  await sf.create('Opportunity', { Name: client.name, Amount: amount });

  const wa = new UltraMsg({ ...env });
  await wa.sendMessage({ to: client.phone, body: `Proposal #${id} ready` });
});

(async () => { await Events.init(); })();
Sites

Deploy frontends connected to Prolibu.

Create static sites or SPAs that authenticate automatically with the Prolibu API. Interactive scaffolding, hot reload, QR for mobile testing, and one-key publishing.

terminal
# Create a new site
./prolibu site create \
  --domain dev10.prolibu.com \
  --prefix my-dashboard \
  --siteType Static

# Development with hot reload
./prolibu site dev --watch --port 3000
# → Local:  http://localhost:3000
# → QR:    [scan for mobile testing]
# → Press 'p' to publish, 'x' to exit

# Publish to production
./prolibu site prod \
  --domain app.prolibu.com \
  --prefix my-dashboard
REST API

Clear endpoints. Predictable responses.

A consistent RESTful API across the entire platform, with uniform JSON responses on every resource. Pagination, Mongo-style filters, field selection, populate, aggregation, and CSV/Excel export — ready to use.

create-proposal.js
// Create a commercial proposal
const response = await fetch('https://api.prolibu.com/v2/Proposal', {
  method: 'POST',
  headers: {
    'Authorization': `Bearer ${API_KEY}`,
    'Content-Type':  'application/json'
  },
  body: JSON.stringify({
    client:   'cli_9f8a2b',
    template: 'enterprise-saas',
    currency: 'USD',
    items: [
      { sku: 'LIC-50', qty: 50, price: 55 }
    ]
  })
});

const proposal = await response.json();
// → { id: "prop_3k9x", status: "draft", ... }
Capabilities

Tools for every technical need.

From interactive scaffolding to external vendor integrations — everything ready to use.

Hot Reload & Watch

Code changes sync instantly. Scripts auto-redeploy and sites refresh the browser.

Git Integration

Import scripts and sites directly from Git repositories. Supports GitHub, GitLab, and any accessible repository.

Built-in Vendors

Vendor framework with ready-made clients for Salesforce, HubSpot, SendGrid, WhatsApp (UltraMsg), and AI providers (OpenAI, Anthropic, DeepSeek). Each vendor includes a README and examples.

Testing Framework

Native Jest support with auto-injected environment variables. Run tests with --watch for continuous development.

QR for Mobile Testing

Scan a QR code during development to test sites on your phone with real data and active authentication.

Scheduled Tasks

Run scripts with cron expressions for batch processing, nightly syncs, automated reports, and data cleanup.

AI & MCP Server

AI agents that operate the CRM via MCP tools. Call transcription and analysis with Whisper and multi-provider support (OpenAI, Anthropic, DeepSeek).

Installation

Get started in under 2 minutes.

Clone the repository, install dependencies, and start building. You need Node.js 18+ and a Prolibu API key.

terminal
# Clone the CLI
git clone https://github.com/nodriza-io/prolibu-cli.git
cd prolibu-cli
npm install

# Create your first script (interactive)
./prolibu script create \
  --domain your-company.prolibu.com \
  --prefix my-first-hook

# Development with live logs
./prolibu script dev \
  --domain your-company.prolibu.com \
  --prefix my-first-hook \
  --watch

Need help with your integration?

Book a session with our engineering team to resolve technical questions, review your architecture, or plan your integration with Prolibu.