#server #on-chain #brk-query

brk_server

A crate that serves Bitcoin data and swappable front-ends, built on top of brk_indexer, brk_computer and brk_query

11 releases

Uses new Rust 2024

new 0.0.12 Apr 2, 2025
0.0.11 Mar 31, 2025
0.0.2 Feb 27, 2025

#13 in #on-chain

Download history 111/week @ 2025-02-19 365/week @ 2025-02-26 407/week @ 2025-03-05 130/week @ 2025-03-12 132/week @ 2025-03-19 61/week @ 2025-03-26

855 downloads per month
Used in 2 crates

MIT license

395KB
10K SLoC

BRK Server

GitHub Repo stars kibo.money License Version Documentation Size Dependency status Chat

A crate that serves Bitcoin data and swappable front-ends, built on top of brk_indexer, brk_computer and brk_query.

The file handler, will serve the website specified by the user if any, which can be no website, kibo.money or custom (which is a blank folder for people to experiment). If a website is specified and the server is ran outside of the brk project and thus can't find the requested website, it will download the whole project with the correct version from Github and store it in .brk to be able to serve to website. This is due to the crate size limit on crates.io and the various shenanigans that need to be done to have a website in a crate.

The API uses brk_query and so inherites all of its features including formats.

Dependencies

~61MB
~1M SLoC