Open Monitor Deployment Options and Configuration
Open Monitor provides deployment options such as self-hosting via Docker Compose, Dockerfile, Render, or Cloudflare Workers, with configuration involving environment variables and database setup.
Deployment Options and Configuration
Open Monitor offers multiple deployment options, including self-hosting via Docker Compose or using a Dockerfile directly. To begin, users can run cp .env.example .env and set required keys such as API_KEY and LLM_API_KEY. The application listens on port 8787 and stores data in monitor.db, with the scheduler running every minute. For Docker Compose, the setup includes three containers: the main monitor, SearXNG for search, and Lightpanda for JavaScript-rendered pages. Deployment can also be handled via Render, which generates an API_KEY and SESSION_SECRET automatically. Alternatively, Cloudflare Workers can be used with wrangler to create a D1 database and deploy the application, with a cron trigger managing the scheduler. Users can configure search providers like Tavily or SearXNG by setting TAVILY_API_KEY or SEARXNG_URL in the environment file.
Functionality and Operation of the Monitor
The Open Monitor system operates by periodically checking web searches or specific pages based on user-defined schedules. For search monitors, it executes the query, filters results using include_domains and exclude_domains, and discards URLs already judged. It then sends the remaining results to an LLM judge for evaluation. Page monitors fetch each URL, compare its current text with the previous version, and send a unified diff (up to 24 KiB) to the judge for analysis. For pages requiring browser rendering, users can configure a CDP endpoint such as Lightpanda or Chrome's remote debugging port. The monitor continues running unless an event fails seven consecutive attempts, at which point it pauses with a pause_reason: webhook_failing indication. The system is designed to be self-hosted and integrates with webhooks for further processing.
LLM Integration and Filtering Mechanism
The LLM integration in Open Monitor functions as a filtering mechanism, evaluating each candidate—whether a new search result or a page diff—against the monitor's defined goal. Each candidate receives a single LLM call, which scores it on a scale from 0 to 1. Only scores at or above 0.5, or the target's judge.threshold, are retained for further processing. By default, the system uses OpenRouter with the free model openrouter/free, requiring only an API key for authentication. The judge processes a limited number of requests per minute, shared across all processes, and on encountering a 429 error, it waits for the Retry-After header before resuming. The system ensures that secrets, page content, and search results are never exported, with only the host of a webhook URL being shared externally. This design emphasizes privacy and control, allowing users to self-host and manage their monitoring infrastructure securely.
Sources and reporting notes
Based on published source material. No independent hands-on testing is claimed.