A simple, fast and offline command line tool to keep track of your daily events without leaving the terminal.
(My first Rust adventure)
Via curl
sh -c "$(curl -fsSL https://raw.githubusercontent.com/juancebarberis/bita/master/tools/install.sh)"Via wget
sh -c "$(wget https://raw.githubusercontent.com/juancebarberis/bita/master/tools/install.sh -O -)"If you got some permission denied error, running the script with sudo may help.
After installation success, write bita in your terminal, and it should display the all the help info.
Create new entries with the new command.
$ bita new "Helped Ariel with a database migration issue"
Entry recorded successfully f3e1e42d-197d-46ce-9d67-a62e0ecaa5f6Retrieve them with the all command.
$ bita all
f3e1e42d-197d-46ce-9d67-a62e0ecaa5f6 (Timestamp: 2024-01-14T09:32:00-03:00)
Helped Ariel with a database migration issue
b8493fe4-3959-491f-b9fb-1ddff6a8faf2 (Timestamp: 2024-01-13T10:11:00-03:00)
Meeting with the finance team 💸Read one entry with get.
$ bita get b8493fe4-3959-491f-b9fb-1ddff6a8faf2
b8493fe4-3959-491f-b9fb-1ddff6a8faf2 (Timestamp: 2024-01-13T10:11:00-03:00)
Meeting with the finance team 💸
$ bita get --latest
f3e1e42d-197d-46ce-9d67-a62e0ecaa5f6 (Timestamp: 2024-01-14T09:32:00-03:00)
Helped Ariel with a database migration issueDelete an entry following the same idea.
$ bita delete f3e1e42d-197d-46ce-9d67-a62e0ecaa5f6
Entry deleted successfully f3e1e42d-197d-46ce-9d67-a62e0ecaa5f6Or if you had a mistake, rapidly delete the latest entry.
$ bita delete --latest
Considering latest entry f3e1e42d-197d-46ce-9d67-a62e0ecaa5f6
Entry deleted successfully f3e1e42d-197d-46ce-9d67-a62e0ecaa5f6For more info, check the src/help.rs file.
Bita uses a sqlite database. It's stored in your home directory, at /.bita folder.
You can easily take your bita.db file and read it with any tool you want.
Bita is an offline experience. It does not send or receive any data from the internet nor other sources.
It's basically an over-engineered notepad, but serves my needs perfectly.
Just clone the repo and run cargo build to compile your own Bita's binary.