Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

我们需要一个统计工具 #1

Open
shankerwangmiao opened this issue Mar 22, 2016 · 11 comments
Open

我们需要一个统计工具 #1

shankerwangmiao opened this issue Mar 22, 2016 · 11 comments

Comments

@shankerwangmiao
Copy link
Member

唔,就是可以根据 cash.md 来统计某一个记账科目目前的余额

@huiyiqun
Copy link
Member

所以是要基于md实现一个gnucash咯?

2016-03-22 19:27 GMT+08:00 shankerwangmiao notifications@github.com:

唔,就是可以根据 cash.md 来统计某一个记账科目目前的余额


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#1

@shankerwangmiao
Copy link
Member Author

唔,我是不是要学习 gnucash?

在 2016年3月22日,20:02,huiyiqun notifications@github.com 写道:

所以是要基于md实现一个gnucash咯?

2016-03-22 19:27 GMT+08:00 shankerwangmiao notifications@github.com:

唔,就是可以根据 cash.md 来统计某一个记账科目目前的余额


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#1


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub #1 (comment)

@huiyiqun
Copy link
Member

嗯 gnucash-web 又要开新坑了

2016-03-22 20:02 GMT+08:00 shankerwangmiao notifications@github.com:

唔,我是不是要学习 gnucash?

在 2016年3月22日,20:02,huiyiqun notifications@github.com 写道:

所以是要基于md实现一个gnucash咯?

2016-03-22 19:27 GMT+08:00 shankerwangmiao notifications@github.com:

唔,就是可以根据 cash.md 来统计某一个记账科目目前的余额


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#1


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub <
https://github.com/tuna/Cash/issues/1#issuecomment-199779400>


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#1 (comment)

@huiyiqun
Copy link
Member

https://github.com/nylen/gnucash-django

这有个130个commit的坑 要不要试一下?不过可能不能基于md

2016-03-22 20:03 GMT+08:00 惠轶群 huiyiqun@gmail.com:

嗯 gnucash-web 又要开新坑了

2016-03-22 20:02 GMT+08:00 shankerwangmiao notifications@github.com:

唔,我是不是要学习 gnucash?

在 2016年3月22日,20:02,huiyiqun notifications@github.com 写道:

所以是要基于md实现一个gnucash咯?

2016-03-22 19:27 GMT+08:00 shankerwangmiao notifications@github.com:

唔,就是可以根据 cash.md 来统计某一个记账科目目前的余额


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#1


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub <
https://github.com/tuna/Cash/issues/1#issuecomment-199779400>


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#1 (comment)

@shankerwangmiao
Copy link
Member Author

gnu cash 好复杂。。。。。

在 2016年3月22日,20:05,huiyiqun notifications@github.com 写道:

https://github.com/nylen/gnucash-django

这有个130个commit的坑 要不要试一下?不过可能不能基于md

2016-03-22 20:03 GMT+08:00 惠轶群 huiyiqun@gmail.com:

嗯 gnucash-web 又要开新坑了

2016-03-22 20:02 GMT+08:00 shankerwangmiao notifications@github.com:

唔,我是不是要学习 gnucash?

在 2016年3月22日,20:02,huiyiqun notifications@github.com 写道:

所以是要基于md实现一个gnucash咯?

2016-03-22 19:27 GMT+08:00 shankerwangmiao notifications@github.com:

唔,就是可以根据 cash.md 来统计某一个记账科目目前的余额


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#1


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub <
https://github.com/tuna/Cash/issues/1#issuecomment-199779400>


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#1 (comment)


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub #1 (comment)

@huiyiqun
Copy link
Member

唔 我用过手机客户端 感觉对于复式记账来说 不算很麻烦。。。

如果你想要通过文本和git来实现复式记账的话 可以这样做,你创建几个空文件

比如 cash.txt donate.txt property.txt 然后初始都为空

每次有收支的时候同时在两个文件中分别加一行

比如donate.txt里-100.00RMB
然后cash里 +100.00RMB

然后commit里写xx公司捐献多少钱(时间通过伪造commit时间记录)

统计的时候对文本文件里的行求和就好了

对某一条有疑问blame一下就知道那笔钱去哪了

如果想知道某段时间的收支情况 diff一下就好了

在 2016年3月22日 下午8:13,shankerwangmiao notifications@github.com写道:

