• Stars
    star
    126
  • Rank 283,660 (Top 6 %)
  • Language Makefile
  • License
    MIT License
  • Created over 3 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A note-taking tool based on the principles of incremental note-taking, designed for quickly capturing fleeting ideas and growing a knowledge base over time.

Inc(remental) ๐Ÿ“Œ

inc is an incremental note-taking system โ€” it's an experimental, append-only notes app for growing a knowledge base by incrementally adding quick, lightweight notes to a database of ideas rather than managing a complex collection of documents that change arbitrarily. I use Inc to manage the development of Inc itself, using the inc.db.json database in this repository. You can read more about that at the end of the README.

Here's an example interactive session using the Inc CLI.

$ inc
> ls
(no results)
> + My first note #test
> + My second note #test
> You can also add notes without the "+" #protip
> ls
  0 You can also add notes without the "+" #protip now
  1 My second note #test now
  2 My first note #test now
> + Remove notes with "rm"
> rm 1-2
> ls
  0 Remove notes with "rm" now
  1 You can also add notes without the "+" #protip now
>
>
> Here I am, adding a \
> multi-line note, composed of many \
> lines connected with \ characters.
> ls
  0 Here I am, adding a multi-line note, composed of many lines
    connected with \ characters. now
  1 Remove notes with "rm" now
  2 You can also add notes without the "+" #protip now
> @0 #protip #test
> ls
  0 Here I am, adding a multi-line note, composed of many lines
    connected with \ characters. #protip #test now
  1 Remove notes with "rm" now
  2 You can also add notes without the "+" #protip now

