zap

command module
v1.0.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2026 License: AGPL-3.0 Imports: 19 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

zap

Personal file registry for the terminal. zap lets you register important files once, organize them by project, preview them quickly, and reopen them without hunting through directories every time.

zap hero screenshot

Live demo: froesch.dev

Install

Supported platforms: Linux and macOS.

Windows release binaries and installer entrypoints are shipped, but native Windows support is unverified.

Recommended:

curl -fsSL https://raw.githubusercontent.com/LFroesch/zap/main/install.sh | bash

Windows:

./install.ps1
install.cmd

Other options:

go install github.com/LFroesch/zap@latest
make install

Run:

zap
zap --version

What It Stores

Registered files are saved in:

~/.config/zap/zap-registry.json

zap does not move or copy your files. It only stores metadata and paths.

Features

  • Register files with a name, project, path, and description
  • Search across saved file metadata
  • Sort by project, recent, name, or path
  • Preview file content in a right-hand pane
  • Open the file or its parent directory in your editor
  • Edit file metadata or edit the file inline
  • Prevent duplicate registrations and save registry changes atomically

Editor resolution order:

$VISUAL -> $EDITOR -> code

Quick Start

  1. Press N
  2. Fill in the file metadata
  3. Save
  4. Press enter or o to open the selected file

Controls

Key Action
j/k Move
g/G Top or bottom
/ Search
S Change sort
enter, o Open file
O Open parent directory
N Add file
e Edit metadata
E Edit file inline
D Delete
y Copy path
r Refresh
, Open config
? Help
q Quit

License

AGPL-3.0

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
ui

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL