Skip to main content

CLI tool for accessing Chromium browser data (tabs, history, bookmarks)

Project description

chromium-profile-cli

Command-line tool for accessing Chromium browser data (tabs, history, bookmarks).

Works with Brave, Chrome, and Chromium.

Installation

# Using uvx (recommended)
uvx chromium-profile-cli

# Or install with pip
pip install chromium-profile-cli

First Run

On first run, chromium-profile-cli will automatically detect installed browsers and prompt you to select one:

$ chromium-profile-cli status

🔍 Multiple browser profiles detected:

  1. brave      /Users/you/Library/Application Support/BraveSoftware/Brave-Browser/Default
  2. chrome     /Users/you/Library/Application Support/Google/Chrome/Default

Select a browser [1]: 1

💾 Save as default? [Y/n]: y
✓ Saved to ~/.config/chromium-sync/profile

Commands

Configuration

# Show current configuration
chromium-profile-cli config show

# Interactively select a browser
chromium-profile-cli config set

# Manually set profile path
chromium-profile-cli config set-path /path/to/profile

Tabs

# Show local browser tabs
chromium-profile-cli tabs local

# Show tabs from all synced devices
chromium-profile-cli tabs synced

# JSON output
chromium-profile-cli tabs local --json

History

# Search by text (substring match)
chromium-profile-cli history -q github

# Search by regex pattern
chromium-profile-cli history -p "docs\\.python\\.org"

# Limit results
chromium-profile-cli history -q python -l 50

# Filter by date
chromium-profile-cli history --days 7
chromium-profile-cli history --after 2026-01-01
chromium-profile-cli history --before 2026-02-01

# JSON output
chromium-profile-cli history -q python --json

Bookmarks

# List all bookmarks
chromium-profile-cli bookmarks list

# Search bookmarks
chromium-profile-cli bookmarks search python

# Filter by folder ID
chromium-profile-cli bookmarks list --folder 123

# JSON output
chromium-profile-cli bookmarks search python --json

Status

# Check what data is accessible
chromium-profile-cli status

Environment Variables

Set CHROMIUM_PROFILE_PATH to override auto-detection:

export CHROMIUM_PROFILE_PATH=~/.config/google-chrome/Default
chromium-profile-cli status

How It Works

Reads directly from your browser's local profile files:

  • History: SQLite database
  • Bookmarks: JSON file
  • Synced Tabs: LevelDB (contains tabs from all your synced devices)

No authentication or network requests required.

License

Apache 2.0

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

chromium_profile_cli-0.2.0.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

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

chromium_profile_cli-0.2.0-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

Details for the file chromium_profile_cli-0.2.0.tar.gz.

File metadata

  • Download URL: chromium_profile_cli-0.2.0.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for chromium_profile_cli-0.2.0.tar.gz
Algorithm Hash digest
SHA256 7b4d93d321cc7445ceba0c80aa93debed55efb8e20c4440b711dd9c1da3490ac
MD5 651051763d05498861de7aef0ac83457
BLAKE2b-256 581af9881908bb1f8843b4ccaff9bf380aa18ed1acc9ea3dfe75f605faf01b80

See more details on using hashes here.

File details

Details for the file chromium_profile_cli-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for chromium_profile_cli-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7d28b277d233eac2e17ab90d42b8c0cd54498f0093cdaf7f5c9b181c9ca108c0
MD5 91079682119432e88c3e20d3409d9d55
BLAKE2b-256 38b4793baf622889e156de9b561529a7a473896efb88fca4753dcfb0130443c9

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