schain is a simple habit tracker that lets you keep count of how many days you've been following through an habit.
schain stores the number of days tracked into a file defined by the user. The
user checks in a new succesful day by using the
-k option; calling schain
without options shows the present amount of days tracked and the date of the
$ schain -c 0 demo 2022-06-22: 0 days. $ schain -k demo 2022-06-23: 1 day. $ schain demo 2022-06-23: 1 day.
You may check the
schain(1) manpage for further usage information.
Build by using:
Customize the build process by changing
config.mk to suit your needs.
You may install schain by running the following command as root:
# make install
This will install the binary under
$PREFIX/bin, as defined by your
/usr/local/bin by default. The Makefile supports the
$DESTDIR variable as well.
The idea of a chain of days to work on an habit comes from Epictetus, Discourses 2.18.^1 That's where schain gets its name from!
All contributions are welcome! If you wish to send in patches, ideas, or report a bug, you may do so by sending an email to the schain-devel mailing list.
If interested in getting some news from the project, you may also want to subscribe to the low-volume schain-announce mailing list!
schain is published under an MIT/X11/Expat-type License. See
for copyright and license details.