Code Monkey home page Code Monkey logo

bookmarks-cli's Introduction

Google Chrome Bookmarks Explorer CLI

Main Interface

Description

This utility is a command line interface based on Curses to parse your exported Google Chrome bookmarks and give you a means of exploring them by category or selecting random bookmarks to look at.

It aims to give a nice, user friendly interface to actually look at your bookmarks (I never look at mine and I'd like to).

There is functionality to generate tags and descriptions for your bookmarks.

Tags are based upon word frequency of scraped web pages and descriptions are based upon the meta description tag of the scraped web page. The tags and descriptions are not necessarily very good.

Running From Source

Requirements

  • Built with Python 3.10.6
  • Required packages are listed in requirements.txt
  • (OPTIONAL) Pyenv for a virtual environment

Using Make

  1. Clone this repository
  2. (OPTIONAL) Setup your virtual environment
  3. make all will install required libraries
  4. Run the CLI with python main.py

Manually

  1. Clone this repository
  2. (OPTIONAL) Setup your virtual environment
  3. Install required libraries with pip install -r requirements.txt
  4. Run the CLI with python main.py

Usage

  • Run the CLI with python main.py
  • You will need to provide an exported Google Chrome bookmarks file, it can be anywhere in the repository directory (How to export bookmarks from Google Chrome)
  • You will need to build the bookmarks database using the "Build Bookmarks Database" option in the main menu
  • After building the bookmarks database you can use the "Load Bookmarks Database" option in the main menu to explore your bookmarks
  • (Optional) You can generate tags and descriptions for your bookmarks using the "Generate Bookmark Descriptions and Tags" option in the main menu. This can be very slow. But there is a picture of a cat.

HTML Export

Once you have built a database you may export it as a html file, ordered chronologically. Run python export_to_html.py to build bookmarks.html. This is extremely basic and looks terrible. I will make it better eventually.

Limitations

  • Only parses bookmarks from Google Chrome
  • This is based on a structure of bookmarks folders with NO subfolders

TODO

  • Add support for other browsers
  • Add support for subfolders
  • Add cosine similarity recommender system to suggest similar bookmarks
  • Advanced export with some sort of basic css styling and filtering
  • Option to export bookmarks to a browsable HTML file instead of using the CLI

Screenshots

Bookmark Viewer

Generating Tags and Descriptions

Viewing Bookmarks by Category

bookmarks-cli's People

Contributors

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