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.
lazyfire
Projects
- * Shop (prod)
- Shop (staging)
- Analytics (dev)
1 of 3Collections - Functions - Storage >
- users
- products
- reviews
- carts
1 of 4Details
─── 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 keybindingsInstall
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 guideFirebase Console or LazyFire
| Task | Firebase Console | LazyFire |
|---|
| Switch projects | Click through menus | 1, then j/k and space |
|---|
| Switch databases | Pick one on every page | 2, then space |
|---|
| Open subcollections | Click, wait, click again | space |
|---|
| Check document limits | Not available | Shown with every document |
|---|
| Scan collection health | One document at a time | S |
|---|
| Query documents | Web form | F |
|---|
| Copy a document as JSON | Select, copy, reformat | c |
|---|
| Read function logs | Separate Cloud Logging page | ] to the Logs tab |
|---|