GithubHelp home page GithubHelp logo

bookmark_utils's Introduction

Bookmark Utils

A small tool written in Python that de-duplicates bookmarks. Currently works with Firefox JSON bookmark export files.

Warning

As of this commit the tool works only on flat bookmark file structures (i.e. all your bookmarks are in the built in "Other Bookmarks" or "Mobile Bookmarks" folder). This message will self destruct once the tool learns how to traverse and prune nested directories.

Usage

python3 clean.py <bookmark_file>.json

To-Do

  • Support for nested folders (preserve hierarchy)
  • Tree View
    • Done!
  • Automatic file location search (default Firefox path)
    • Firefox stores bookmarks in a sqlite database and backups in a custom JSONLZ4 format. Please use the export function to create files to feed the tool.
  • Backup original list function
    • Script preserves original file instead
  • Rust impl?
    • Maybe one day

Chrome Bookmarks

Chrome only exports bookmarks in HTML format. There is a workaround however to convert to JSON...

  1. Export Chrome bookmark HTML file.
  2. Using Firefox, import bookmarks (optionally into a separate profile).
  3. Export bookmarks from Firefox, choosing JSON format.

The de-duplicated list can be added back into Firefox, exported as HTML, and ingested by Chrome.

bookmark_utils's People

Contributors

meowteusz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.