Skip to content

Firebase, from the comfort of your terminal.

LazyFire is a keyboard-driven terminal app for Firebase. Browse projects, databases and Firestore documents, run queries, and read Cloud Functions logs without opening the console.

brew install marjoballabani/tap/lazyfire
Read the guideGitHub
lazyfire

Projects

  1. * Shop (prod)
  2. Shop (staging)
  3. Analytics (dev)
1 of 3

Collections - Functions - Storage >

  1. users
  2. products
  3. reviews
  4. carts
1 of 4

Tree

0 of 0

Details

─── Project Info ───​
​
ID: shop-prod​
Name: Shop (prod)​
​
Press Space to select project​

Commands

✓ auth Using local Firebase/gcloud authentication
space selectS scan/ filterr refreshj/k movetab panels? helpshop-prod

This is a working replica with sample data. Click it and try tab j kspace enter 0 and ?. esc gives the page its keys back.

Everything is one key away

No menus to learn. The bar at the bottom shows the keys for the panel you are in.

Move around

tabshift+tab
Cycle through Projects, Databases, Collections and Tree.
1to4
Jump straight to a panel. 0 jumps to the document.
?
List every key that works where you are, and run one from the list.

Browse data

space
Pick a project or database, open a collection, expand a document.
/
Filter any list as you type. In a document, filter lines or run a jq query.
F
Build a Firestore query with where clauses, ordering and a limit.

Inspect

y
Copy the value under the cursor. c copies the whole document as JSON.
T
Show timestamps as readable dates next to the raw values.
S
Check every collection against Firestore size, depth and index limits.

Beyond Firestore

[]
Switch to Cloud Functions and their logs, Storage, Auth users, rules and indexes.
L
Show only function logs at or above a severity.
All keybindings

Install

LazyFire uses your existing firebase login. There is nothing else to set up.

Homebrew
brew install marjoballabani/tap/lazyfire
Go
go install github.com/marjoballabani/lazyfire@latest
Binaries
macOS, Linux and Windows builds are on the releases page.
Installation guide

Firebase Console or LazyFire

TaskFirebase ConsoleLazyFire
Switch projectsClick through menus1, then j/k and space
Switch databasesPick one on every page2, then space
Open subcollectionsClick, wait, click againspace
Check document limitsNot availableShown with every document
Scan collection healthOne document at a timeS
Query documentsWeb formF
Copy a document as JSONSelect, copy, reformatc
Read function logsSeparate Cloud Logging page] to the Logs tab