Giter Site home page Giter Site logo

hoishing / playbook2md Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 6 KB

Convert Google Playbook Annotations into Markdown Files

Home Page: https://hoishing.github.io/proj/playbook2md

License: MIT License

Jupyter Notebook 100.00%
google-play-books markdown playbooks

playbook2md's Introduction

Google Playbook Annotations to Markdown

binder py-badge mit black-badge

  • convert ebook annotations(highlights and custom notes) of Google Playbook to markdown files
  • one markdown file per book

๐Ÿ”— source code

Motivation

I am a heavy Google Playbooks user. Why?

  • compare to Amazon, it has much more Chinese titles
  • compare to Taiwan ebook stores, it has much more English titles ๐Ÿ˜‚

In short, it has the largest ebook collection for my reading languages. If I want to use just one provider to centralize my ebooks and annotations, store them online so that I can access them anytime in multiple devices(phone, tablet, laptop...) Playbook is a good choice. Not to mention the price in Playbook often a little lower then others.

After using Zettelkasten with Obsidian as my personal knowledge management system, I think its good to integrate the learning/insights from my previous reading into Obsidian. So I want to extract the annotations from Playbook. Playbook does store them on google docs though, in a format not easy to re-use ๐Ÿคทโ€โ™€๏ธ... So I decided to extract them directly from Google Takeout.

Usage

Download Your Ebook Annotations

  • export ebook annotations for Google Playbook through Google Takeout
  • select json format
  • download the exported annotations as a zip file

Prepare Your Runtime Environment

  • run online with binder
  • or locally with python >= 3.10 + ipykernel in VSCode

Extract Annotations to Markdown

  • set the following in the "params" section of playbook.ipynb:

    • vault: folder path of exported markdown files
    • takeout_zip: path of the zip file downloaded from Google Takeout
  • run all cells of playbook.ipynb

  • markdown files should be generated inside the vault folder

Questions?

Open a github issue or ping me on Twitter twitter-icon

playbook2md's People

Contributors

hoishing avatar

Stargazers

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