@hackage tn4.0.0.0
A simple daily journal program
Categories
License
ISC
Maintainer
peter@harpending.org
Links
Versions
Installation
Dependencies (0)
- aeson >=0.10.0.0
- base >=4.8 && <4.9
- bytestring
- directory >=1.2.3.0
- file-embed
- optparse-simple Show all…
Dependents (1)
@hackage/acme-everything
tn
This is a command-line program for keeping your own journals, written in Haskell and licensed under the ISC license. You can find a copy of the ISC licensein the LICENSE file
History
I've been trying on and off to write this program since 2014, but have never gotten to the point where I've actually had a usable program. Hence, why we're on version 4.0, and I still don't have a usable version yet. Each new major version has been a complete rewrite because the previous version was a disaster.
tn is licensed as such because I originally wanted to use it as a tool
to record the food I was eating. The natural name would be fj, for
"food journal". However, I use the [Colemak keyboard layout][2], and
typing fj is somewhat awkward. Moreover, in 2014, I had only begun
using the Colemak layout. Hitting the key immediately under left index
finger, followed by the key under the right index finder yielded the
sequence tn in Colemak.
Specification
-
tn "some string"records the journal entry to~/.local/share/tn/journal.ymlwith the time.- adding
--stdoutprints the output to stdout - adding
-takes the input from stdin - adding
--stdintakes the input from stdin
- adding
Installing
The version on Hackage is out of date, and also really terrible, so
don't try to cabal install tn just yet. You'll need [git][git-install]
and The Haskell Stack.
git clone https://github.com/pharpend/tn.git
cd tn
stack setup
stack build
I welcome any contributions anyone wants to make. If you find a bug or a feature request, use the [GitHub bug tracker][issues]. If you want to contribute, use the normal method of contributing to projects on GitHub.
Usage
There is no usage yet! Check back later!
Contacting me
You can contact me at peter@harpending.org, or pharpend on FreeNode.