gnu cash 好复杂。。。。。

在 2016年3月22日,20:05,huiyiqun notifications@github.com 写道:

https://github.com/nylen/gnucash-django

这有个130个commit的坑 要不要试一下?不过可能不能基于md

2016-03-22 20:03 GMT+08:00 惠轶群 huiyiqun@gmail.com:

嗯 gnucash-web 又要开新坑了

2016-03-22 20:02 GMT+08:00 shankerwangmiao notifications@github.com:

唔,我是不是要学习 gnucash?

在 2016年3月22日,20:02,huiyiqun notifications@github.com 写道:

所以是要基于md实现一个gnucash咯?

2016-03-22 19:27 GMT+08:00 shankerwangmiao <
notifications@github.com>:

唔,就是可以根据 cash.md 来统计某一个记账科目目前的余额


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#1


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub <
https://github.com/tuna/Cash/issues/1#issuecomment-199779400>


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#1 (comment)


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub <
https://github.com/tuna/Cash/issues/1#issuecomment-199781711>


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#1 (comment)

@huiyiqun
Copy link
Member

#分布式低耦合复试记账系统

在 2016年3月22日 下午8:24,惠轶群 huiyiqun@gmail.com写道:

唔 我用过手机客户端 感觉对于复式记账来说 不算很麻烦。。。

如果你想要通过文本和git来实现复式记账的话 可以这样做,你创建几个空文件

比如 cash.txt donate.txt property.txt 然后初始都为空

每次有收支的时候同时在两个文件中分别加一行

比如donate.txt里-100.00RMB
然后cash里 +100.00RMB

然后commit里写xx公司捐献多少钱(时间通过伪造commit时间记录)

统计的时候对文本文件里的行求和就好了

对某一条有疑问blame一下就知道那笔钱去哪了

如果想知道某段时间的收支情况 diff一下就好了

在 2016年3月22日 下午8:13,shankerwangmiao notifications@github.com写道:

gnu cash 好复杂。。。。。

在 2016年3月22日,20:05,huiyiqun notifications@github.com 写道:

https://github.com/nylen/gnucash-django

这有个130个commit的坑 要不要试一下?不过可能不能基于md

2016-03-22 20:03 GMT+08:00 惠轶群 huiyiqun@gmail.com:

嗯 gnucash-web 又要开新坑了

2016-03-22 20:02 GMT+08:00 shankerwangmiao notifications@github.com:

唔,我是不是要学习 gnucash?

在 2016年3月22日,20:02,huiyiqun notifications@github.com 写道:

所以是要基于md实现一个gnucash咯?

2016-03-22 19:27 GMT+08:00 shankerwangmiao <
notifications@github.com>:

唔,就是可以根据 cash.md 来统计某一个记账科目目前的余额


You are receiving this because you are subscribed to this
thread.
Reply to this email directly or view it on GitHub
#1


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub <
https://github.com/tuna/Cash/issues/1#issuecomment-199779400>


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#1 (comment)


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub <
https://github.com/tuna/Cash/issues/1#issuecomment-199781711>


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#1 (comment)

@scateu
Copy link
Member

scateu commented Mar 22, 2016

awk '{s+=$1} END {print s}' cash.md

Wang Kang
Blog: http://scateu.me
Fingerprint: 011F 0492 97D6 5D75 8AC4 6458 D43F 3CE2 3353 B7BD
HAM Callsign: BH1RLW

@wogong
Copy link
Member

wogong commented Mar 23, 2016

安利 beancount,这是其中的一条 transaction。

2014-05-04 * "BANK FEES" | "Monthly bank fee"
   Assets:US:BofA:Checking                           -4.00 USD
   Expenses:Financial:Fees                            4.00 USD

@xavieryao
Copy link
Member

需要一个保障的 web interface

@SmartHypercube
Copy link

安利 USTC LUG 目前的解决方案:使用 Ledger 记账(和 beancount 相似,但我选择它最主要的原因是 beancount 对 Unicode 的支持不行),配置了 Travis-CI,自动把我们需要公开的几张报表以 JSON 格式传到仓库的 gh-pages 分支。这个分支配置了 GitHub Pages,于是财务报表页面可以用 AJAX 请求加载报表内容并显示。至于查询余额等需求都很容易解决,安装 Ledger 后执行一条命令就能看到。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants