Code Monkey home page Code Monkey logo

bookmark-cleaner's Introduction

Bookmark cleaner

This is a workflow to migrate from Chrome bookmarks to Raindrop (or another service that supports tagging bookmarks).

Bookmarks can be cleaned and/or tagged. Cleaning means removing invalid URLs, i.e. those that don't respond to a HEAD request (redirects are followed and SSL errors are ignored by default). Tagging means adding each element of the path in the nested bookmark hierarchy as a tag on the bookmark.

Steps

  1. Run bookmark cleaner to clean and tag the bookmarks in the Chrome bookmarks JSON file. The default path to the bookmarks file on MacOS is used by default; specify a different argument to --infile for other platforms/locations. By default, URLs are checked to ensure they resolve (i.e. respond to a HEAD request), but this behavior can be disabled with the --no-check-urls option. Invalid bookmarks can be written to a file (using --invalid-file option) and/or opened in the default web browser (using --browse-invalid option).

    python bookmarks.py clean -o Bookmarks.cleaned.json
  2. Use bookmark converter to convert the cleaned and tagged JSON file to HTML format. The resulting HTML file should be importable by any browser or bookmark management service.

bookmark-cleaner's People

Contributors

jdidion avatar

Watchers

 avatar  avatar  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.