Skip to main content

A command-line bookmark manager for your terminal commands

Project description

Terminal Bookmarks

A command-line tool that helps you save, organize, and quickly access your most-used terminal commands. Never forget complex commands or waste time typing them again!

Screenshots

tb tb list

Demo Video

Demo Video

Features

  • Save commands with descriptions and tags
  • Quick search and filtering
  • Organize with tags
  • Execute saved commands easily
  • Works on Windows, macOS, and Linux

Quick Start

# Clone and install
git clone https://github.com/hackclub/terminalcraft.git
cd terminalcraft/submissions/terminal-bookmarks

# Set up virtual environment
# Windows:
python -m venv venv
.\venv\Scripts\activate

# macOS/Linux:
python3 -m venv venv
source venv/bin/activate

# Install package
pip install -e .

Basic Usage

# View the home page
tb

## Help commands
tb --help

# Add a bookmark
tb add -t "Git Status" -c "git status" --tags git,status

# List bookmarks
tb list

# Run a bookmark
tb run "Git Status"

# Search bookmarks
tb search git

Command Reference

Adding Bookmarks

# Basic bookmark
tb add -t "Title" -c "command"

# With description and tags
tb add -t "Git Push" -c "git push origin main" \
       -d "Push to main branch" --tags git,workflow

Listing Bookmarks

# List all
tb list

# Detailed view
tb list --detailed

# Filter by tag
tb list --tag git

Running Bookmarks

# By title
tb run "Git Status"

# By ID
tb run abc123

Managing Bookmarks

# Edit a bookmark
tb edit <id> -t "New Title"

# Delete a bookmark
tb delete <id>

Configuration

Bookmarks are stored in:

  • Windows: %APPDATA%\terminal-bookmarks
  • macOS: ~/Library/Application Support/terminal-bookmarks
  • Linux: ~/.config/terminal-bookmarks

Supported Platforms

  • Windows
  • macOS
  • Linux

Global Options

  • --help: Show help message
  • --version: Show version information

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

terminal_bookmarks-1.0.1.tar.gz (25.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

terminal_bookmarks-1.0.1-py3-none-any.whl (28.7 kB view details)

Uploaded Python 3

File details

Details for the file terminal_bookmarks-1.0.1.tar.gz.

File metadata

  • Download URL: terminal_bookmarks-1.0.1.tar.gz
  • Upload date:
  • Size: 25.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.0

File hashes

Hashes for terminal_bookmarks-1.0.1.tar.gz
Algorithm Hash digest
SHA256 50841fcc95709a3cd043df58c93bb0b67fa82ed14bf404bbdc8a514cb674c1b5
MD5 b8c09e7937b90b43bcadde828c48a776
BLAKE2b-256 42fef568bccd96a5756f587f8f90ced79d0ffae743f7f6f1cfa867c84c6d5a10

See more details on using hashes here.

File details

Details for the file terminal_bookmarks-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for terminal_bookmarks-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 affc92f7126ba0b57922da919d070d9690e2f98465fad6e792686c45f8171e93
MD5 b4666f103ee9a77c84546db11e5fe778
BLAKE2b-256 8e92f5b585dbc1a2da4a87d76a6fc0316abb50a46bd7b27e37d77752eed0d9b7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page