Skip to main content

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

Metadata

Release files for chromium-profile-cli 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for chromium-profile-cli 0.3.0
File Size Uploaded
chromium_profile_cli-0.3.0.tar.gz 18.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for chromium-profile-cli 0.3.0
File Interpreter ABI Platform
chromium_profile_cli-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 36.5 kB

Release files / chromium_profile_cli-0.3.0.tar.gz

Download URL chromium_profile_cli-0.3.0.tar.gz
Size 18.2 kB
Tags Source
SHA-256 checksum
How to use checksums
04a20b0a87d802c07f6019707cdd55ee27e883cef580a060572c665358f6061a
BLAKE2b-256 checksum
How to use checksums
c154f46ef72514aa1442a591af4bf5080dd37725577f03fb8e8c68a94a958fb3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / chromium_profile_cli-0.3.0-py3-none-any.whl

Download URL chromium_profile_cli-0.3.0-py3-none-any.whl
Size 18.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6d99da3f68265660fac4312a870fa86ba820f1cf596856283ff7666d01082199
BLAKE2b-256 checksum
How to use checksums
b6752bb7bd9044c3f0e4c554829434201fdcb829a190541e0f0323283be2a37a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page