# Datasette

Datasette is an open source multi-tool for exploring and publishing data.

Canonical page: https://ourlocalhost.com/app/7858/datasette

## Description

Datasette is an open source multi-tool for exploring and publishing data. It takes data of any shape, analyzes and explores it, and publishes it as an interactive website with a full JSON API. It is aimed at data journalists, museum curators, archivists, local governments, scientists, researchers, and anyone else who has data they wish to share with the world.

## Platform availability

Available on 1 of 10 platforms: Any server.

## Health score

77/100 (Good), based on 4 of 5 factors.
- Maintained: 100 (last commit 7 days ago)
- Popular: 81 (11,684 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)
- Security check: 78 (no serious findings, CI, tests, OpenSSF Scorecard 4.5/10)

## Links

- GitHub: https://github.com/simonw/datasette
- Documentation: https://docs.datasette.io/en/stable/
- Official website: https://datasette.io

## Common questions

### Why can't I access Datasette running in Docker from my browser?

The container must be started with `-h 0.0.0.0` so Datasette listens on all interfaces; without it the server only listens inside the container. You also need to mount your database directory with `-v` so Datasette can see the .db files.

### How do I run Datasette behind a reverse proxy that terminates HTTPS?

There's a setting that forces self-referential URLs in the JSON output to always use https, useful when Datasette itself runs plain HTTP but is served to the outside world via a proxy with HTTPS.

### How do I add license and source info to my published Datasette site?

Create a metadata JSON file with fields like title, license, license_url, source and source_url, and pass it to Datasette so the generated site shows that information.

### How do I install plugins for a pipx-installed Datasette?

Use `pipx inject datasette plugin-name` so the plugin lands in Datasette's own isolated environment; installing plugins elsewhere won't work.

## Alternatives

- DB Browser for SQLite: DB Browser for SQLite (DB4S) is a high quality, visual, open source tool to create, design, and edit database files compatible with SQLite.

---
Source: Our Local Host (https://ourlocalhost.com/app/7858/datasette), the self-hosted and open-source app directory.
