Giter VIP home page Giter VIP logo

jit's Introduction

jit

jit[ter] journal script: quickly write a timestamped, tagged log entry.

Usage

Write a random note:

$ jit name-of-some-note

Write a journal entry for a specific project

# jit -p <project-code> -j <journal-name>
$ jit -p 1001 -j firmware-log
โœ… Accessing jit directory '/Volumes/logboek/logs'
new log entry for project code 1001
no file /Volumes/logboek/logs/*2022-10-19_1001.md
New log entry '2022-10-19_1001'
Tags? (csv)

Installation

Requirements

  • bash
  • vim

No installation required, except that you may want to add the jit command to your $PATH variable. How this works depends on your platform. On linux, you should place this snippet in your ~/.bashrc file:

export PATH=$PATH:~/path/to/jit/

Configuration

When you first launch jit, a config file will be created and opened in vim. Make sure that the config file (config.cfg) is filled in correctly. The config file is essentially a small bash script, so make sure to use bash syntax (key=value without spaces in between!).

In the config file you need to set following variables:

Var Description
AUTHOR The name that will be used as the author for each note
LOG_DIR The path to the log dicrectory. All new entries will be stored here
TEMP_DIR A local directory to temporary store entries in case the LOG_DIR is not available. For example if LOG_DIR is on unreachable network storage.

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.