Something went wrong. Try again.
A terminal UI for Libby libbui.vinnymac.dev
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288<!doctype html><html lang="en" dir="ltr"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>libbui: your library in the terminal</title> <meta name="description" content="libbui is a terminal app for Libby. Browse your shelf, search your library, borrow books, place holds and download what you borrow." /> <meta name="color-scheme" content="dark light" /> <meta name="theme-color" media="(prefers-color-scheme: light)" content="#f7f1e7" /> <meta name="theme-color" media="(prefers-color-scheme: dark)" content="#14110f" /> <meta property="og:title" content="libbui: your library in the terminal" /> <meta property="og:description" content="Use your public library from the keyboard. Try libbui in your browser." /> <meta property="og:url" content="https://libbui.vinnymac.dev/" /> <meta property="og:type" content="website" /> <meta property="og:site_name" content="libbui" /> <meta property="og:locale" content="en_US" /> <meta property="og:image" content="https://libbui.vinnymac.dev/og.png" /> <meta property="og:image:width" content="1200" /> <meta property="og:image:height" content="630" /> <meta property="og:image:alt" content="libbui showing a library shelf of borrowed books in a terminal window." /> <meta name="twitter:card" content="summary_large_image" /> <link rel="icon" href="/favicon.svg" type="image/svg+xml" /> <link rel="apple-touch-icon" href="/apple-touch-icon.png" /> <link rel="canonical" href="https://libbui.vinnymac.dev/" /> </head> <body> <a class="skip" href="#try">Skip to libbui</a>
<header class="masthead"> <a class="wordmark" href="/" aria-label="libbui home"> <img src="/favicon.svg" alt="" width="28" height="28" /> libbui </a> <nav aria-label="Site"> <ul> <li><a href="#install">Install</a></li> <li><a href="#privacy">Privacy</a></li> <li><a href="https://tangled.sh/@vinnymac.dev/libbui" rel="noopener">Source</a></li> </ul> </nav> </header>
<main> <section class="hero" aria-labelledby="hero-title"> <h1 id="hero-title">Your library,<br />in the terminal.</h1> <p class="lede"> libbui puts your <a href="https://libbyapp.com" rel="noopener">Libby</a> shelf in the terminal. Borrow, renew and place holds from the keyboard, then save your ebooks and audiobooks as ordinary files for any reader or player. </p> <p class="lede try-hint">Give it a try</p> </section>
<section id="try" class="stage" aria-labelledby="stage-title" tabindex="-1"> <h2 id="stage-title" class="visually-hidden">libbui, running in your browser</h2>
<div id="window" class="window"> <div class="window-bar"> <span class="lights" aria-hidden="true"><i></i><i></i><i></i></span> <span class="window-title">libbui</span> <span class="window-actions"> <button type="button" id="restart" class="ghost" hidden>Start again</button> </span> </div>
<div class="screen"> <div id="terminal" class="console"></div>
<div id="boot" class="boot"> <p id="boot-line" class="boot-line" role="status">Starting libbui…</p> <noscript><p class="boot-detail">libbui needs JavaScript to run here.</p></noscript> <!-- Books land on the shelf as libbui loads; the meter below says it in words. --> <svg class="shelf" viewBox="0 0 220 96" aria-hidden="true" focusable="false"> <g class="book" data-at="1"> <rect class="slot" x="16" y="34" width="12" height="52" rx="1.5" /> <g class="spine" style="--i: 0; --fall-r: 0deg"><rect x="16" y="34" width="12" height="52" rx="1.5" fill="#f2b84b" /><rect class="band" x="16" y="40" width="12" height="2.5" /><rect class="band" x="16" y="76" width="12" height="2.5" /></g> </g> <g class="book" data-at="11"> <rect class="slot" x="30" y="42" width="10" height="44" rx="1.5" /> <g class="spine" style="--i: 1; --fall-x: 13.05px"><rect x="30" y="42" width="10" height="44" rx="1.5" fill="#ece4d8" /><rect class="band" x="30" y="48" width="10" height="2.5" /><rect class="band" x="30" y="76" width="10" height="2.5" /></g> </g> <g class="book" data-at="21"> <rect class="slot" x="42" y="30" width="13" height="56" rx="1.5" /> <g class="spine" style="--i: 2; --fall-x: 11.69px"><rect x="42" y="30" width="13" height="56" rx="1.5" fill="#86cfc4" /><rect class="band" x="42" y="36" width="13" height="2.5" /><rect class="band" x="42" y="76" width="13" height="2.5" /></g> </g> <g class="book" data-at="31"> <rect class="slot" x="57" y="46" width="9" height="40" rx="1.5" /> <g class="spine" style="--i: 3; --fall-x: 10.52px"><rect x="57" y="46" width="9" height="40" rx="1.5" fill="#f7cd78" /><rect class="band" x="57" y="52" width="9" height="2.5" /><rect class="band" x="57" y="76" width="9" height="2.5" /></g> </g> <g class="book" data-at="41"> <rect class="slot" x="68" y="36" width="12" height="50" rx="1.5" /> <g class="spine" style="--i: 4; --fall-x: 9.1px"><rect x="68" y="36" width="12" height="50" rx="1.5" fill="#f2b84b" /><rect class="band" x="68" y="42" width="12" height="2.5" /><rect class="band" x="68" y="76" width="12" height="2.5" /></g> </g> <g class="book" data-at="51"> <rect class="slot" x="82" y="40" width="10" height="46" rx="1.5" /> <g class="spine" style="--i: 5; --fall-x: 7.87px"><rect x="82" y="40" width="10" height="46" rx="1.5" fill="#ece4d8" /><rect class="band" x="82" y="46" width="10" height="2.5" /><rect class="band" x="82" y="76" width="10" height="2.5" /></g> </g> <g class="book" data-at="61"> <rect class="slot" x="94" y="32" width="14" height="54" rx="1.5" /> <g class="spine" style="--i: 6; --fall-x: 6.51px"><rect x="94" y="32" width="14" height="54" rx="1.5" fill="#f2b84b" /><rect class="band" x="94" y="38" width="14" height="2.5" /><rect class="band" x="94" y="76" width="14" height="2.5" /></g> </g> <g class="book" data-at="71"> <rect class="slot" x="110" y="44" width="10" height="42" rx="1.5" /> <g class="spine" style="--i: 7; --fall-x: 5.41px"><rect x="110" y="44" width="10" height="42" rx="1.5" fill="#f7cd78" /><rect class="band" x="110" y="50" width="10" height="2.5" /><rect class="band" x="110" y="76" width="10" height="2.5" /></g> </g> <g class="book" data-at="81"> <rect class="slot" x="122" y="36" width="12" height="50" rx="1.5" /> <g class="spine" style="--i: 8; --fall-x: 4.05px"><rect x="122" y="36" width="12" height="50" rx="1.5" fill="#ece4d8" /><rect class="band" x="122" y="42" width="12" height="2.5" /><rect class="band" x="122" y="76" width="12" height="2.5" /></g> </g> <g class="book lean" data-at="96"> <g class="spine" style="--i: 9"><rect x="144" y="38" width="11" height="48" rx="1.5" fill="#86cfc4" /><rect class="band" x="144" y="44" width="11" height="2.5" /><rect class="band" x="144" y="76" width="11" height="2.5" /></g> </g> <g class="pile"> <g class="flat flat-1"><rect x="160" y="78" width="46" height="8" rx="1.5" fill="#f2b84b" /><rect class="band" x="165" y="78" width="2.5" height="8" /><rect class="band" x="198.5" y="78" width="2.5" height="8" /></g> <g class="flat flat-2"><rect x="165" y="70" width="38" height="8" rx="1.5" fill="#ece4d8" /><rect class="band" x="170" y="70" width="2.5" height="8" /><rect class="band" x="195.5" y="70" width="2.5" height="8" /></g> <g class="flat flat-3"><rect x="161" y="62" width="42" height="8" rx="1.5" fill="#f7cd78" /><rect class="band" x="166" y="62" width="2.5" height="8" /><rect class="band" x="195.5" y="62" width="2.5" height="8" /></g> </g> <rect class="plank" x="8" y="86" width="204" height="5" rx="2.5" /> </svg> <div id="boot-meter" class="meter" role="progressbar" aria-label="Loading libbui" aria-valuemin="0" aria-valuemax="100" aria-valuenow="0" > <span id="boot-fill" aria-hidden="true"></span> </div> <p id="boot-detail" class="boot-detail"></p> <button type="button" id="begin" class="start" hidden>Start libbui</button> <button type="button" id="retry" class="start" hidden>Try again</button> </div> </div>
<div id="keys" class="keys" role="toolbar" aria-label="Extra keys" hidden> <button type="button" data-key="esc">Esc</button> <button type="button" data-key="tab">Tab</button> <button type="button" data-key="left" aria-label="Left">←</button> <button type="button" data-key="up" aria-label="Up">↑</button> <button type="button" data-key="down" aria-label="Down">↓</button> <button type="button" data-key="right" aria-label="Right">→</button> <button type="button" data-key="enter">Enter</button> </div> </div>
<p id="terminal-help" class="help" tabindex="-1"> <span id="help-lead">Click the window to type.</span> Try <kbd>2</kbd> and search for dune, press <kbd>b</kbd> to borrow it, and <kbd>1</kbd> to find it on your shelf. <kbd>?</kbd> lists every key. <kbd>Ctrl</kbd>+<kbd>]</kbd> leaves the terminal. </p> <span id="announcer" class="visually-hidden" aria-live="polite"></span> </section>
<section id="features" class="pillars" aria-labelledby="features-title"> <h2 id="features-title">Made for readers who live at the keyboard.</h2> <div class="grid grid-thirds"> <article> <h3>Books as files</h3> <p> Ebooks save as EPUB and audiobooks as one chaptered MP3, with no DRM. Open them in any reader or player you like. </p> </article> <article> <h3>Every library card at once</h3> <p> Search all your libraries together and compare availability and waits for a title across every card. </p> </article> <article> <h3>Scriptable</h3> <p> <code>libbui loans --json</code> hands your shelf to your own tools. Every command has documented exit codes. </p> </article> </div> </section>
<section id="privacy" class="pillars" aria-labelledby="privacy-title"> <h2 id="privacy-title">Your reading is your business.</h2> <div class="grid"> <article> <h3>No one watching</h3> <p> libbui talks to Libby and your library and nothing else. There is no telemetry, no analytics, no crash reporting and no account to make. </p> </article> <article> <h3>No card PIN</h3> <p> You sign in with a setup code from the Libby app. The sign-in it keeps is readable only by you and never appears in a log. <code>libbui unpair</code> signs the computer out. </p> </article> <article> <h3>Files you can see</h3> <p> Books, collections and notes live in plain folders on your computer. <code>libbui paths</code> shows exactly where. </p> </article> <article> <h3>Kind to your library</h3> <p> One request at a time, no polling in the background, and it never borrows or returns anything on its own. Your card stays in good standing. </p> </article> </div> </section>
<section id="install" class="install" aria-labelledby="install-title"> <h2 id="install-title">Bring it home</h2> <p> Pair libbui with the Libby app on your phone to see your own cards, loans and holds. You can download ebooks, audiobooks and supported magazines to a folder you choose. </p>
<ol class="steps"> <li> <h3>Install libbui</h3> <p> Build it with Cargo from the source on <a href="https://tangled.sh/@vinnymac.dev/libbui" rel="noopener">Tangled</a>. It needs Rust 1.90 or newer and no other system libraries. </p> <div class="code"> <pre tabindex="0" aria-label="Install command"><code id="install-cmd">cargo install --locked --git https://tangled.sh/@vinnymac.dev/libbui libbui</code></pre> <button type="button" class="copy" data-copy="install-cmd" aria-label="Copy the install command">Copy</button> </div> </li> <li> <h3>Pair with Libby</h3> <p> In Libby, open the menu and choose <strong>Copy To Another Device</strong>. Run <code>libbui</code> and type the eight-digit code. </p> </li> <li> <h3>Save a book</h3> <p> Press <kbd>d</kbd> on a loan. The file lands in a Libby folder inside your Documents, and <code>libbui paths</code> shows exactly where. </p> </li> </ol> <p class="platforms"> libbui runs on Linux, macOS and Windows. The source is on <a href="https://tangled.sh/@vinnymac.dev/libbui" rel="noopener">Tangled</a>. </p> </section> </main>
<footer class="footer"> <p> libbui is free software under the Apache 2.0 licence. <a href="https://tangled.sh/@vinnymac.dev/libbui" rel="noopener">Source on Tangled</a> </p> <p class="fine"> Not affiliated with OverDrive or Libby. </p> </footer>
<template id="unsupported"> <div class="unsupported"> <h3>libbui can’t start in this browser yet</h3> <p> It runs here in Chrome and Edge 137 or newer, Firefox 153 or newer and Safari 27 or newer. You can always <a href="#install">install libbui</a> on your computer. </p> </div> </template>
<script type="module" src="/src/main.ts"></script> </body></html>