#beancount #file #payment #bill #csv #pure #rust

app rsbeancount

A tool to make the beancount file in pure rust

2 releases

0.1.1 Jun 25, 2019
0.1.0 Jun 25, 2019

#12 in #beancount

MIT license

250KB
276 lines

Rsbeancount

Build Status GitHub license

buymeacoffee

A tool to make beancount file through the bill downloaded from payment platform.

TODO

  • Alipay
  • Wechat Pay
  • China Merchants Bank(credit card)

Usage

  1. cargo build

  2. export PATH=$PATH:$PWD/target/debug

  3. rsbeancount

  4. rsbeancount --help

USAGE:
    rsbeancount [OPTIONS] <CSVPATH> <BEANPATH>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -s, --source <ENUM>    Source of the bill, default is Alipay

ARGS:
    <CSVPATH>     Path of the csv file
    <BEANPATH>    Path of the bean file

View

  1. pip3 install beancount
  2. pip3 install fava
  3. fava bean/main.bean

Reference

  1. Beancount —— 命令行复式簿记

Dependencies

~6MB
~80K SLoC