Readit News logoReadit News
EnhancedJax commented on Show HN: Bagels – TUI expense tracker   github.com/EnhancedJax/Ba... · Posted by u/EnhancedJax
TheTaytay · a year ago
Oh wow! That looks really nice. I’ve been wanting to okay with Textual too. This makes me even more intrigued.
EnhancedJax · a year ago
Definitely try textual! Their support on Discord is really nice too
EnhancedJax commented on Show HN: Bagels – TUI expense tracker   github.com/EnhancedJax/Ba... · Posted by u/EnhancedJax
sorenjan · a year ago
I think you should change the Windows install section in the readme. Instead of installing uv by downloading and running a Powershell script you can use winget:

  winget install --id=astral-sh.uv  -e
https://docs.astral.sh/uv/getting-started/installation/#wing...

EnhancedJax · a year ago
Thanks! Will check out!
EnhancedJax commented on Show HN: Bagels – TUI expense tracker   github.com/EnhancedJax/Ba... · Posted by u/EnhancedJax
bvrmn · a year ago
Amazing project!

> I built this mainly around the habit of budget tracking at the end of the day.

I've built 3 personal financial trackers. 2 CLI based and last a web-based to be able to serve it in termux as a local android app.

Anecdote: the only thing which make it usable in the end is a joint account (most transactions are happened there) which reduced monthly transaction count to low acceptable level and did not become a chore without fancy importing from bank statements. Joint account allows to record only transfers and not individual expenses. It easily could be a separate account for small expenses, it has a low value to know which kind of grocery takes most of money.

EnhancedJax · a year ago
Cool, are they open source? Would love to check them out!

> which make it usable in the end is a joint account (most transactions are happened there) which reduced monthly transaction count to low acceptable level

I'm not sure if I understand...

EnhancedJax commented on Show HN: Bagels – TUI expense tracker   github.com/EnhancedJax/Ba... · Posted by u/EnhancedJax
nickjj · a year ago
Have you given consideration on using CSV files for the back-end?

I ask because funny enough over the weekend I spent 4 hours writing a terminal based expense tracker with a sole focus on making it easy to see income vs expenses vs business expenses totals to make it easier for me to file quarterly and yearly taxes. It's not a TUI but it lets me put items into a category and it tallies up the amounts with counts.

It's simple input / output with CSV files that you can edit with whatever editor you want and that's the main reason I wrote it. I've been using GnuCash for almost 10 years and it's kind of inefficient to input data quickly.

It's nice to see your project on the other side of the spectrum (super polished, TUI, etc.). What's it like to quickly add in items or generate income / expense / business expense reports? Ideally I'd like to be able to open my code editor of choice and do whatever operations I need to quickly insert multiple items into multiple categories.

EnhancedJax · a year ago
No, it never came across my mind unfortunately. There are a handful of relations between each table for my schema design, so never though CSV would be viable for my use case.

The TUI is the frontend for the schema. You can do all CRUD with the UI, and I designed it to be able to add multiple records quickly, with input modes and templates!

EnhancedJax commented on Show HN: Bagels – TUI expense tracker   github.com/EnhancedJax/Ba... · Posted by u/EnhancedJax
stanac · a year ago
This TUI is really beautiful. Looking at those rounded corners I am wondering if it is using some specific font created just for TUI.
EnhancedJax · a year ago
Textual automatically has a rounded border style for containers!
EnhancedJax commented on Show HN: Bagels – TUI expense tracker   github.com/EnhancedJax/Ba... · Posted by u/EnhancedJax
oneeyedpigeon · a year ago
It looks great, but I don't feel enthusiastic about installing yet another package manager. Are there really enough benefits from uv to justify it as the only option?
EnhancedJax · a year ago
I believe you can simply use pipx, if you have that. I picked uv because it handles installing python for you. I do want to add Bagels to homebrew, but have to do a bit more reading to figure that out.
EnhancedJax commented on Show HN: Bagels – TUI expense tracker   github.com/EnhancedJax/Ba... · Posted by u/EnhancedJax
zznnzzzzzz · a year ago
What I would like to know is where you are able to find bagels for $2.5!

Looks very slick though, congrats on getting it to this level of polish!

EnhancedJax · a year ago
:D
EnhancedJax commented on Show HN: Bagels – TUI expense tracker   github.com/EnhancedJax/Ba... · Posted by u/EnhancedJax
ramon156 · a year ago
Im going to try this for myself. One questions though, does it support imports from stuff like gocardless[0]? Actual Budget supports this so I can import from EU banks.

[0] https://gocardless.com/guides/posts/european-payments/

EnhancedJax · a year ago
Not atm. But you can write a script to feed your data into the sqlite db file! The schema can be found in https://github.com/EnhancedJax/Bagels/tree/main/src/bagels/m...
EnhancedJax commented on Show HN: Bagels – TUI expense tracker   github.com/EnhancedJax/Ba... · Posted by u/EnhancedJax
wiseowise · a year ago
Looks absolutely awesome.

But, man, Textual is such a chore to write and docs are crap. Is there HTML based TUI toolkit?

I know there’s https://github.com/vadimdemedes/ink, anything else besides it?

EnhancedJax · a year ago
My first choice of framework was ink (came from web dev background), but couldn't get it to work how I wanted it to. Textual adopts the component model, and IMO the docs are awesome! It's like writing React honestly (without the reactive part. Textual does support reactivity, but couldn't get it to work and just wrote code to update the UI jQuery style). It also uses CSS to style, which is great and works as expected most of the time!

Maybe give it a second try haha

EnhancedJax commented on Show HN: Bagels – TUI expense tracker   github.com/EnhancedJax/Ba... · Posted by u/EnhancedJax
dammaj · a year ago
Great use of TUI ! I wonder if this app implements a method to import spending from bank account exported to a .csv for example, this would be very useful !
EnhancedJax · a year ago
Not atm. But you can write a script to feed your data into the sqlite db file! The schema can be found in https://github.com/EnhancedJax/Bagels/tree/main/src/bagels/m...

u/EnhancedJax

KarmaCake day82November 11, 2024View Original