# blockstream/esplora

> esplora is a block explorer web interface for Bitcoin and Liquid, used to browse blocks, transactions and addresses. It runs as a single-page app that reads data from the esplora-electrs HTTP API and displays it in the browser. The project is written in JavaScript and uses rxjs and cycle.js in a reactive, functional style.

Source: https://github.com/blockstream/esplora
Indexed: commit b9cc1ae on 2026-08-11 by Repowise. Facts come from the source and git history, not from the maintainer.

## Facts

- Type: App
- Language: JavaScript
- Stars: 1,272 at index time
- License: MIT
- Code health: 7.4/10, Good
- Last commit: 2026-08-07
- Contributors: 41

## Install

From the README: https://github.com/blockstream/esplora

Clone the esplora repository.
    git clone https://github.com/blockstream/esplora.git

Move into the esplora folder.
    cd esplora

Install the dependencies with npm.
    npm install

Start the development server, which transpiles the code live and serves the interface.
    npm run dev-server

## How it works

The browser application starts at client/src/app.js, and its screens are built from view files such as client/src/views/tx.js, which handles transaction pages. The app sends its requests to the HTTP API set by the API_URL option, which defaults to /api. Translated interface text is kept in the lang directory. The prerender-server directory holds a separate server that produces static HTML for users with JavaScript turned off. contrib/nginx.conf.in shows how a web server should return index.html for missing pages, which a single-page app needs.

- client/src/app.js: entry point
- client/src/components/block-details-card.js: entry point
- client/src/components/block-grid.js: entry point
- client/src/components/block-signatures.js: entry point
- client/src/components/elapsed-time.js: entry point
Modules: client, lang, root, flavors, contrib, prerender-server, test, gitlab. 143 files, 20,292 lines, 367 symbols.

## Code health

- Score: 7.4/10 (Good)
- Rank: #118 of 4,000+ indexed repos
- Hotspots: client/src/views/tx.js, client/src/views/blocks.js, client/src/views/block.js, client/src/views/asset.js, client/src/views/addr.js
- Lowest file: client/src/views/tx.js
- Dead code: none found

## Maintenance

- Last commit 2026-08-07, first commit 2018-11-17, 1,014 commits
- 41 contributors, bus factor 2

## Security

- Security findings are shown to signed-in users at https://repowise.dev/repo/blockstream/esplora/security

## More

- Page: https://repowise.dev/repo/blockstream/esplora
- Ask this codebase: https://repowise.dev/repo/blockstream/esplora/chat
- Docs: https://repowise.dev/repo/blockstream/esplora/docs
- MCP (signs in with Repowise on first use):
    claude mcp add --transport http repowise https://api.repowise.dev/mcp/blockstream/esplora
