WIP
Gooseberry combines Hypothesis (a tool to annotate the web) with mdBook (a tool to create a book from markdown files) in a command-line interface to generate a knowledge-base wiki without you having to actually type your knowledge out.
See the releases
gooseberry
via System Preferences (necessary in Catalina at least)chmod +x gooseberry
See CONTRIBUTING.md for an in-depth explanation of how Gooseberry works and what could be improved.
So yes, knowledge-base tools are old hat and a dime a dozen and we really have no excuse to not have a nice big tangled folder of markdown files filled with our overflowing wisdom. But after spending all day writing code and papers and tasks, it just isn't fair that our reading time also needs to be typing time to get all that knowledge down. And if we don't type things out our fancy knowledge-base is bare, empty, and sad.
In comes Gooseberry - a tool to build a knowledge base from highlighting and annotating passages while reading news articles, blog posts, papers, what have you. Gooseberry combines the ease of annotation offered by Hypothesis, bulk tagging and organization support in the command line, and a wonderfully interlinked wiki powered by mdBook so we'll never have knowledge-base starting troubles again!
gooseberry sync
to download all your latest highlights and annotations.gooseberry tag --from "9a.m." topic
to tag everything you've read this morning with the topic you were looking into.
This subcommand is super flexible. You can tag something by a website, so that all annotations from subtopic B's wikipedia page are tagged as B for instance.
Or just open up search to fuzzy search your annotations and add tags to everything matching a search query.
Tags are very nestable, definitely make use of this - e.g. all annotations today may be about topic A, five of them are also subtopic B etc.gooseberry make
to add all this new tagged information to your knowledge base.Here's an example. Today I read and annotated three articles about insects: this Nautilus article titled "We need insects more than they need us", this publication about honey bees and pesticides, and an Atlantic article about the "anternet".
I synced and tagged these annotations:
Then ran gooseberry make
and mdbook serve
to open the generated wiki in a browser.
The front page has a graph of all tags, how they relate to each other, and how many notes are in each:
Each tag is clickable and leads to a page of annotations associated with it:
Annotation text is just markdown so text formatting, LaTeX, pictures etc. goes too!
Each annotation also links back to the position in the website that you got it from, if ever you feel like you're missing context.
The last line in a tag's page lists related tags. TODO: You can also link annotations to each other directly, they'll show up as footnote-style links.
mdBook
functionality you end up with a CLI to quickly tag your Hypothesis annotations.mdBook
listing all your annotations. Because Discworld will never let me down when it comes to names: Dis-organizer Mark 5, the Gooseberry