imprnt-plugin-kopeika 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +115 -0
- package/agent.md +89 -0
- package/check.js +58 -0
- package/docs/ARCHITECTURE.md +125 -0
- package/kopeika.js +3025 -0
- package/package.json +40 -0
- package/profile.example.json +28 -0
- package/proposed/.gitkeep +1 -0
package/package.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "imprnt-plugin-kopeika",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "imprnt plugin: a deterministic local-first personal-finance and net-worth CLI. Parses bank CSV exports into one clean ledger and renders a self-contained dashboard. All personal data stays in its own gitignored folder; no LLM at runtime.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"files": [
|
|
7
|
+
"agent.md",
|
|
8
|
+
"README.md",
|
|
9
|
+
"check.js",
|
|
10
|
+
"kopeika.js",
|
|
11
|
+
"profile.example.json",
|
|
12
|
+
"proposed",
|
|
13
|
+
"docs"
|
|
14
|
+
],
|
|
15
|
+
"scripts": {
|
|
16
|
+
"build": "bun build src/check.ts --target=node --outfile=check.js --banner '#!/usr/bin/env node' && bun build src/cli.ts --target=node --outfile=kopeika.js --banner '#!/usr/bin/env node'",
|
|
17
|
+
"typecheck": "tsc --noEmit",
|
|
18
|
+
"test": "bun test",
|
|
19
|
+
"prepack": "bun run build"
|
|
20
|
+
},
|
|
21
|
+
"keywords": [
|
|
22
|
+
"imprnt",
|
|
23
|
+
"imprnt-plugin",
|
|
24
|
+
"kopeika",
|
|
25
|
+
"finance",
|
|
26
|
+
"net-worth",
|
|
27
|
+
"ledger"
|
|
28
|
+
],
|
|
29
|
+
"license": "MIT",
|
|
30
|
+
"author": "Aleksandr Bogdanov",
|
|
31
|
+
"repository": {
|
|
32
|
+
"type": "git",
|
|
33
|
+
"url": "git+https://github.com/aleksandr-bogdanov/imprnt.git",
|
|
34
|
+
"directory": "packages/plugin-kopeika"
|
|
35
|
+
},
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"@types/bun": "^1.3.14",
|
|
38
|
+
"typescript": "^5.7.2"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_comment": "Copy this file to data/profile.json and fill in your own values. data/ is gitignored, so your real profile never enters git. Every field is optional: omit a section and that feature stays off (no own-name transfer detection, no net-worth layer, raw merchant/account labels).",
|
|
3
|
+
|
|
4
|
+
"owners": ["me", "partner"],
|
|
5
|
+
|
|
6
|
+
"ownNames": ["firstname lastname", "partner firstname lastname"],
|
|
7
|
+
|
|
8
|
+
"ownIbans": ["DE00000000000000000000"],
|
|
9
|
+
|
|
10
|
+
"footer": { "en": "for the household", "ru": "для семьи" },
|
|
11
|
+
|
|
12
|
+
"netWorth": {
|
|
13
|
+
"flatsRub": 0,
|
|
14
|
+
"mortgageRub": 0,
|
|
15
|
+
"bcsNominalCny": 0,
|
|
16
|
+
"propertyApr": 0.08
|
|
17
|
+
},
|
|
18
|
+
|
|
19
|
+
"accountLabels": {
|
|
20
|
+
"revolut-main": { "en": "Revolut", "ru": "Revolut" },
|
|
21
|
+
"n26-main": { "en": "N26", "ru": "N26" }
|
|
22
|
+
},
|
|
23
|
+
|
|
24
|
+
"merchantInfo": [
|
|
25
|
+
{ "pat": "REWE", "name": "REWE" },
|
|
26
|
+
{ "pat": "your-landlord-string", "en": "rent", "ru": "аренда" }
|
|
27
|
+
]
|
|
28
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# Staging for notes kopeika proposes into the vault (apply with: imprnt ingest --apply).
|