A tool to organize and categorize bookmarks using AI
Project description
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
- Command-line arguments (highest priority)
- Environment variables
.envfile in current directory.envfile 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.
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 bookmark_organizer-0.1.0.tar.gz.
File metadata
- Download URL: bookmark_organizer-0.1.0.tar.gz
- Upload date:
- Size: 20.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d274091743e6b0cd8d9444b9466141f08be91f7fce06fa393049c4ee2e2c632
|
|
| MD5 |
c8a186054ce09a27f3df0d3fc4093f06
|
|
| BLAKE2b-256 |
85156f1d1d66dee7668ec0754ed1969546d5d3320209a6f1aed28091a05f9d07
|
File details
Details for the file bookmark_organizer-0.1.0-py3-none-any.whl.
File metadata
- Download URL: bookmark_organizer-0.1.0-py3-none-any.whl
- Upload date:
- Size: 22.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a56cd875755245ce3c27ccf03a2f8391dbe515c8ba316cea8b71377d17e1a29
|
|
| MD5 |
4a9706c382f18c4afb1f2a5589f991e2
|
|
| BLAKE2b-256 |
3e5e69cfa02479f7b25687b5ef067cc32ed0230d8ad8c115a8419b8c40964525
|