Skip to content
SagnikPradhanPublic

About

Know where every rupee went. Every account, every statement, one ledger, in files you own.

Topics

Resources

Contributing

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

324 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rupea

Coverage Reliability

Know where every rupee went.

Every account, every statement, one ledger, in files you own.

Work in progress, not ready for use.

Spending by month over two years How spending divides into accounts
Investments value against cost over six years Investments narrowed to one account
Transactions from every file, newest first Postings to one account and its children
The lots of a holding, with gains on each sale A ledger file, plain text you own

Quick start

pnpm install
pnpm dev

pnpm dev starts two processes: the server, which listens on 127.0.0.1:3001, and the web app, which calls it at RUPEA_API_URL (by default http://127.0.0.1:3001/api). Change where the server listens with RUPEA_SERVER_HOST and RUPEA_SERVER_PORT. Every setting has a default; to change one, copy .env.example to .env in packages/server or packages/web. In production, pnpm build then pnpm start runs both, and the API URL should be https. pnpm --filter @rupea/web preview serves only the web app, so start the server beside it with pnpm --filter @rupea/server start.

The first run downloads the ML models for statement import into packages/server/data/models. How to use Rupea is in the manual.

Development

pnpm --filter @rupea/server models   # download the import models, needed for e2e
pnpm verify                          # format, lint, types and unit tests
pnpm --filter @rupea/web test:e2e    # browser tests

pnpm --filter @rupea/server replay <folder> predicts each statement in a ledger folder from the ones before it, and reports how many lines it got right; --cold predicts with no history, as for a new user. Run it before and after a change to prediction.

Domain terms are in GLOSSARY.md, decisions in docs/adr, how the code fits together in docs/architecture.md, plans in ROADMAP.md.

License

Rupea is AGPL-3.0, except packages/shared and packages/contract, which are MIT so that anyone can build on them.

Running your own copy asks little of you:

  • Run it as it is, for yourself or others you trust: nothing to do.
  • Change it and keep the change private: nothing to do.
  • Change it and let other people use it over a network: share your changes with those people.

Contributions are signed off, see CONTRIBUTING.md.

About

Know where every rupee went. Every account, every statement, one ledger, in files you own.

Topics

Resources

Contributing

Stars

2 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages