- Build browser Tasks with actions, conditions, loops, and variables, or use Scrape for HTTP-based data extraction.
- Run saved Tasks from the editor, on a schedule, or via the REST API with runtime variables.
- Review results, screenshots, and recordings in Executions. Store downloaded files in Cabinets for reuse.
- Start from a community Template, or build a Task from scratch.
Proxy-Seller — Private residential, ISP, mobile, and datacenter IPv4/IPv6 proxies for reliable web scraping and browser automation.
RapidProxy — 90M+ residential IPs built for browser automation and web scraping, with smart rotation and stable sessions. From $0.55/GB with non-expiring traffic. Use RAPID10 for 10% off.
SimplyNode — Residential proxies for web scraping and browser automation, with flexible targeting and reliable rotation.
The app is available at http://localhost:11345. The example also publishes the standalone VNC viewer on port 54311; do not expose that port publicly.
Install Docker with the Compose plugin, then run:
mkdir figranium-server
cd figranium-server
curl -fsS https://raw.githubusercontent.com/figranium/browsers/main/docker-compose.deploy.yml -o docker-compose.yml
docker compose up -dProxy only the main application port (11345). The embedded browser viewer connects through the application’s authenticated /websockify endpoint, so it does not need a separate public VNC/noVNC port.
For Caddy running on the same VM, a standard reverse proxy is sufficient:
figranium.example.com {
reverse_proxy 127.0.0.1:11345
}Caddy forwards WebSocket upgrades automatically. The viewer receives a short-lived, single-use ticket bound to the signed-in session, so it continues to connect safely if the proxy changes the upstream Host header. TRUST_PROXY is not required for the embedded browser viewer; enable it only when the application needs to rely on forwarded client address or protocol headers for other deployment behavior.
Figranium Browsers automatically generates a cryptographically random session secret on first startup and stores it in the persistent data directory (session_secret.txt). Subsequent starts reuse the saved secret. You can optionally set SESSION_SECRET to provide your own; keep the data directory persistent so existing sessions remain valid.
| Variable | Purpose | Default |
|---|---|---|
SESSION_SECRET |
Optional override for the automatically generated, persisted session-cookie signing secret. | Auto-generated |
MASTER_KEY |
Optional 256-bit key enabling encrypted at-rest secret files. Without it, the shared secret-store writes plaintext JSON. Supply 32 bytes encoded as base64url or 64 hexadecimal characters. | Unset (no shared secret-store encryption) |
MASTER_KEY_FILE |
Optional location of a legacy local master key used to decrypt previously encrypted files during migration. Does not enable encryption for new writes without MASTER_KEY. Retain the original key until migration completes. |
data/master.key (legacy key location) |
PASSWORD_CACHE_KEY |
Secret used to encrypt the server-side 1Password cache. Set this to keep the encryption key outside the Figranium Browsers data directory. | Auto-generated and stored at data/password_cache.key |
PASSWORD_CACHE_ENABLED |
Enable encrypted server-side caching of 1Password Login metadata and resolved passwords. Set to false to always fetch from 1Password. |
true |
FIGRANIUM_TELEMETRY_ENABLED |
Send anonymous installation environment details and daily UI/API usage flags to Figranium Browsers telemetry. Set to false to disable. |
true |
ALLOWED_IPS |
Comma list for basic IP allowlisting. | none (open) |
TRUST_PROXY |
Honor X-Forwarded-* for application-level proxy behavior. Not required for the embedded browser viewer. |
0 |
ALLOW_PRIVATE_NETWORKS |
Allow scraping local/private IPs (SSRF risk). | false |
VITE_DEV_PORT |
Port for front-end dev server. | 5173 |
VITE_BACKEND_PORT |
Backend port for proxying + scripts. | 11345 |
DB_TYPE |
Optional database type overriding disk storage. Set to postgres to use PostgreSQL. |
— |
DB_POSTGRESDB_HOST |
Hostname for the PostgreSQL database (required if DB_TYPE is postgres). | — |
DB_POSTGRESDB_PORT |
Port number for the PostgreSQL database (required if DB_TYPE is postgres). | — |
DB_POSTGRESDB_USER |
Username for the PostgreSQL database (required if DB_TYPE is postgres). | — |
DB_POSTGRESDB_PASSWORD |
Password for the PostgreSQL database (required if DB_TYPE is postgres). | — |
DB_POSTGRESDB_DATABASE |
Database name for PostgreSQL. | postgres |
MAX_CONCURRENT_EXECUTIONS |
Override the automatic browser-execution limit. | host-aware |
| MAX_EXECUTION_QUEUE | Maximum waiting executions before new work receives 503. | 50 |
| EXECUTION_QUEUE_TIMEOUT_MS | Maximum time an execution may wait for capacity. | 600000 |
| EXECUTION_TIMEOUT_MS | Maximum non-headful execution runtime. | 900000 |
| RESOURCE_MEMORY_RESERVE_MB | Minimum memory headroom reserved for the host. | max(512 MB, 15%) |
| RESOURCE_CPU_THRESHOLD | Normalized CPU load that pauses dequeuing. | 0.9 |
| RESOURCE_PROBE_INTERVAL_MS | Runtime resource-protection sampling interval. CAPTCHA capacity is detected at startup. | 30000 |
At-rest encryption in the shared secret store is now opt-in. Without MASTER_KEY, new file-backed secret writes use plaintext JSON; configure MASTER_KEY to keep them encrypted. Existing encrypted files are decrypted and migrated only when their original key is available. Preserve data/master.key (or the configured legacy MASTER_KEY_FILE) until migration is complete; missing keys never trigger destructive resets. Named API keys remain salted and hashed, not stored as plaintext. Separate 1Password password-cache encryption settings remain independent of MASTER_KEY.
Figranium Browsers uses Fiptcha for CAPTCHA solving. Fiptcha owns the CAPTCHA solver implementation and its configuration, supported providers, local/remote solving behavior, model setup, and platform-specific companion tooling. See the Fiptcha repository for the current CAPTCHA documentation instead of relying on duplicated configuration here.
Proxy rotation also respects data/proxies.json (see below), and data/allowed_ips.json works as an alternate allowlist format.
PLAYWRIGHT_BROWSERS_PATH(or setPLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH) when using a shared Playwright installation.NODE_ENV=productionenables the bundleddist/client and reduces console verbosity.HOST=0.0.0.0allows binding beyond localhost inside Docker containers, whilePORToverrides the Express listen port (defaults to11345).- Set
LOG_LEVELtodebugif you need more Playwright or proxy diagnostics.
Figranium Browsers has two task modes:
- Agent Mode — deterministic browser automation built from an ordered sequence of actions, control flow, variables, and extraction.
- Scrape Mode — lightweight HTTP-based scraping and extraction without launching a browser.
Visible browser sessions are a debugging/runtime capability, not a third task mode.
- Dashboard — view metrics, search and sort Tasks, explore featured Templates, and create Tasks from scratch or a Template.
- Templates — browse the embedded community catalog, search and filter ready-made workflows, preview their details and expected output, and import them into your workspace.
- Task Editor — build Agent or Scrape Tasks, configure actions and extraction, test blocks, manage variables, choose a Cabinet, schedule runs, add resizable canvas notes, and trigger executions.
- Executions — browse queued, running, and completed runs; inspect outcomes, complete results, screenshots, and recordings; and cancel queued executions.
- Cabinets — manage durable file queues used by Task downloads and Upload blocks, including files, ZIPs, folders, and upload status.
- Settings — manage API Keys, User Agent, Proxies, Appearance, and Advanced settings, including retention, account controls, and resource information.
- Tasks support actions including navigation, click, type, wait, press, scroll, JavaScript, hover, screenshots, conditions, loops, variables, uploads, and error handling.
- Variable templating (
{$var}) and structured conditions make Tasks reusable with runtime inputs. - Extraction can return structured data from browser or scrape executions.
- See
AGENT_SPEC.mdfor the Task schema and action contract.
Proxies can be defined via the UI or data/proxies.json:
[
"http://user:pass@proxy1.example.com:8000",
{ "server": "socks5://proxy2.example.com:1080", "label": "data center" }
]hostis always available and represents your machine’s default IP.- Rotation settings (
round-robinorrandom) live in Settings and persist through the backend endpoints. - Import/export operations live behind
/api/settings/proxies/import.
Figranium Browsers serves its REST API on the same host and port as the UI (port 11345 by default). See the OpenAPI specification for request and response formats.
Authentication:
If enabled, provide the x-api-key header or Authorization: Bearer <key>. For internal network use, this may be optional depending on your settings.
GET /api/tasks: List all saved Tasks.POST /api/tasks: Create a new Task.PUT /api/tasks/:id: Update an existing Task.POST /api/tasks/:id/api: Execute a predefined Task. Pass{"variables": {}}in the body to override execution variables dynamically.
GET /api/schedules: List all scheduled Tasks and their status.POST /api/schedules/:taskId: Create or update a schedule (supports visual config or raw cron).DELETE /api/schedules/:taskId: Disable/remove a schedule.GET /api/schedules/status/all: Get an overview of all active scheduled jobs.
GET /api/executions: Retrieve paginated history of past runs.GET /api/executions/:id: View the steps, result data, and configuration state of a specific run.
GET /api/templates: Browse the community Templates catalog with search, category, sort, and pagination.GET /api/templates/:id: Retrieve an individual Template for preview or import. These endpoints require an authenticated workspace session.
GET /api/cabinets: List Cabinets.- Cabinet routes under
/api/cabinetsmanage file queues, items, downloads, upload state, ZIP creation, and extraction.
- Use JavaScript blocks when you need custom browser-side logic:
return document.querySelectorAll('article').length;
- Keep selectors narrow and use the selector picker to generate deterministic candidates.
- Set Task variables through the API to reuse generic workflows across multiple inputs or domains.
- Design a Task in the editor and add the actions required for the workflow.
- Use conditions, loops, variables, and JavaScript where deterministic control flow needs them.
- Add extraction or screenshot actions when you need structured output or visual evidence.
- Configure proxy rotation when the workflow needs a different egress strategy.
- Use the Schedule tab for automated runs, or trigger the Task through its API endpoint.
- Pass runtime variables such as
{"variables":{"query":"books"}}when calling the Task from another tool.
Figranium Browsers includes a built-in scheduler that handles automated Task execution without requiring external cron jobs or triggers.
- Visual Mode: Configure periodic, hourly, daily, weekly, or monthly runs.
- Advanced Mode: Use standard 5-field cron expressions (
* * * * *) for complex schedules. - Persistence: Schedules are stored with Task metadata and persist across server restarts.
- Monitoring: Next-run and previous-run information is available from the Task scheduling interface and execution history.
- Run
npm run buildto compile the production UI intodist/. - Backend logging writes to the console for debugging proxies, authentication, or browser failures.
- Use the repository's test and qualification scripts when changing execution-critical behavior.
- “Session expired” in the UI: confirm
SESSION_SECRETis consistent and cookies aren’t blocked by your browser. - Proxy import fails: inspect
data/proxies.jsonfor valid URLs; the backend validates proxy configuration before use. - API key lost: open Settings → API Keys to view or regenerate API credentials.
- Screenshots and recordings are accessible through Executions, not a separate Captures page.
- Large execution results are persisted separately from bounded history previews and retrieved on demand; retention cleanup also removes their stored payloads.
- Browser downloads are stored in Cabinets. Tasks can select a Cabinet, and Upload blocks can consume queued Cabinet items.
- Browser state can persist between executions; enable a Task's stateless execution option when a run should start without persisted cookies or local storage.
- Proxy lists, user-agent preferences, and other server settings persist under
data/; back up that directory when those settings matter to your deployment.
- The project is governed by the GNU General Public License v3.0, which grants rights for distribution and modification as per the GPLv3 terms.
- Keep
data/backed up if you rely on persistent settings or browser state. - Release updates: Docker installations should run
docker compose pullfollowed bydocker compose up -d; source installations should update from the Browsers repository and follow the setup commands. - Contributions: follow
.github/templates, respectCONTRIBUTING.md, and run available lint/test scripts if you touch critical areas.
- Settings shortcuts — dedicated API Keys, User Agent, Proxies, and Appearance sections let operators tune core settings without leaving the UI.
- Unified execution history — review results, screenshots, and recordings through Executions rather than a duplicate Captures page.
- IP rotation tooling — import proxies and automatically rotate them.
- API key workflow — manage API access without extra setup.
- Scoped API keys — support multiple individually revocable API keys with explicit permissions.
- Password manager & credential injector — securely store credentials and inject them into browser Tasks at runtime.
- Task proxy rotation toggle — enable rotation per Task execution.
- Spatial editor transition — spatial block-based Task editor.
- Action key combos — add modifier shortcuts for browser interactions.
- Click-and-drag block — add drag gesture automation.
- Recording controls — disable automated recording per Task.
- File downloads — download files from target pages and surface them through Cabinets.
- Cabinet-backed file workspace — route downloads into shared Cabinets and consume them from Upload blocks.
- Stateless mode — start Task runs without persisted cookies or local storage.
- Adblocking filters — optional ad/malware filtering for execution contexts.
- Extraction response mode — choose between HTML+data and data-only API responses.
- Folder organization — organize Tasks and assets into named folders.
- Configurable capture and execution retention — set retention in Advanced Settings, with automatic cleanup.
- Workspace templates — reusable workspace presets.
- Geo-targeted exits — choose proxy regions for Tasks.
- Session recording redaction — redact sensitive fields from recordings and logs.
- Two-factor authentication — optional TOTP/second-factor support.
- Automatic self-healing selectors — recover broken locators after page changes.
- Multilingual task pages with translate.js — optionally translate browser-rendered pages before actions and extraction.
- AI-assisted fixing — suggest fixes after failed runs for user approval.
- Companion app — lightweight notifications for important execution events.
- Community presets hub — publish and discover reusable automation presets.
- Embedded Templates for instant usage — browse, preview, and import ready-made Templates directly in the Figranium Browsers UI.
- Database Tab / Local CRM — built-in interface for extracted data.
- iframe interaction support — target and interact with elements inside iframes.
- Autosave — automatically persist Task changes and editor state.
- Highlight tool — highlight elements while building workflows.
- Cron triggers — schedule Tasks with cron expressions.
- Resizable canvas notes — add and resize annotations alongside workflows.
- Page triggers — trigger a Task when a page changes in a specified way.
- Task-dedicated browser state & cookie buckets — isolate or intentionally share persistent browser state between Tasks.
- Never commit your
SESSION_SECRETor API keys into shared repositories. - Use
ALLOWED_IPS/data/allowed_ips.jsonto gate the UI when deploying to a network-exposed host. - Rotate API keys periodically via Settings, and use Executions to review automation runs.
- Turn on two-factor sign-in under Settings > Advanced to require an authenticator app code after your password. Store the recovery codes shown at setup somewhere safe; each works once.
- If you lose your authenticator and every recovery code, an operator running from a source checkout can run
node scripts/reset-2fa.js <email>to turn two-factor off for that account. Stop the server first, then start it again. This script is not included in the npm package. - Set
MASTER_KEYso authenticator seeds are encrypted at rest indata/users.json. Without it they are stored in plaintext alongside other account data. - Keep dependencies and the deployment environment up to date.
- Report issues or request features via the GitHub repo issue tracker.
- Follow the authors on
https://github.com/figraniumfor releases. - Share reusable Tasks and Templates with other self-hosted users.
- Join the community on Discord.
Support development on Ko-fi:
Other ways to help:
- Star the repository to help others find it.
- Share the project with your network.
- Contribute to the code or documentation.

