@liquidium/tui
v0.1.3
Published
Terminal app for Liquidium authless instant loans.
Downloads
107
Readme
Liquidium TUI
A Bun + OpenTUI terminal app for Liquidium authless instant loans.
Run
Run without installing:
bunx @liquidium/tuiOr with npm:
npx @liquidium/tuiThere is also an unscoped npm alias:
npx liquidium-tuiOr clone locally and start the TUI:
bun install
bun run startThe CLI requires Bun on your machine because the app runs directly on Bun + OpenTUI. npx can download the package, but the executable still uses Bun internally.
If Bun is missing, install it first:
curl -fsSL https://bun.sh/install | bashWhat it does
- Creates authless instant loans with
@liquidium/clientandclient.instantLoans.create(...). - Defaults to borrowing USDC against BTC collateral.
- Shows LTV, liquidation risk, fees, APY, and deposit/repayment targets.
- Stores loan refs locally at
~/.liquidium-tui/loans.json. - Polls saved refs so pending deposits, active loans, repayment processing, and repaid loans show up in the manage tab.
Keyboard basics: Tab cycles controls, arrows move inside the current tab, left/right adjusts the focused LTV control, Shift+Left / Shift+Right jumps by 5%, PageUp / PageDown scroll vertically, Home / End jump the viewport, Enter selects, Esc backs out of inputs/modals, r refreshes, and Ctrl+C or Ctrl+Q quits.
