https://github.com/llppr/flat_bookmarks
The `flatten_bookmarks.py` script extracts all bookmarks from pesky nested folders in an HTML bookmarks file and consolidates them into a single folder.
https://github.com/llppr/flat_bookmarks
automation bookmarks-management browser-tools cli flattener html open-source python-script vscode
Last synced: about 2 months ago
JSON representation
The `flatten_bookmarks.py` script extracts all bookmarks from pesky nested folders in an HTML bookmarks file and consolidates them into a single folder.
- Host: GitHub
- URL: https://github.com/llppr/flat_bookmarks
- Owner: LLPPR
- License: unlicense
- Created: 2025-02-27T21:49:46.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-01T17:41:00.000Z (about 1 year ago)
- Last Synced: 2025-03-01T18:33:12.901Z (about 1 year ago)
- Topics: automation, bookmarks-management, browser-tools, cli, flattener, html, open-source, python-script, vscode
- Language: HTML
- Homepage:
- Size: 1.02 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bookmarksâ™
### Flat Bookmarks
This repository contains scripts and tools for managing and flattening browser bookmarks.
## Flatten Bookmarks Script
### Description
The `flatten_bookmarks.py` script extracts all bookmarks from nested folders in an HTML bookmarks file and consolidates them into a single folder up to a specified directory level.
### Usage
1. Clone the repository:
```sh
git clone https://github.com/LLPPR/bookmarks-management.git
cd bookmarks-management
```
2. Run the script:
```sh
python flatten_bookmarks.py
```
3. Follow the prompts to provide the path to your bookmarks HTML file and the number of directory levels to flatten to. The flattened bookmarks will be saved to `flattened_bookmarks.html`.
### Requirements
- Python 3.x
### License
This project is licensed under the Unlicense.