nbb-habits/README.md

47 lines
1.5 KiB
Markdown
Raw Normal View History

2023-06-16 02:56:17 -07:00
##### uHabits Terminal
A Tiny TUI that is compatible with [Loop Habits]().
2023-06-16 03:07:28 -07:00
### State of the Project
Until [this](https://github.com/iSoron/uhabits/issues/702) issue gets resolved, I have low desire to work on this further. In it's current state, it doesn't save changes, but it is able to import CSV exports from uHabits.
If I'm still on android and the issue gets resolved, I'd integrate with their db and server as necessary.
If I move to a linux phone I'll write my own server implementation to keep my habits in sync across my devices.
### Run
# Nix
I'm sorry Nix fam, I haven't packaged this yet, it's in the TODOs.
```
nix develop
npm install
./node_modules/.bin/nbb src/habits/index.cljs
```
# Without Nix
You need to install `nbb`, which gets installed via `nodejs`, so you'll need that too. There are also some Babashka dependencies so you'll need to have `bb` available on your path too.
2023-06-16 02:56:17 -07:00
### TODO
2023-06-16 03:07:28 -07:00
- Save changes to file
2023-06-16 02:56:17 -07:00
- Parse date
- Add all entries to current date
- Read atoms from config
- Tests
- Types
- Colors for each habit
- Help menu
- Scroll bar for habits
- Save changes to file
- Add new habit
- Delete / Archive habit
- Make compatible with db
- Integrating Loop Habit "scores"
- Notifications
- Package with Nix so that it can run anywhere
### Built With
2023-06-16 03:07:28 -07:00
- [nbb](https://github.com/babashka/nbb)
- [ink](https://github.com/vadimdemedes/ink#useinputinputhandler-options)
- [reagent](https://github.com/reagent-project/reagent)
- [parse-csv](https://github.com/adaltas/node-csv/tree/master/packages/csv-parse/)
- [nix](https://nixos.org/)