# Rsbeancount [![Build Status](https://travis-ci.org/zhourunlai/rsbeancount.svg?branch=master)](https://travis-ci.org/zhourunlai/rsbeancount) [![crates.io](http://meritbadge.herokuapp.com/rsbeancount)](https://crates.io/crates/rsbeancount) [![GitHub license](https://img.shields.io/github/license/zhourunlai/rsbeancount.svg)](https://raw.githubusercontent.com/zhourunlai/rsbeancount/master/LICENSE) [![buymeacoffee](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/xiaorun) A tool to make `beancount` file through the bill downloaded from payment platform. ## TODO - [X] [Alipay](https://consumeprod.alipay.com/record/advanced.htm) - [ ] Wechat Pay - [ ] China Merchants Bank(credit card) ### Usage 1. cargo build 2. export PATH=$PATH:$PWD/target/debug 3. rsbeancount 4. rsbeancount --help ```shell USAGE: rsbeancount [OPTIONS] FLAGS: -h, --help Prints help information -V, --version Prints version information OPTIONS: -s, --source Source of the bill, default is Alipay ARGS: Path of the csv file Path of the bean file ``` ### View 1. `pip3 install beancount` 2. `pip3 install fava` 3. `fava bean/main.bean` ## Reference 1. [Beancount —— 命令行复式簿记](https://wzyboy.im/post/1063.html)