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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file chromium_profile_cli-0.3.0.tar.gz.
File metadata
- Download URL: chromium_profile_cli-0.3.0.tar.gz
- Upload date:
- Size: 18.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
04a20b0a87d802c07f6019707cdd55ee27e883cef580a060572c665358f6061a
|
|
| MD5 |
0803bc630d41181d7ac200e8c6551659
|
|
| BLAKE2b-256 |
c154f46ef72514aa1442a591af4bf5080dd37725577f03fb8e8c68a94a958fb3
|
File details
Details for the file chromium_profile_cli-0.3.0-py3-none-any.whl.
File metadata
- Download URL: chromium_profile_cli-0.3.0-py3-none-any.whl
- Upload date:
- Size: 18.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d99da3f68265660fac4312a870fa86ba820f1cf596856283ff7666d01082199
|
|
| MD5 |
7d7cad5fbe59f3992bfc6aed4a931cc0
|
|
| BLAKE2b-256 |
b6752bb7bd9044c3f0e4c554829434201fdcb829a190541e0f0323283be2a37a
|