Giter Club home page Giter Club logo

kindler's Introduction

kindler

中文

用于整理 kindle 杂乱无章的 My Clippings.txt 文件,最终按书名输出每本书的笔记。

用法

克隆该仓库:

git clone https://github.com/Shitao5/kindler

将 kindle 设备的 documents 文件夹复制 My Clippings.txt 到这个R项目中,运行 script.R

source("You/path/to/kindler/script.R")

注意事项

  • 使用笔记的位置判定笔记是否重复,该方法不一定精准,可能仍会有重复笔记的情况存在。
  • 文件名(script.R中的 title 变量)中应避免.等特殊字符存在。如存在,可以参照第36-47行的方法更改。

待办

  • 将其制作为 shiny 应用
  • 将其制作为 R 包

English

The goal of kinder is to organize kindle’s cluttered My Clippings.txt file, eventually outputting notes for each book by title.

Usage

Clone this repo:

git clone https://github.com/Shitao5/kindler

Copy My Clippings.txt from the documents folder of your kindle device to this R project.

source("You/path/to/kindler/script.R")

Notes

  • Use the location of the note to determine if the note is a duplicate, this method may not be accurate and there may still be duplicate notes.
  • The file name (the title variable in script.R) should avoid . and other special characters. If they do exist, you can change them as described in lines 36-47.

Todo

  • Make a shiny app
  • Write a R package

kindler's People

Contributors

shitao5 avatar

Stargazers

 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.