A syntax for converting one-line message to beancount/*ledger format

44 views
Skip to first unread message

Leplay Li

unread,
Jul 29, 2019, 11:47:49 PM7/29/19
to Beancount
Hi,

I'm building a product that allows users to keep plain text accounting from their favorite messaging apps. To achieve that, I made a syntax for converting one-line message to beancount/*ledger format. For example, if you input the following message:

Dinner #trip 200 bofa > trip

It could be converted to the content below:

 2019-07-30 * "Dinner" #trip
  Assets:US:BofA                              -200.00 USD
  Equity:Trip                                      +200.00 USD


There are some more features, you can find on https://github.com/costflow/syntax.
I also made a playground, and you can try the syntax in your browser: https://playground.costflow.io/.

If you have any questions about this syntax, feel free to contact me.

Cheers,
Leplay

Martin Blais

unread,
Jul 30, 2019, 9:51:41 PM7/30/19
to Beancount

--
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 beancount+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/db76f527-5c8b-453f-aec7-2f393b8353c2%40googlegroups.com.

Leplay Li

unread,
Jul 31, 2019, 2:43:28 AM7/31/19
to Beancount
Thanks for making Beancount.


On Wednesday, July 31, 2019 at 9:51:41 AM UTC+8, Martin Blais wrote:
On Mon, Jul 29, 2019 at 11:47 PM Leplay Li <lep...@costflow.io> wrote:
Hi,

I'm building a product that allows users to keep plain text accounting from their favorite messaging apps. To achieve that, I made a syntax for converting one-line message to beancount/*ledger format. For example, if you input the following message:

Dinner #trip 200 bofa > trip

It could be converted to the content below:

 2019-07-30 * "Dinner" #trip
  Assets:US:BofA                              -200.00 USD
  Equity:Trip                                      +200.00 USD


There are some more features, you can find on https://github.com/costflow/syntax.
I also made a playground, and you can try the syntax in your browser: https://playground.costflow.io/.

If you have any questions about this syntax, feel free to contact me.

Cheers,
Leplay

--
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 bean...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages