Kungsgeten / hypothesis

Import data from hypothes.is into Emacs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hypothesis.el

Import data from hypothes.is into org-mode.

Setup

  1. You need to install request.el in order to use hypothesis.el.
  2. Download hypothesis.el and add it to your load-path. Then set the variables hypothesis-username and hypothesis-token. You can get the token from https://hypothes.is/account/developer
  3. Eventually set the variable hypothesis-archive. It is an org-mode where imported data can be saved. By default it is saved as hypothesis.org in you org-directory.

Usage

  • M-x hypothesis-to-org downloads the 200 newest notations and inserts them into a temporary org-mode buffer.
  • M-x hypothesis-to-archive imports notations into hypothesis-archive. It will import up to 200 notations but will only import notations made after the last import.

Future

There should probably be ways to customize which kind of data to get. Also a generic API could be provided, in addition to the org-mode import.

About

Import data from hypothes.is into Emacs

License:MIT License


Languages

Language:Emacs Lisp 100.0%