Know where every rupee went.
Every account, every statement, one ledger, in files you own.
Work in progress, not ready for use.
|
|
|
|
|
|
|
|
pnpm install
pnpm devpnpm 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.
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 testspnpm --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.
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.