Inc, like most of my side projects, is built with the Ink programming language. Inc has no other dependencies at the moment. (Yes, Inc is built with Ink. Naming is hard. I don't know.)

Incremental note-taking

Incremental note-taking is a set of principles I've coined for building a notes app that truly extends your memory. These principles are:

  1. Captured ideas are better than missed ones. No self-respecting โ€œnote-taking systemโ€ should ever allow an idea to escape our minds un-recorded because it took too long, or was too much of a hassle to write it down.
  2. Adding new ideas are better than changing old ideas. When we learn something new, what we learned before doesnโ€™t suddenly change, we have simply learned something new. [...] Just as our memory grows by remember new things rather than โ€œupdatingโ€ old memories, our notes should also grow by incrementally gaining new knowledge, rather than replacing old valuable ideas with more recent ones.
  3. Ideas that canโ€™t be recalled are worse than useless โ€“ effective search is the soul of great notes. [...] A great note-taking system should make it trivial to get ideas out, as well as in.
  4. Time is essential to how we remember, and should be a first-class citizen of our note-taking system. When we learned something isnโ€™t merely arbitrary metadata about some knowledge, but a mental anchor we use to remember nearly everything.

Inc is an experiment to see how austere a manifestation of these ideas could be, while still being functional, useful, and ergonomic. As a result, Inc doesn't act like a traditional note-taking app, where you create notes for each topic and update a note whenever you learn something new. Instead, it acts a lot more like a "log" (as in, for example, a database log), because inc is an append-only notes app. When you want to update your notes, you can only add new entries or add to existing entries; you can't delete old notes.

This might seem strange at first -- how do you update outdated information when you can't delete them from your notebook? The answer is that with incremental notes, a note is less a record of what something is today, and more a log of all the thoughts I've had about something. It turns out that keeping notes this way has lots of nice properties, like having an implicit "edit history" of your ideas.

Lastly, Inc as it is today isn't meant to be the best implementation of incremental note-taking or a complete, user-friendly package. It's an experimental project for me to try to use so I can discover interesting workflows or see errors in my hypotheses. Hopefully, with time and learnings, Inc will change dramatically.

Usage

Inc currently only works as a command-line interactive REPL. With Ink installed, run ./src/main.ink (which I've aliased to inc in my setup) to get the REPL prompt.

$ ./src/main.ink
>

As seem at the top of the README, this REPL is the main way to interact with Inc. We can type in commands, and Inc will execute them. For example, typing ls shows us all the notes we have in the database (in this case, nothing).

> ls
(no results)

Add a note by simply typing your note. If your note might be misinterpreted as a command (lines beginning with # or / have special meaning, for example) we can use the + command to tell Inc that we're trying to add a note.

> This is a note I just added
> + This is another note I wrote!
> ls
  0 This is another note I wrote! now
  1 This is a note I just added now

We can append to an existing note at this point, by targeting a note using its number (for example, 1 from above) and typing more text.

> @1 #important!
> ls
  0 This is a note I just added #important! now
  1 This is another note I wrote! 1m

Another important action is search. We can search our notes for a substring by typing /search query. If we're searching for a hashtag, we can simply type the hashtag we want. In other words, /#todo and #todo commands are equivalent.

> /important
  0 This is a note I just added #important! 1m
> /another
  0 This is another note I wrote! 3m

These are the bare-basics of taking and searching notes with Inc. There are a few more useful commands you'll use on occasion:

  • show N to show the full-length version of a note from a list, if that note is too long to be displayed in full in a list. show takes multiple arguments, so writing show 1-4 and show 1 2 3 4 will both show notes 1, 2, 3, and 4.
  • history prints out your REPL history with normalized formatting.
  • meta will show some aggregate statistics about your notes, along with the location of the current Inc notes database file.
     > meta
     DB path: /tmp/inc.db.json
     Stats: 2 notes, 8 events
    

Setup and installation

In all honestly, you probably won't get much out of installing Inc. It's mostly a personal prototype and experiment at this point, and it's quite buggy and might lose your data. That said... if you must try it:

Inc is an Ink program that runs in your terminal. You can install the Ink programming language by following the instructions on the Ink website, and then clone this repository.

Then ensure Ink is in your path, and run ./src/main.ink to start the Inc REPL.

$ ./src/main.ink
>

By default, Inc should create a file called inc.db.json in your home directory and use it to store your notes. If you'd like to move the file elsewhere, set the INC_DB_PATH environment variable to point to the directory at which you'd like the file to exist. By default, it's assumed to be $HOME in your environment.

Inc, managed with Inc

Future roadmap items, project ideas, and other random development tasks are tracked within the project using Inc itself, in the inc.db.json database in the repository.

For todos and future roadmap ideas, see this database, which you can do using the INC_DB_PATH environment variable.

# from the repository root directory
$ INC_DB_PATH=. inc ls
[...]

Generally, bugs and features are tagged #todo and general future roadmap ideas are tagged #idea. The four principles of incremental notes are also in this database, tagged #principle.

More Repositories

1

monocle

Universal personal search engine, powered by a full text search algorithm written in pure Ink, indexing Linus's blogs and private note archives, contacts, tweets, and over a decade of journals.
JavaScript
1,472
star
2

ink

Ink is a minimal programming language inspired by modern JavaScript and Go, with functional style.
Go
557
star
3

blocks.css

Add some dimension to your page with blocks ๐Ÿš€
HTML
466
star
4

tabloid

A minimal programming language inspired by clickbait headlines
JavaScript
457
star
5

torus

Torus is an event-driven model-view UI framework for the web, focused on being tiny, efficient, and free of dependencies.
JavaScript
321
star
6

revery

A personal semantic search engine capable of surfacing relevant bookmarks, journal entries, notes, blogs, contacts, and more, built on an efficient document embedding algorithm and Monocle's personal search index.
JavaScript
273
star
7

unim.press

A Reddit front-page reader in the style of The New York Times.
JavaScript
244
star
8

oak

An expressive, simple, dynamic programming language.
HTML
231
star
9

polyx

Productivity suite written from scratch in Ink on the backend and Torus on the web
JavaScript
212
star
10

libsearch

Simple, index-free full-text search for JavaScript
JavaScript
159
star
11

merlot

Web based Markdown writing app built with isomorphic Ink and Torus
JavaScript
150
star
12

h12y

The email service for when just "hey.com" isn't enough.
HTML
147
star
13

modelexicon

This AI Does Not Exist: generate realistic descriptions of made-up machine learning models.
CSS
145
star
14

codeframe

The fastest, easiest way to build and deploy quick static webpages
JavaScript
127
star
15

draw

Real-time collaborative whiteboard on the web
JavaScript
126
star
16

histools

A collection of tools for generating data visualizations from browser history data
JavaScript
125
star
17

mira

A place for notes, but for the people I keep in touch with
JavaScript
116
star
18

tinyhumans

A little interactive sandbox for tiny people, tiny thoughts, and their tiny stories
HTML
116
star
19

lucerne

A Twitter reader designed for learning from the Twittersphere, built with Ink and Torus
JavaScript
115
star
20

calamity

Self-hosted GPT playground
CSS
110
star
21

stream

A Twitter-like micro-blog for personal project updates and snippets of thought, written in Oak
CSS
83
star
22

burds

Just some burds, jumpin' around in their own little world.
JavaScript
81
star
23

thingboard

A board of things, anywhere you want on the screen
JavaScript
67
star
24

ycvibecheck

Semantic search across every YC company ever. Vibe check your idea?
CSS
57
star
25

lovecroft

Minimal mailing list manager for static sites, with a simple JSON API
Go
57
star
26

frieden

My personal, read-only public availability calendar
JavaScript
55
star
27

paper.css

Lightweight, modern CSS to add some flair to your web-things ๐Ÿ“œ
HTML
41
star
28

klisp

A Lisp written in about 200 lines of Ink, featuring an interactive literate programming notebook
JavaScript
38
star
29

superstat

Git status + diff across every repo in a directory
Makefile
35
star
30

typogram

Small, minimalistic graphics for powerful ideas in a few words
JavaScript
34
star
31

plume

Small in-memory real time chat server with Go and WebSockets
Go
33
star
32

september

Ink to JavaScript compiler and toolchain, written in Ink itself
JavaScript
29
star
33

yolo

On the yolo page, anything goes... I'll merge any pull request you make to this website.
HTML
28
star
34

x-oak-notebook

Experimental tool for writing dynamic Markdown docs that embed interactive explorable visualizations
HTML
28
star
35

maverick

Web IDE and REPL for the Ink programming language, written in pure Ink on a self-hosted compiler toolchain
JavaScript
27
star
36

pico

Lightweight notepad for ephemeral memos, todos, meeting notes, and more
JavaScript
26
star
37

zone

A URL shortener / note sharing service.
JavaScript
25
star
38

kin

A refined tool for exploring open-source projects on GitHub with a file tree, rich Markdown and image previews, multi-pane multi-tab layouts and first-class support for Ink syntax highlighting.
JavaScript
24
star
39

august

Assembler from scratch written in Ink, supporting ELF on x86_64 and more.
Assembly
23
star
40

codesynth

Generate music from your source code ๐ŸŽน
JavaScript
23
star
41

albatross

A simple to-do list app
CSS
23
star
42

spectre

Sparse autoencoders for Contra text embedding models
Jupyter Notebook
23
star
43

cornelia

Guess that Taylor Swift line <3
JavaScript
22
star
44

hfm

Hugging Face Download (Cache) Manager
Makefile
21
star
45

sistine

A simple, flexible, productive static site generator written entirely in Ink
HTML
21
star
46

shelf.page

An online, public โ€œblog-shelfโ€ for collecting and sharing interesting reads with your audience. What's on your digital shelf?
JavaScript
21
star
47

clozoom

Close your Zoom meeting tabs automatically
JavaScript
20
star
48

carlisle

A minimal template for a Hugo site
CSS
20
star
49

zerotocode

The best place on the web to learn to make stuff with code
HTML
19
star
50

litterate

Generate beautiful literate programming-style description of your code from comment annotations
JavaScript
19
star
51

xin

Xin (์‹ /ๅฟƒ) is a flexible functional programming language with a tiny core, inspired by Lisp and CSP
Go
19
star
52

animated-value

Imperative animation API for declarative UI renderers, like React, Preact, and Torus.
JavaScript
18
star
53

schrift

A more experimental runtime for Ink, focused on perf and instrumentation
Rust
17
star
54

rush

Rush lets you work on many files at once
Makefile
17
star
55

eliza

A modern port of the ELIZA conversational program to pure Ink to run as a command line and in the browser.
CSS
15
star
56

entr

A searchable repository of my personal notes from readings
JavaScript
15
star
57

sounds

A collection of sounds from places I've been
JavaScript
15
star
58

micropress

An Ink library for automatic text summarization
14
star
59

dotink

dotink (.ink) is the Ink programming language's blog, and my general technical blog
HTML
14
star
60

matisse

Gallery of generative art written with Ink
HTML
12
star
61

socialite

Fast social sharing metadata tag generator
JavaScript
12
star
62

traceur

Experimental pathtracing 3D renderer written in Ink
Makefile
12
star
63

tsqdm

TQDM for TypeScript / Deno
TypeScript
12
star
64

xi

A dynamic, stack-based concatenative toy programming language.
Logos
11
star
65

ink-vscode

Support for the Ink programming language in Visual Studio Code
10
star
66

x-oak-klisp

A Klisp (scheme-like flavor of Lisp) implementation in Oak
Vim Script
9
star
67

wintermute

Generating fake blog posts from my blog with a Markov chain
Go
8
star
68

looking-glass

A simple web screenshot API using Puppeteer
JavaScript
8
star
69

lambda

The untyped lambda calculus, implemented in Ink
8
star
70

etch

Dead simple project scaffolding for my commonly used layouts
CSS
7
star
71

oak-syntax-visualizer

Oak syntax visualizer, made for GopherCon 2021
CSS
7
star
72

vanta

Port of thesephist/klisp to pure Go
Go
6
star
73

dotfiles

Config, scripts, rc files ๐Ÿ’ป
JavaScript
5
star
74

ky

A modal text editor
Go
5
star
75

rational-arithmetic

A no-dependency, lightweight JS library for arithmetic with rational numbers
JavaScript
5
star
76

inkfmt

Code formatter for the Ink programming language
Shell
4
star
77

markovify

Using Markov chains to naively generate sequences of words from training samples.
JavaScript
4
star
78

nought

Personal people-manager, what some people might call a personal CRM
HTML
3
star
79

dessi

A quick, simple server-side-includes expander
JavaScript
3
star
80

papyrus

Small, static-site for hosting read-optimized content, like stories or e-books
HTML
3
star
81

codeliner

Generate codelines: like silhouette outlines, but for your source code
3
star
82

inker

Web API to run Ink code on any device ๐Ÿ’ป
JavaScript
3
star
83

state-of-startups-bearx

BearX's State of Startups Report
HTML
3
star
84

web-audio-workshop-2020

Web Audio API Workshop for Hack the Fog and hackswiftly 2020
JavaScript
3
star
85

send-tweet

Small Ink program to send tweets using the Twitter JSON API
2
star
86

korona

Take any JavaScript data and get back a reasonably unique hex or rgb color with an optional alpha channel ๐Ÿ–Œ
JavaScript
2
star
87

strat

Minimal framework for futures, options, and cryptocurrency investments built on the Robinhood (private) API
JavaScript
2
star
88

brandish

Visual branding for humans
JavaScript
2
star
89

hurricane

Zero-configuration, read-only JSON API proxy in front of an Airtable base
Go
2
star
90

traceur-web

Web and JavaScript port of thesephist/traceur
JavaScript
2
star
91

ittr

Small library of iterator-related utility functions for JavaScript
JavaScript
2
star
92

ansi.ink

Ink library for printing with ANSI escape sequences
1
star
93

pandora

A small, HTML5 quiz SPA
JavaScript
1
star
94

generator-vanilla-extension

Yeoman generator for simple chrome extensions
JavaScript
1
star
95

thesephist.github.io

Placeholder for personal website
HTML
1
star
96

pyro

Check if any of the routes in a list of critical routes of an app are failing
Go
1
star
97

sigil

My full-time to-do list and task manager ๐Ÿ”ฅ
JavaScript
1
star
98

notepad

Short bash script to pull up $EDITOR
Shell
1
star
99

talaria

Inward-out gesture recognition in a wearable
Python
1
star
100

blocky-logos

Blocky logos, an exploratory creative project about logo and branding ๐ŸŒ
HTML
1
star