HackerTrans
TopNewTrendsCommentsPastAskShowJobs

EnhancedJax

no profile record

Submissions

Show HN: Replay – A private, on-device Google Timeline replacement for iOS

replayapp.jaxtam.dev
2 points·by EnhancedJax·4 เดือนที่ผ่านมา·0 comments

Show HN: Bagels – TUI expense tracker

github.com
283 points·by EnhancedJax·ปีที่แล้ว·87 comments

comments

EnhancedJax
·ปีที่แล้ว·discuss
Definitely try textual! Their support on Discord is really nice too
EnhancedJax
·ปีที่แล้ว·discuss
Thanks! Will check out!
EnhancedJax
·ปีที่แล้ว·discuss
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
·ปีที่แล้ว·discuss
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
·ปีที่แล้ว·discuss
Textual automatically has a rounded border style for containers!
EnhancedJax
·ปีที่แล้ว·discuss
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
·ปีที่แล้ว·discuss
:D
EnhancedJax
·ปีที่แล้ว·discuss
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
·ปีที่แล้ว·discuss
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
·ปีที่แล้ว·discuss
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
·ปีที่แล้ว·discuss
Baked into the Textual framework!
EnhancedJax
·ปีที่แล้ว·discuss
Sorry, I don't seem to understand your question... I think you're talking about categories and subcategories? You can have household as the parent category and all the expenses under it. The must/need/want system (I think) is used by a lot of expense trackers, and for Bagels I used it as a way to limit unnecessary spending (want%).

I primarily built Bagels starting from my use case, so maybe some of the modelling might not suit expenses of large quantities. I haven't got to the point in life where I have to pay taxes and bills yet haha
EnhancedJax
·ปีที่แล้ว·discuss
I live in Hong Kong, and the problem is I juggle around 5 different accounts, including transit cards, mobile wallet apps and cash. I use my transit card to pay for transit and food, wallet apps to online shop etc. and there's no centralized system to manage expenses other than a tracker.
EnhancedJax
·ปีที่แล้ว·discuss
Thank you! Actually, I've submitted Bagels to terminaltrove I think a few weeks back but haven't got any replies, should I send an email to the curator instead?
EnhancedJax
·ปีที่แล้ว·discuss
Thanks!