Hi Beancount users,
As a contractor working on software projects for my clients, I need to log
the hours in the beancount book I spent on the contract job by the end of
every day. Usually, my transaction for the hours spent looks like this.
2023-07-03 * "Hours spent on the software development project for
client XYZ"
Assets:AccountsReceivable:Contracting:XYZ 4 XYZ.HOUR @ 123 USD
Income:Contracting:XYZ
It's fairly simple, but I must copy and paste it and modify the value every
time. Make a git, commit, and push. I always wanted to have a form where I
could input the value, click submit, and then generate the entry based on a
predefined template. That's why I decided to build the custom-form feature
for BeanHub. Later on, I realized people might want to test it locally, and
it's really useful for all Beancount users, so I decided to open-source it.
It was done for a while. I thought about sharing it with the community here
but forgot 😅
The beanhub form CLI tool is open-sourced and available at this repo.
https://github.com/LaunchPlatform/beanhub-cli
The library for generating, validating, and processing the form definition
file can be found here
https://github.com/LaunchPlatform/beanhub-forms
They are both under MIT license. You can follow the instructions described
in the blog post to run the custom form locally.
https://beanhub.io/blog/2023/10/12/new-open-sourced-beanhub-cli-tools/
I have been using this feature for more than a year, and it saves me a lot
of time. Hope you can also find this open-sourced tool useful. Feedback is
welcome! 🙌
Best,
Fang-Pen Lin
--
You received this message because you are subscribed to the Google Groups
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beancount/1865515a-e00c-4f8d-900c-56c746eb0d90n%40googlegroups.com.