selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Evidence logo

Self-host Evidence

@evidence-dev/evidence@40.1.8

BI as code: SQL and markdown reports you serve yourself

BetaOpen CoreMIT
curl -fsSL https://evidence.studio/install.sh | sh
Updated4 months ago
LanguageTypescript
Setup difficultyModerate
Stars
7 101
Port
3000 (evidence serve production server (and the local dev server); set with --port or PORT)
Docker
evidencedev/serve
Evidence screenshot 1Evidence screenshot 2Evidence screenshot 3Evidence screenshot 4Evidence screenshot 5Evidence screenshot 6Evidence screenshot 7Evidence screenshot 8Evidence screenshot 9Evidence screenshot 10

What is Evidence?

Evidence is an MIT-licensed BI-as-code toolkit: every report is a markdown file holding SQL queries plus chart, table and filter components, so analytics live in a repo instead of a click-and-drag builder. A CLI lets you scaffold a project, preview it locally, validate markup, and run SQL against your data. The same project compiles into a static site or is served by evidence serve (port 3000 by default) using the evidencedev/serve image, with queries going straight to your warehouse through Direct connectors configured in connection.yaml — no data sync step. Self-hosted sites are guarded by shared HTTP Basic Auth credentials, can skip auth on a trusted private network, or sit behind an OIDC or SAML identity-aware proxy. Row-level and per-page access rules, user accounts, the browser editor, the AI agents, scheduled delivery and embedding are only available on Evidence Studio, the commercial cloud service that runs on top of the open-source core.

Evidence alternatives

All self-hosted alternatives to Drag-and-drop business intelligence tools →

Should you self-host Evidence?

Evidence scores 69/100 on selfhost.directory (how scoring works) and ranks #5 of 15 in Business Intelligence. It has 7 101 GitHub stars, +123 in the last 30 days.

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is MIT-licensed and written mostly in Typescript.

Its closest alternative on selfhost.directory is Superset (88/100, 75 452 stars). It scores higher overall, so compare the two before you pick. See Evidence vs Superset side by side.

Features

  • AI analytics agentDeveloper and viewer agents are Evidence Studio features, not available in self-hosted deployments.
  • Auth-disabled private-network mode
  • Direct warehouse connectors
  • Git-based workflow with CI checksThe PR checks, preview links and publish history are part of Evidence Studio.
  • HTTP Basic Auth
  • Local development server
  • Reports as SQL and Markdown code
  • Reusable custom components
  • Self-hosted production server
  • SQL modelsThe docs table marks SQL models as Studio-only for self-hosted deployments.
  • Static site output
  • Version-controlled theming

Evidence README

Evidence Logo

Evidence is an agent-ready tool for creating reports using your data

GitHub Repo stars Join Slack

How It Works

Evidence is an open-source, code-based alternative to drag-and-drop business intelligence tools.

  • Create reports in code using SQL and markdown
  • Develop using Evidence's Agent, or on your local machine with Claude Code / Cursor etc
  • Self-host or publish on Evidence Studio

Install

macOS / Linux
curl -fsSL https://evidence.studio/install.sh | sh
evidence help
Windows
irm https://evidence.studio/install.ps1 | iex
evidence help

Create a Project

evidence init my-project
cd my-project
evidence dev

Publish

Publish your project on Evidence Studio for hosted reports, or self-host the generated static site on your own infrastructure. See the publishing docs for options.

Join the Evidence Community

Join our Slack channel to get involved in the community's discussion, share what you're working on, or ask for help.

Contributing

Contributions are welcome — see CONTRIBUTING.md for how pull requests are reviewed and merged.

License

Evidence is licensed under the MIT license. See LICENSE for details.

How to install Evidence

Install Evidence with Docker

Environment variables
EVIDENCE_BASIC_USER, EVIDENCE_BASIC_PASSWORD, EVIDENCE_AUTH_DISABLED, PORT, EVIDENCE_TELEMETRY_DISABLED
  1. Add a Dockerfile:

    FROM evidencedev/serve:latest
    COPY --chown=evidence:evidence . /project
    
  2. Move secrets out of connection.yaml, replacing them with ${VAR} environment references

  3. Commit connection.yaml (it is gitignored by default)

  4. Add environment variables

  5. Start the server

Official image evidencedev/serve; tested guides exist for Vercel, Render, Fly.io and Railway.

How to configure Evidence

  • EVIDENCE_BASIC_USERHTTP Basic Auth username for the self-hosted server (required unless auth is disabled)
  • EVIDENCE_BASIC_PASSWORDHTTP Basic Auth password; change it and redeploy to force viewers to re-authenticate
  • EVIDENCE_AUTH_DISABLEDSkip authentication entirely on trusted private networks

    values: true

  • PORT3000Port the server listens on (default: 3000)
  • EVIDENCE_TELEMETRY_DISABLEDTurn off the anonymous startup event and daily heartbeat

    values: 1

More in Business Intelligence

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…