Skip to main content

Bookmark Organizer

A tool to organize your Chrome bookmarks using LLMs and quick sort rules. It can categorize, tag, clean, and deduplicate your bookmarks automatically.

Features

  • Automatic categorization / support for hierarchical categories from input file of categories.
  • Tag generation for better organization
  • Importance rating for bookmarks
  • Support for hierarchical categories
  • Fast mode for quick processing
  • Faster mode using URL pattern matching -- recommended
  • Merge mode for combining multiple bookmark sources
  • Deduplication of bookmarks based on URLs and titles
  • Filtering of utility URLs and local files
  • Chrome-compatible output formats (JSON and HTML)

Installation

pip install bookmark-organizer

Configuration

Via command-line arguments, environment variables, or a .env file.

Environment Variables

Create a .env file in your project directory or in the package directory with the following variables:

API_KEY=your_api_key_here
BASE_URL=http://your-llm-service-url
MODEL=your_model_name

Command Line Arguments

bookmark-organizer [options]

Options:

  • --output-dir: Directory to store organized bookmarks (default: organized_bookmarks)
  • --replace: Replace the original Chrome bookmarks file
  • --html-file: Path to Chrome bookmarks HTML export file(s) (comma-separated for multiple files)
  • --categories-file: Path to TSV file containing bookmark categories
  • --keep-utility: Keep utility URLs like Google search results
  • --chunk-size: Number of bookmarks to process in each batch (default: 5)
  • --fast: Enable fast mode (larger chunks and simplified categorization)
  • --faster: Enable faster mode (uses URL pattern matching) -- really recommended
  • --merge: Merge inputs from multiple sources
  • --api-key: API key for the LLM service
  • --base-url: Base URL for the LLM service
  • --model: Model name to use

Configuration Priority

  1. Command-line arguments (highest priority)
  2. Environment variables
  3. .env file in current directory
  4. .env file in package directory (lowest priority)

Usage

Basic Usage

bookmark-organizer

This will process your Chrome bookmarks and organize them in the organized_bookmarks directory.

Using HTML Export

bookmark-organizer --html-file bookmarks.html

Merging Multiple Sources

bookmark-organizer --html-file bookmarks1.html,bookmarks2.html --merge

Fast Processing

bookmark-organizer --fast

Faster Processing with URL Patterns

bookmark-organizer --faster

Custom API Configuration

bookmark-organizer --api-key your_key --base-url http://your-service --model your_model

Output

The tool generates:

  • Organized bookmarks in JSON format
  • Chrome-compatible HTML export
  • Category-based organization
  • Tags and importance ratings
  • Hierarchical category structure

Requirements

  • Python 3.9+
  • LLM service access (for AI categorization)

License

Beer-ware and MIT License No warrant, liability, or support is provided or implied. Use at your own risk for any purpose whatsoever.

Metadata

Release files for bookmark-organizer 0.1.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 bookmark-organizer 0.1.0
File Size Uploaded
bookmark_organizer-0.1.0.tar.gz 20.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bookmark-organizer 0.1.0
File Interpreter ABI Platform
bookmark_organizer-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 43.8 kB

Release files / bookmark_organizer-0.1.0.tar.gz

Download URL bookmark_organizer-0.1.0.tar.gz
Size 20.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7d274091743e6b0cd8d9444b9466141f08be91f7fce06fa393049c4ee2e2c632
BLAKE2b-256 checksum
How to use checksums
85156f1d1d66dee7668ec0754ed1969546d5d3320209a6f1aed28091a05f9d07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release files / bookmark_organizer-0.1.0-py3-none-any.whl

Download URL bookmark_organizer-0.1.0-py3-none-any.whl
Size 22.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4a56cd875755245ce3c27ccf03a2f8391dbe515c8ba316cea8b71377d17e1a29
BLAKE2b-256 checksum
How to use checksums
3e5e69cfa02479f7b25687b5ef067cc32ed0230d8ad8c115a8419b8c40964525
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release history Release notifications | RSS feed

This release

0.1.0 This release

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