Bookmark.py - Effortless Directory Bookmarks for Developers

Solving the Problem of Directory Overload

If you’re a developer like me, you frequently jump between dozens of project folders. Keeping track of long, complex paths in your terminal can be tedious and error-prone. bookmark.py eliminates this friction. It lets you save and jump to directories with ease, all from the command line

Bookmark.py

Features

With bookmark.py, you can save your current directory with a memorable name, making it super easy to jump back later. Want to see all your bookmarks? Just list them—they’re neatly sorted for you. Need to remove one? That’s just a quick command away. You can hop to any saved spot using the simple goto command, pop open directories in Finder if you’re on macOS, or even peek into your bookmarks file in VS Code for some quick edits. It’s all about making your workflow smoother and more enjoyable.

You can also manage all your bookmarks at once—list them in bulk, or clear them out with a single command. Backing up and restoring your bookmarks is a breeze, thanks to handy timestamped snapshots. No need to worry about duplicates either: bookmark.py keeps both names and paths unique for you. And with the automatic setup script, getting started is quick and hassle-free, no matter how you like to work.

Goto

Getting Started

git clone https://github.com/hasinhayder/bookmark.py
cd bookmark.py
./setup.sh
# Reload your shell:
source ~/.bashrc  # or ~/.zshrc

# In your terminal:
cd ~/Projects/MyApp
bookmark          # assigns a friendly name
goto              # choose and jump to any bookmark

You can remove bookmarks, open them in Finder, debug or edit the raw file in VS Code, back up or restore states—all via straightforward commands like bookmark --remove, bookmark --open, bookmark --debug, bookmark --backup, bookmark --restore, and bookmark --flush

bookmark.py is a smart, lightweight, and intuitive command-line tool to manage your workspace. It helps keep your focus on development—not directory paths. Give it a try, and let me know how it fits into your workflow.

Explore the repo → hasinhayder/bookmark.py on GitHub