Giter Club home page Giter Club logo

annotation-tools's Introduction

Annotation tools

exporting hypothesis annotations to obsidian (markdown files)

connecting hypothesis and obsidian.md. Inspired by the tutorial from Shawn Graham.

First, get ‘Hypexport’ from https://github.com/karlicoss/hypexport .

Install it with

pip install --user git+https://github.com/karlicoss/hypexport

Then, create a new text file; call it secrets.py and put into it your Hypothesis username and your developer token:

username = "USERNAME"
token = "TOKEN"

Getting annotations

Grab all of your annotations with:

python -m hypexport.export --secrets secrets.py > annotations.json

Creating markdown files

create an out directory for the markdown notes.

mmkdir out

create a .env file and add the date you want to pull annotations from. This environmment variable will be updated every time the function is called.

hypothesis_last_pull="2021-02-25"

Then run python get_hypothesis_notes.py script.


Exporting pinboard notes

add pinboard API key to secrets.py file

pinboard_key = 'username:key-number'

add last pull variable to the .env file, e.g.:

pinboard_last_pull="2021-02-25"

then run:

python get_pinboard_notes.py


to do:

  • add #to-read tag to "read later" pinboard bookmarks
  • think about Maps of Content
  • tag hierarchies
  • tag disambiguation / suggestions / + bundles
  • think about [[links]] between pages (beyond tags)
  • look into images

annotation-tools's People

Contributors

collignon avatar mschrader15 avatar

Stargazers

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