Coder Social home page Coder Social logo

jot's Introduction

jot

CI

Hosted on SourceHut but also hosted on Github for convenience. If you're curious why SourceHut is neat check out this.

Install

If you don't have Rust installed an easy way is to use rustup.

Build and install with:

cargo install --path .

Initialize jot by running:

jot

If you want to customize where the journal files live edit $HOME/.config/jot/config.toml and give it a valid path to your journal path (you'll have to create it for now, absolute paths please).

I like putting my journal in a Syncthing (Dropbox would also work) folder so my config looks like this:

journal_path = "/Users/brian/Sync/jot"

Requirements

Make sure ~/.cargo/bin is in your $PATH or add the following to .bashrc:

source $HOME/.cargo/env

Usage

Notes

Make a note:

jot note

View all notes:

jot notes

Todos

Make a todo:

jot todo

View all todos:

jot todos

Complete a todo (where kw is the id):

jot complete kw

Tags

Any note/todo/reminder can have tags, a tag is just a word preceeded by the @ symbol.

List tags:

jot tags

Other

Dump everything:

jot cat

Reverse stuff:

jot cat --reverse
jot todos -r

Filter any of the view commands by tags:

jot notes -t @music

Grep any of the view commands:

jot todos -g birthday
jot cat -g "foo.*?bar"

Edit a note/todo/reminder (where bt is the id):

jot edit bt

Delete a note/todo/reminder (where 'fq' is the id):

jot delete fq

Start a fuzzy interactive search:

jot search

Configuration

Jot will use your default $EDITOR to determine how notes should be written/edited. To update this, add the following to your .bashrc and update vim to be your desired editor:

export EDITOR='vim'
export VISUAL='vim'

Ideas

  • Just have notes and maybe todos. Todos honestly can be tags.
  • Allow for titles? Idk maybe, if we can somehow autocomplete tags and titles and create links that could be cool.
  • Allow for journal file to be broken apart into separate files.
  • Interactive graph traversal
  • Custom titles that are the IDs so then it is easy to refer.

jot's People

Contributors

brian-dawn avatar

Watchers

James Cloos 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.