
Security News
Deno Goes the Way of the Dinosaur
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.
open-local-audit
Advanced tools
Open Local Audit is an open-source website and local presence auditor for small businesses. It turns public website signals into practical reports for outreach, customer education, and implementation work.
Find prospective clients without a Google API key or billing account, from a source checkout:
Requires Node.js 22.19 or newer.
npm install
npm run build
node dist/cli.js start
Keyless discovery uses Overture Places open data and GeoNames city lookup, then reads public business websites for contact details and audit reports. Coverage varies by location; missing website data means unknown, not proof that a business has no website. See the free discovery guide for source attribution, limits, and the four-country benchmark.
start asks for a country, city, category, candidate count, website-audit cap, and a new output directory before running. Repeated discover and start searches can reuse a local business-result cache; the CLI shows its state, source release, and original retrieval time. Use --refresh-cache for a fresh lookup or --no-cache to bypass that cache.
Published CLI. The project can run a single URL audit, an opt-in Playwright-rendered audit with screenshot evidence, optional Lighthouse category scoring, branded customer-facing reports, public contact readiness extraction, a plain-text batch URL list, or a profile-aware CSV batch file, optionally check same-origin links, and produce JSON, Markdown, HTML, PDF, or all standard report formats. Batch runs can use controlled concurrency, write per-site reports, add aggregate insight sections and contact/outreach rollups to the top-level index, and optionally export prospect CSV data for triage. Discovery runs can control Google Places result counts, cap website audits, write summary JSON, merge local review CSVs, explain opportunity scores, enrich outreach and public-contact columns, select a preferred manual outreach channel, and report exact duplicate lead groups plus advisory fuzzy duplicate review candidates. CRM-ready CSV exports can be validated locally before import, lead CSVs can be ranked into local shortlist reports with optional local review-state suppression, local review CSV state can be updated by lead key or shortlist input, and single-site report folders can be packaged for local customer sharing.
Open Local Audit produces evidence-backed mini audits for local businesses. The tool should be useful as open-source software while keeping paid value in implementation, redesign, maintenance, and custom reporting.
commander or cac.zod.cheerio.Install dependencies and run the checks:
npm install
npm test
npm run lint
npm run build
npm run release-check
release-check also packs the package, installs it into a temporary consumer project, verifies the published package version can be resolved, and runs npm audit --omit=dev in that consumer project.
Run the CLI locally:
npm start -- https://example.com --format markdown
After building, run the compiled CLI:
node dist/cli.js https://example.com --format json --pretty
Run the published package:
npx open-local-audit https://example.com --format markdown
Run with an industry profile:
open-local-audit https://example.com --profile dental --format markdown
Supported profiles are generic, dental, beauty, restaurant, contractor, lawyer, clinic, gym, hotel, and auto-service.
Render the page before auditing when static HTML is not enough:
open-local-audit https://example.com --render --format markdown
Capture a rendered homepage screenshot and add it as visual evidence:
open-local-audit https://example.com --screenshot --format all --out-dir reports
--render loads Playwright from the current project. Install it alongside the CLI when needed:
npm install -D playwright
Run Lighthouse category scoring:
open-local-audit https://example.com --lighthouse --format html --out report.html
--lighthouse runs Chrome through Lighthouse and adds performance, accessibility, best-practices, and SEO category scores to the report. It requires a local Chrome or Chromium runtime that Lighthouse can launch.
Write standard report formats to a directory:
open-local-audit https://example.com --format all --out-dir reports
Write an HTML report:
open-local-audit https://example.com --format html --out report.html
Write a branded PDF report:
open-local-audit https://example.com --format pdf --out report.pdf
Apply report branding:
open-local-audit https://example.com --brand-config brand.json --format pdf --out report.pdf
Minimal brand.json:
{
"name": "Example Audit Studio",
"primaryColor": "#123456",
"accentColor": "#2f7d5f",
"footerText": "Prepared for outreach review",
"contact": "hello@example.com",
"signature": "Best regards,\nYour Name\nExample Audit Studio Ltd, company no. 01234567"
}
Brand colors must use six-digit hex values. Branding applies to Markdown, HTML, and PDF reports. signature is optional: when set, monitor ends each client email draft with it, trimmed of leading and trailing blank space (use \n for line breaks), instead of the brand name and contact.
Run a batch audit from a text file:
open-local-audit --input sites.txt --format all --out-dir reports
Run a labeled CSV batch audit:
open-local-audit --input sites.csv --format all --out-dir reports
Run a profile-aware batch audit and write a prospect CSV export:
open-local-audit --input sites.csv --profile dental --export-csv prospects.csv --format all --out-dir reports
Run a focused batch triage index:
open-local-audit --input sites.csv --format all --out-dir reports --segment dental --sort score-asc --top 25
Write the selected batch index to an explicit automation JSON path:
open-local-audit --input sites.csv --format markdown --out-dir reports --summary-json automation/batch-summary.json
Run a controlled parallel batch audit:
open-local-audit --input sites.csv --format all --out-dir reports --concurrency 3
Capture screenshots during batch audits:
open-local-audit --input sites.csv --screenshot --format all --out-dir reports
Batch triage supports --segment <segment>, --min-score <score>, --top <count>, --sort score-asc|severity-desc, and --concurrency <count>. Use --summary-json <path> to write the same selected aggregate batch index as JSON independently of the report format. Batch runs can also write --export-csv <path> for prospect triage. Batch index reports include aggregate average score, profile breakdown, segment breakdown, frequent finding sections, contact rollups, and advisory outreach channel rollups. Batch CSV exports include contact confidence, preferred contact channel, and contactability reason when reports were audited successfully. Use --export-preset crm with --export-csv to write a CRM-ready local import CSV instead of the standard operator CSV.
Every JSON audit report also carries an operator-only dotnetStack object that fingerprints ASP.NET from data the audit already fetched: the final response headers (X-AspNet-Version, X-AspNetMvc-Version, X-Powered-By, Server), Set-Cookie names (never values), and Web Forms, Blazor, and .aspx markers in the page HTML. It reports stack (aspnet-webforms, aspnet-mvc, aspnet-framework, aspnet-core, blazor, aspnet-unknown, or none), legacyFramework (true only for .NET Framework stacks), confidence, an optional frameworkVersion from X-AspNet-Version (the X-AspNetMvc-Version value stays in evidence only), and the matched evidence. IIS or X-Powered-By: ASP.NET alone is reported as aspnet-unknown with low confidence. Standard batch and discovery CSV exports add dotnetStack and dotnetLegacyFramework (yes/no) columns for filtering. The signal makes no extra requests, is not a finding, and does not change scores or the Markdown, HTML, or PDF reports.
Supported CSV columns:
url,label,segment,profile
example.com,Example Clinic,dental,dental
https://example.org/path,Example Salon,beauty,beauty
Manual CSV lead discovery:
open-local-audit discover --input places.csv --provider manual-csv --profile dental --out-dir reports/dental --export-csv leads.csv
The manual-csv provider reads an operator-prepared CSV, resolves supplied website URLs, audits website-present rows through the existing batch pipeline, and writes leads.csv with hasWebsite, websiteUrl, priority, and nextAction. Use --dry-run to create the prospect CSV without auditing websites.
Config-driven local workflow:
open-local-audit workflow --config workflow.json
Preflight a workflow without running it:
open-local-audit workflow --config workflow.json --check
open-local-audit workflow --config workflow.json --check --format json
Terminal output is the default. A ready preflight exits 0, including when it reports warnings; a blocked preflight exits 1. Use --format json for automation, where standard output is one versioned JSON report.
Preflight is read-only: it makes no API or website calls, creates or modifies no outputs, and performs no outreach, uploads, or CRM synchronization. For Google Places workflows it checks only that an API key is present, so it does not display a billing warning because it makes no API call. Filesystem access checks are advisory; workflow execution keeps its write-time containment checks as the authoritative safety boundary.
Plan a workflow without running it:
open-local-audit workflow --config workflow.json --plan
open-local-audit workflow --config workflow.json --plan --format json
--check answers whether a workflow can run. --plan includes that readiness result and explains the successful-path steps and states, artifact paths, declared network capability, and configuration-derived upper bounds. Planning performs no network calls and creates or modifies no files. It does not use a Google query or API key, estimate currency cost, or replace the workflow's authoritative write-time safety checks.
Resume an interrupted workflow from its last verified stage:
open-local-audit workflow --config workflow.json --resume
Resume is explicit and validates workflow-checkpoint.json, the effective configuration, and required managed artifacts before invoking a stage. Completed stages are reused only when their artifacts are unchanged. An incomplete packaging stage reruns packaging for every selected lead.
Minimal workflow.json for a manual CSV run:
{
"version": 1,
"outDir": "./workflow-output",
"discovery": {
"provider": "manual-csv",
"input": "./places.csv",
"profile": "dental"
},
"shortlist": {
"top": 10
}
}
The workflow runs discovery and then shortlisting from one strict JSON configuration. Version 1 is the only supported configuration version. Relative outDir, manual input, and optional review CSV paths resolve from the configuration file directory, so this example reads places.csv beside workflow.json and writes below workflow-output/ beside it.
The workflow owns predictable output paths below outDir: reports/, leads.csv, discovery-summary.json, shortlist.csv, shortlist-summary.json, workflow-checkpoint.json, workflow-summary.json, and workflow-state.json; it also writes review-summary.json when review is configured and packages/ when packageReports is enabled. workflow-state.json is current lifecycle metadata for status inspection, not part of WorkflowManagedPaths or checkpoint outputs. Rerunning the same configuration replaces those managed outputs without deleting unrelated files.
Configuration validation happens before output creation. Invalid configuration or a failed workflow stage returns exit code 1; when execution reaches a managed stage, inspect workflow-summary.json for stage status and output paths. The workflow writes local files only: it does not send outreach, upload reports, or synchronize a CRM. A google-places discovery configuration requires GOOGLE_MAPS_API_KEY and can incur Google Maps Platform billing; the API key is not stored in the configuration.
Inspect the latest persisted state without running the workflow:
open-local-audit workflow --config workflow.json --status
Use JSON for scripts and integrations:
open-local-audit workflow --config workflow.json --status --format json
The status is not-started when no state or checkpoint exists,
running-or-interrupted when the last recorded run was not finished and its
process liveness is unknown, failed after a controlled failure whose failure
state was persisted, completed when every enabled stage succeeds, or
invalid when local state, its
configuration identity, a checkpoint, or required managed artifacts cannot be
trusted.
Status inspection is read-only: it makes no network calls, resolves no API
keys, and does not create or change output files. not-started,
running-or-interrupted, and completed exit 0; failed and invalid exit
1. Before following resume advice from a running-or-interrupted result,
confirm that no workflow process is still active. If a controlled failure cannot
persist its failure transition, status reports the last durable state, which may
be running-or-interrupted; the workflow command still exits 1 for the
underlying failure. Checkpoint correlation gates status resume advice only;
direct workflow --resume validates its v1 checkpoint independently.
Google Places lead discovery:
GOOGLE_MAPS_API_KEY=your-key open-local-audit discover "guzellik salonu Umraniye" --provider google-places --profile beauty --out-dir reports/umraniye-beauty --export-csv leads.csv
Control discovery cost and audit volume:
GOOGLE_MAPS_API_KEY=your-key open-local-audit discover "dis klinigi Kadikoy" --provider google-places --limit 20 --max-audits 5 --summary-json discovery-summary.json --out-dir reports/kadikoy-dental --export-csv leads.csv
Skip previously reviewed leads and keep only stronger opportunities:
open-local-audit discover --input places.csv --provider manual-csv --suppression-list reviewed-leads.csv --min-opportunity-score 90 --dry-run --export-csv leads.csv
Maintain a review queue and duplicate review report across reruns:
open-local-audit discover --input places.csv --provider manual-csv --review-csv review.csv --duplicates-json duplicates.json --dry-run --export-csv leads.csv
Write a CRM-ready local import CSV:
open-local-audit discover --input places.csv --provider manual-csv --dry-run --export-csv crm-leads.csv --export-preset crm
Validate a CRM-ready local import CSV:
open-local-audit validate-export --input crm-leads.csv --preset crm
open-local-audit validate-export --input crm-leads.csv --preset crm --format json
validate-export checks the local CSV shape before a manual import. It reports missing CRM columns, missing companyName, missing website, missing leadKey, duplicate leadKey values, low or empty contact confidence, and rows that still need manual contact review. Markdown output is the default; JSON is available for automation. Any issue returns exit code 1, while a clean file returns exit code 0.
Create a local lead shortlist from a discovery or CRM CSV export:
open-local-audit shortlist --input leads.csv --out shortlist.md --top 20
open-local-audit shortlist --input leads.csv --out shortlist.md --min-opportunity-score 80
open-local-audit shortlist --input leads.csv --sort score-desc --out shortlist.md
open-local-audit shortlist --input leads.csv --out shortlist.md --summary-json shortlist-summary.json
open-local-audit shortlist --input leads.csv --segment dental --priority high --contact-confidence High --out shortlist.csv --format csv
open-local-audit shortlist --input leads.csv --preferred-contact-channel email --out shortlist.json --format json
open-local-audit shortlist --input leads.csv --exclude-review-status deferred --out shortlist.json --format json
open-local-audit shortlist --input leads.csv --require-website --out shortlist.json --format json
open-local-audit shortlist --input leads.csv --missing-website --out shortlist.json --format json
open-local-audit shortlist --input leads.csv --unreviewed --out shortlist.json --format json
open-local-audit shortlist --input leads.csv --reviewed-before 2026-06-20 --out shortlist.json --format json
open-local-audit shortlist --input leads.csv --require-contact --out shortlist.json --format json
open-local-audit shortlist --input leads.csv --missing-contact --out shortlist.json --format json
open-local-audit shortlist --input leads.csv --require-report --out shortlist.json --format json
open-local-audit shortlist --input leads.csv --missing-report --out shortlist.json --format json
open-local-audit shortlist --input leads.csv --review-csv review.csv --review-status pending --out shortlist.json --format json
open-local-audit shortlist --input crm-leads.csv --out shortlist.json --format json
open-local-audit shortlist --input crm-leads.csv --out shortlist.csv --format csv
open-local-audit shortlist --input leads.csv --review-csv review.csv --out shortlist.md
open-local-audit shortlist --input leads.csv --out shortlist.md --top 10 --pitch-brief pitch-briefs.md
--pitch-brief also writes Markdown pitch notes for every shortlisted lead. Each brief reads the lead's JSON audit report (the reportPath column is resolved from --reports-dir, by default the reports folder next to --input, or the input's own folder when there is none, as in start output) and lists up to three findings a business owner would notice, in a fixed order that puts broken or placeholder sites, security warnings, search blockers, and missing mobile contact actions first. Each point has a plain-language reason, the audit evidence, and the fix. The brief also suggests an offer (starter website, quick-fix sprint, or no pitch), repeats the lead's shortlist reasons and contact channel, and ends with a checklist: re-check every point on the live site, confirm uncertain identities and chain or location flags, check the business's legal form and local email rules (for example UK PECR) before a cold email, and include an opt-out. Briefs are notes for writing your own outreach; nothing is sent. Chain and location checklist items rely on the opportunityReasons column of a standard discovery export, so a CRM-preset input does not get them.
shortlist ranks local CSV rows by opportunityScore, priority, contactConfidence, score, and company name. Use --sort opportunity-desc|score-desc|company-asc|last-reviewed-asc to change the ranking mode before top-N selection. Use --summary-json to write a separate automation summary with counts and selected lead identifiers. Use --require-website to keep only rows with a website, --missing-website to keep only rows without a website, --unreviewed to keep only rows whose normalized lastReviewedAt is empty, --reviewed-before YYYY-MM-DD to keep only valid date-only or explicit-zone ISO review timestamps strictly earlier than a valid calendar threshold, --require-contact to keep only rows with contact confidence above None, --missing-contact to keep only rows with contact confidence set to None, --require-report to keep only rows with a report path, and --missing-report to keep only rows without a report path. Equal, blank, invalid, and zone-less review timestamps do not match --reviewed-before. Use --min-opportunity-score to keep only stronger local opportunities. Use --segment, --profile, --priority, --contact-confidence, and --preferred-contact-channel for case-insensitive exact focus filters; supplied filters, including review-date filters, are combined with AND semantics. Use --review-status to keep only active leads with a matching review status after completed or suppressed review rows have been removed, or --exclude-review-status to remove a matching active review status from the local report. Filtering runs after review-state suppression and before sorting and top-N selection. With --review-csv, the command matches review rows by leadKey, normalized website, or company label; skips rows marked rejected, contacted, not-fit, not_a_fit, do-not-contact, or suppressed; and carries active reviewStatus, reviewReason, and lastReviewedAt values into Markdown, JSON, and CSV reports. Markdown output is the default; JSON is available for automation; CSV is available for spreadsheet review. The command only reads local CSV files and writes a local report. It does not mutate source files, call APIs, send outreach, or sync to a CRM.
Update local review state by lead key:
open-local-audit review --review-csv review.csv --lead-key url:https://lead.test --status contacted --reason "Email sent"
open-local-audit review --review-csv review.csv --lead-key url:https://lead.test --status in-review --reviewed-at 2026-06-24T09:00:00Z
open-local-audit review --review-csv review.csv --input shortlist.csv --status in-review --reason "Selected from shortlist"
open-local-audit review --review-csv review.csv --input shortlist.json --status qualified --dry-run
open-local-audit review --review-csv review.csv --summary --summary-json review-summary.json
open-local-audit review --review-csv review.csv --summary --stale-before 2026-06-20
review updates the exact leadKey row in a local review CSV, or appends a new row when the key is not present. Use --input with a shortlist CSV or JSON file to update every row that has a leadKey; duplicate and blank keys are skipped. Use --dry-run with --input to preview added and updated counts without writing the review CSV. Use --summary to print local queue counts by status, reviewed/unreviewed rows, invalid review dates, and oldest/newest review timestamps without updating the CSV. Use --stale-before YYYY-MM-DD with summary mode to count rows reviewed before a strict calendar date. Use --summary-json to write the same summary for automation, including actionableLeadKeys for the deduplicated queue and actionableLeads for each lead key with one or more unreviewed, invalid-reviewed-at, or stale reasons; unreviewedLeadKeys for rows without review dates; invalidReviewedAtLeadKeys for invalid review dates; and staleLeadKeys when stale rows have lead keys. The command preserves existing columns, adds missing leadKey, reviewStatus, reviewReason, and lastReviewedAt columns, and accepts new, pending, in-review, qualified, contacted, rejected, not-fit, do-not-contact, or suppressed. --reviewed-at defaults to the current time and is written as an ISO timestamp. The command only mutates the supplied local review CSV when summary mode is not used. It does not change lead source files, call APIs, send outreach, or sync to a CRM.
Package an existing single-site report folder for local customer sharing:
open-local-audit package-report --input reports/example-com --out packages/example-com
package-report reads open-local-audit-report.json from the input folder, copies available JSON, Markdown, HTML, and PDF report artifacts into reports/, and writes README.md, next-actions.md, and manifest.json. It is local file packaging only; it does not upload reports, send outreach, or sync to a CRM.
Compare a later audit of the same site with an earlier one to show progress:
open-local-audit compare reports/before/example-com reports/after/example-com --format html --out progress.html
compare reads two JSON reports, either as files or as report directories containing open-local-audit-report.json, and matches findings by rule id. It lists fixed issues, issues that are still open, and new issues, with category and overall score changes, as Markdown (default), JSON, HTML, or PDF (--out is required for PDF); --brand-config applies report branding. When both audits were run with --screenshot, the HTML and PDF outputs show the homepage screenshots side by side under "Before and After"; the HTML embeds them so the file can be shared on its own. Screenshot paths are read relative to each report's directory, and files outside that directory are ignored. Markdown only says whether each screenshot was captured. Both reports must be for the same site (a leading www. is ignored) and the same profile, and the earlier report must come first. Rules added in a newer release appear as new issues, so compare reports produced by the same Open Local Audit version when the result goes to a customer. Run both audits with the same options too: a finding that only some options produce, such as broken links with --check-links, shows as fixed when the later audit skips that check. Comparison is local only and makes no network calls.
Monitor client sites every month with one command:
open-local-audit monitor --input clients.csv --out-dir monitoring --fail-on-alerts
monitor reads a URL list or a CSV with url and optional label and profile columns, audits each site, and keeps every run under <out-dir>/<site>/<run time>/ with JSON, Markdown, HTML, and PDF reports. Run folders are named by UTC time to the millisecond, so a retried run never reuses a folder. The site folder is the host without www., such as clinic.co.uk, plus a short hash when the URL has a path or query, so different sites never share a history; the same site listed twice (for example with and without www.) is rejected. Reuse the same --out-dir each time: a site that has an earlier run is compared with the latest one that still has a readable report, and the run folder gets comparison.md, comparison.html, and a comparison.pdf progress report to send the client, branded with --brand-config; a first run, or a site whose profile or final host changed, records a new baseline. monitor-summary-<run time>.md and .json list every site's score, score change, new and fixed findings, the client PDF (the comparison, or the report on a first run), and the sites that need attention: new high-severity findings since the last run, an HTTPS certificate that fails tls-certificate-valid, a domain that fails domain-expiry, or an audit that failed. One site that fails to audit or save does not stop the others. --fail-on-alerts exits with code 1 when any site needs attention, so a scheduled task can notify you; --profile, --brand-config, and --timeout work as in single audits, and --no-check-domain skips the domain lookup. Each site folder also keeps history.html, rebuilt on every run that audits the site: a branded, self-contained page with a chart of the overall score (and page speed, with --lighthouse) for every check, and a table of each check's score, speed, response time, open issues, fixed and new issues, and certificate and domain problems. It works offline and on a phone, so you can send it to the client or keep it open during a renewal call. The summary links it in a History column (historyPath in JSON), and a run that cannot be compared with the one before it, such as after a profile or host change, shows as a new baseline there too. Static audits now also record how long the page HTML took to load (responseTimeMs in the JSON report and a "Response time" evidence row), and the monitoring summary shows it in a Response column with the change since the last run (responseTimeMs and previousResponseTimeMs in JSON).
Every run folder also gets client-email.md, a plain-text draft for the client with a subject line, the score change, fixed and new issues, certificate and domain status, the top three next steps, the name of the PDF to attach, and a sign-off from --brand-config (signature when set, otherwise name and contact). Edit it, check each point on the live site, and send it from your own mailbox. --lighthouse also runs Lighthouse for each site, so the summary gets a Speed column with the change since the last run and the email reports the page speed; if Lighthouse cannot run, the site is still monitored and the summary notes why. Apart from the site audits, the domain lookups, and Lighthouse, monitoring makes no network calls: reports and drafts stay in local files and nothing is uploaded or sent to anyone.
Between monthly runs, check every day that each site still loads:
open-local-audit monitor --input clients.csv --out-dir monitoring --quick --fail-on-alerts
--quick fetches only each homepage, then reads its HTTPS certificate and, unless --no-check-domain is set, its domain registration. It prints one line per site (OK with the HTTP status and response time, or ALERT with the reason) and writes no reports, comparisons, or history, so the monthly runs stay clean. It only keeps the latest result in quick-status.json and rebuilds the client overview. A site needs attention when it does not load, returns a non-2xx status, or fails the certificate or domain checks. A maintenance, parked, or for-sale page also counts as not loading, even though it answers with HTTP 200. Sites behind a firewall or bot protection that blocks the tool's requests will alert every day. With --fail-on-alerts it exits with code 1, and a scheduled run then shows a desktop notification (see below); nothing is sent anywhere. --lighthouse cannot be combined with --quick.
Every monthly run and every quick check also rebuilds index.html in --out-dir, a client overview for you rather than for clients: one row per client with the latest score and its change, the latest daily check, open alerts (for a client with a daily result, its certificate, domain, and loading alerts come from that newer check), and links to the history page, client PDF, and email draft. Clients that need attention come first.
Schedule monitoring once a month:
open-local-audit monitor --input clients.csv --out-dir monitoring --fail-on-alerts --print-schedule
--print-schedule does not monitor anything. It writes a run script into --out-dir with the same options, absolute paths, and the installed Open Local Audit version pinned, so monthly comparisons keep using the same rules until you regenerate the script after an upgrade. On Windows that is run-monitor.ps1, which the task starts with PowerShell, so paths with spaces, &, %, apostrophes, or non-English letters work; on macOS and Linux it is run-monitor.sh. It then prints the schtasks command (one line for Command Prompt, one for PowerShell, and a warning if the task command would pass Task Scheduler's 261-character limit) or the crontab line that runs the script on the 1st of every month at 09:00, appending its output to monitor.log. It does not create the scheduled task itself. When a scheduled run ends with a non-zero exit code (alerts with --fail-on-alerts, or an error such as npx not being found), the script shows a desktop notification: a Windows toast, or osascript on macOS and notify-send on Linux when available (Linux notifications need a graphical session, which cron jobs often lack, and macOS may hold back notifications from cron until they are allowed in System Settings). The scripts write each run's output to the log when the run finishes. Add --quick to schedule the daily check instead: it writes run-monitor-quick.ps1 or run-monitor-quick.sh, logs to quick.log, and prints a task named "Open Local Audit quick check" that runs every day at 08:00. Each scheduled run downloads the pinned package from the npm registry with npx if it is not cached. The Windows task runs while you are signed in and opens a console window; if the computer is off or you are signed out at the scheduled time, the run waits until the next scheduled time (the next month, or the next day for --quick) unless you start it by hand with schtasks /Run. If npx cannot be found when the task runs, the script writes that to its log (monitor.log or quick.log) and exits with code 1.
The google-places provider is opt-in and requires GOOGLE_MAPS_API_KEY. It uses the official Places Text Search API and requests only places.id, places.displayName, and places.websiteUri. It does not scrape Google Maps, collect reviews/photos/ratings, send outreach, or store raw Places responses. Google Maps Platform billing and quota limits apply to API use, and the CLI prints a billing warning when this provider is selected.
Discovery CSV exports include leadKey, opportunityScore, opportunityReasons, pitchAngle, recommendedOffer, estimatedNeed, outreachPriorityReason, website-derived public contact columns, manual outreach handoff columns, and review columns for local triage. Contact columns are populated only from audited public website HTML and include publicEmail, publicPhone, whatsappUrl, contactPageUrl, socialProfiles, contactConfidence, and contactSource. Handoff columns include preferredContactChannel, outreachAction, and contactabilityReason; they are advisory only and do not send outreach. Duplicate review JSON includes exact duplicateGroups and advisory fuzzyDuplicateGroups with confidence and matching reasons for local operator review. Fuzzy duplicate candidates do not auto-suppress leads, change review status, send outreach, or sync to a CRM. The CRM export preset writes companyName, website, segment, profile, priority, score, opportunityScore, topFinding, contactConfidence, preferredContactChannel, contactabilityReason, publicEmail, publicPhone, contactPageUrl, source, leadKey, and reportPath; it is a local import file only and does not call CRM APIs. A suppression list can reuse a prior discovery CSV or a smaller CSV with leadKey, sourceId, websiteUrl, or label plus optional reviewStatus, reviewReason, and lastReviewedAt columns. Rows marked rejected, contacted, not-fit, do-not-contact, or suppressed are skipped before audits run. --review-csv preserves prior operator decisions and adds new leads as pending. Spreadsheet formula-like cell values are neutralized before export, so values such as phone numbers starting with + may be prefixed for spreadsheet safety.
Discovery also flags leads that look like a chain branch or public body: a website on a public-sector domain (nhs.uk, gov.uk, .gov, police.uk, ac.uk, sch.uk), a website host shared by two or more differently named leads in the same search, or a website URL that is a branch page with two or more path segments (a leading language segment such as /en-gb/ and a trailing index.html are ignored). A flagged lead keeps its row but gets the reason in opportunityReasons and the standard CSV chainReason column, low priority, an opportunity score of at most 20, and a "Skip unless you are targeting the head office" next action. Leads without a website are never flagged, and neither are social, link-in-bio, directory, site-builder, or booking-platform pages such as facebook.com, linktr.ee, sites.google.com, Treatwell, or Fresha, because those hosts give every business its own page.
See Google Maps API key setup for local environment setup.
Check same-origin links and fail CI when high-severity issues are found:
open-local-audit https://example.com --check-links --max-pages 10 --fail-on high --format all --out-dir reports
The first implementation milestone is a CLI that accepts one URL and outputs:
--brand-config.--format all --out-dir.--summary-json.--concurrency.--sort.--summary-json.--require-website.--missing-website.--unreviewed.--reviewed-before.--require-contact.--missing-contact.--require-report.--missing-report.--preferred-contact-channel.--review-csv.--min-opportunity-score.--review-status.--exclude-review-status.--format csv.review.review --summary.review --summary --stale-before.--render.--screenshot.--lighthouse.--fail-on.monitor: re-audits, progress comparisons with the previous run, client PDFs and email drafts with your signature, per-site history pages, a daily quick check, response-time and optional Lighthouse speed tracking, a summary of sites that need attention, a client overview page, desktop notifications for scheduled runs, and a ready-made monthly schedule.--check-domain.Example target command:
open-local-audit https://example.com --format markdown --out report.md
Example report artifacts are available under examples/reports.
--render requires Playwright in the calling project and a working browser runtime.--screenshot uses the rendered audit path, requires --out-dir, and also requires Playwright.--lighthouse requires a local Chrome or Chromium runtime that Lighthouse can launch.--check-domain (on by default in monitor) reads registration data from the registry's RDAP server listed by IANA. Registries without RDAP, such as .tr and .de, and registries that do not publish an expiry date are skipped.--format pdf is supported for single URL audits and requires --out or --out-dir.--brand-config reads local JSON only; it does not fetch remote assets or upload report data.--summary-json writes the selected local aggregate index only and requires --input.--export-preset crm changes CSV columns only; it does not create, update, or sync CRM records.validate-export checks local CSV files only; it does not create, update, or sync CRM records.shortlist ranks local CSV files only; it does not call APIs, send outreach, or sync CRM records.shortlist --sort changes local report ordering only; it does not update source or review CSV files.shortlist --summary-json writes local automation metadata only; it does not update source or review CSV files.shortlist --require-website filters local report output only; it does not update source or review CSV files.shortlist --missing-website filters local report output only; it does not update source or review CSV files.shortlist --unreviewed filters local report output only; it does not update source or review CSV files.shortlist --reviewed-before requires an explicit date threshold and filters local report output only; it does not calculate relative review age or update source or review CSV files.shortlist --require-contact filters local report output only; it does not update source or review CSV files.shortlist --missing-contact filters local report output only; it does not update source or review CSV files.shortlist --require-report filters local report output only; it does not update source or review CSV files.shortlist --missing-report filters local report output only; it does not update source or review CSV files.shortlist --preferred-contact-channel filters local report output only; it does not update source or review CSV files.shortlist --review-csv reads review state for suppression and report context only; it does not mutate the review CSV.shortlist --min-opportunity-score filters local report output only; it does not update source lead files.shortlist --review-status filters local report output only; it does not update source or review CSV files.shortlist --exclude-review-status filters local report output only; it does not update source or review CSV files.shortlist --format csv writes a local spreadsheet review file only; it does not import or sync records.review mutates only the supplied local review CSV by exact leadKey; bulk --input mode reads shortlist CSV or JSON files for lead keys only. review --summary, --summary-json, and --stale-before read local review state only. The command does not update source lead files, call APIs, send outreach, or sync CRM records.package-report packages local files only; it does not upload reports, send outreach, or sync CRM records.--export-csv is supported for batch audits and discovery exports.discover --provider google-places requires GOOGLE_MAPS_API_KEY and may incur Google Maps Platform billing.--limit caps Google Places candidates at 50; it does not paginate beyond one Text Search request.--max-audits limits website audits only; all discovered candidates still appear in leads.csv.--audit-priority missing-contact prioritizes missing source email, then phone; the default source-order preserves existing selection. Standard exports explain each selection and include business–website identity evidence. Conflicting sites contribute no website contacts or audit scores; uncertain matches require manual review. See the free discovery guide.--suppression-list uses exact lead identity matching; source IDs are preferred, then normalized website URLs, then normalized labels.--review-csv is local operator state only; it does not send outreach or sync to a CRM.--duplicates-json reports exact duplicate lead groups and advisory fuzzy duplicate candidates for manual review; it does not auto-suppress rows or update review decisions.--out-dir and cannot be combined with a positional URL.--concurrency values can increase network load against audited sites; use conservative values for prospect batches.Open Local Audit is published under the MIT license on GitHub and npm. Release history is available in CHANGELOG.md and GitHub Releases. Every release runs lint, tests, build, audit, package-content checks, and a fresh consumer install audit through GitHub Actions.
FAQs
Open-source website and local presence auditor for small businesses.
We found that open-local-audit demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.

Security News
Anthropic’s free OSS Scanner uses Mythos and other Claude models to find open source vulnerabilities and send maintainers reports with proposed fixes.

Security News
On Front Lines’ Early Adopters: CISO podcast, Andrew Becherer shares lessons from Datadog, weighs the long-term costs of AI-built tools, and explains how founders can actually gain a CISO’s trust.