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.0.tar.gz (25.0 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.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: terminal_bookmarks-1.0.0.tar.gz
  • Upload date:
  • Size: 25.0 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.0.tar.gz
Algorithm Hash digest
SHA256 a02e17223a103a0e7a927b6961d0a5fce0741ef480e000e67f15e9e380ffe54a
MD5 50c7e9609aae5d0456088d3c84e0af46
BLAKE2b-256 e3f464853407d3c8fb64ac7bde081cae6daaf8a339bd9ff3e3ede784b12a92f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for terminal_bookmarks-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5ed09d606754e2b5889770442ee0eb1fab61e02d4538dbe9c22dd4bb845ddc50
MD5 c769bd033021eb63607dfb89c07a7632
BLAKE2b-256 0c5bfad37dc432e4ba84fed8c063957824ddc0298bc034faec473182273f9516

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