{"id":48845246,"url":"https://github.com/ignaciogarcia-dev/reconbanker","last_synced_at":"2026-04-24T07:01:58.100Z","repository":{"id":349851552,"uuid":"1200661498","full_name":"ignaciogarcia-dev/reconbanker","owner":"ignaciogarcia-dev","description":"Automated bank-to-order reconciliation for financial operations teams.","archived":false,"fork":false,"pushed_at":"2026-04-17T17:51:14.000Z","size":555,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-17T19:36:10.175Z","etag":null,"topics":["accounting","banking","expressjs","nodejs","postgresql","reconciliation","self-hosted","typescript"],"latest_commit_sha":null,"homepage":"https://reconbanker.com","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ignaciogarcia-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-03T17:18:46.000Z","updated_at":"2026-04-17T17:50:21.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ignaciogarcia-dev/reconbanker","commit_stats":null,"previous_names":["ignaciogarcia-dev/reconbanker"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/ignaciogarcia-dev/reconbanker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignaciogarcia-dev%2Freconbanker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignaciogarcia-dev%2Freconbanker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignaciogarcia-dev%2Freconbanker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignaciogarcia-dev%2Freconbanker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ignaciogarcia-dev","download_url":"https://codeload.github.com/ignaciogarcia-dev/reconbanker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignaciogarcia-dev%2Freconbanker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32212808,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T03:15:14.334Z","status":"ssl_error","status_checked_at":"2026-04-24T03:15:11.608Z","response_time":64,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["accounting","banking","expressjs","nodejs","postgresql","reconciliation","self-hosted","typescript"],"created_at":"2026-04-15T05:01:17.869Z","updated_at":"2026-04-24T07:01:58.095Z","avatar_url":"https://github.com/ignaciogarcia-dev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"#\"\u003e\n    \u003cimg src=\"client/public/readme/readme-banner.jpg\" alt=\"ReconBanker\" /\u003e\n  \u003c/a\u003e\n\n  \u003ch1\u003eReconBanker\u003c/h1\u003e\n\n  \u003cp\u003eAutomated bank-to-order reconciliation for financial operations teams.\u003c/p\u003e\n\n  \u003cp\u003e\u003ca href=\"#quick-start\"\u003eGet Started\u003c/a\u003e · \u003ca href=\"#documentation\"\u003eDocumentation\u003c/a\u003e · \u003ca href=\"#api-reference\"\u003eAPI Reference\u003c/a\u003e\u003c/p\u003e\n\u003c/div\u003e\n\n---\n\nReconBanker is a self-hosted reconciliation engine that scrapes bank transactions using browser automation, polls pending orders from customer ERP systems, and matches them using a deterministic + heuristic engine. When a match is found, it notifies the customer system via configurable webhooks.\n\n## What it does\n\n- **Scrapes bank transactions** from customer bank accounts using Playwright browser automation (Itaú, Mi Dinero, and more)\n- **Polls pending orders** from customer ERP or order-management systems via HTTP\n- **Reconciles transactions to orders** using a rule-based engine (exact amount + date window) and a fuzzy sender-name heuristic\n- **Notifies customers** via webhook when a match is found, including match type and transaction detail\n- Operates in a **multi-account, multi-bank** model - each account has its own config, scrape schedule, and webhook\n\n## Feature surface\n\n### Reconciliation engine\n\n- Exact amount matching (configurable currency support)\n- 5-day date window rule\n- Fuzzy sender-name heuristic scoring (0–1)\n- Ambiguity detection when multiple candidates score equally\n- Per-request attempt history with unmatched reasons\n\n### Account management\n\n- Register accounts linked to supported banks\n- Per-account configuration: polling endpoint, webhook URL, authentication headers\n- Manual or scheduled scraping and polling triggers\n- Script versioning: promote bank scripts from `review` → `active`\n\n### Async job processing\n\n- Four BullMQ queues: `order-ingestion`, `bank-scrape`, `conciliation`, `webhook`\n- Domain event bus: `TransactionIngested` → conciliation, `ConciliationMatched` → webhook\n- Configurable polling and scraping intervals via env vars\n\n### Frontend dashboard\n\n- Login / register\n- Account list and per-account config\n- Conciliation requests with status, attempt history, and matched transaction detail\n- Bank and script management\n- i18n support (i18next)\n\n## Tech stack\n\n| Layer | Technology |\n|---|---|\n| Backend runtime | Node.js + TypeScript (tsx watch) |\n| Web framework | Express v5 |\n| Database | PostgreSQL 16 (pg driver, raw SQL migrations) |\n| Queue / cache | Redis 7 + BullMQ |\n| Browser automation | Playwright |\n| Authentication | JWT + bcrypt |\n| Frontend | React 19 + Vite 8 |\n| UI | Tailwind CSS v4, shadcn/ui |\n| HTTP client | Axios + TanStack Query |\n| i18n | i18next |\n\n## Quick start\n\n```bash\ngit clone \u003crepo-url\u003e\ncd reconbanker\n\ncp .env.example .env\n# Edit .env with your values\n\n./setup.sh\n```\n\n`setup.sh` installs all dependencies, starts Docker (PostgreSQL + Redis), runs migrations, and launches both backend and frontend.\n\n- Backend API: `http://localhost:3000`\n- Frontend: `http://localhost:5173`\n\nSee [docs/getting-started.md](docs/getting-started.md) for manual setup and environment variable reference.\n\n## Environment variables\n\n**Required:**\n\n| Variable | Description |\n|---|---|\n| `DATABASE_URL` | PostgreSQL connection string |\n| `REDIS_URL` | Redis connection string |\n| `JWT_SECRET` | Secret for signing JWT tokens |\n\n**Optional:**\n\n| Variable | Default | Description |\n|---|---|---|\n| `PORT` | `3000` | Backend API port |\n| `NODE_ENV` | `development` | Environment |\n| `POLLING_INTERVAL_SECONDS` | `60` | How often to poll customer order endpoints |\n| `SCRAPE_INTERVAL_SECONDS` | `600` | How often to run bank scraping |\n\n## Development\n\nCommon commands:\n\n```bash\n# Run everything (recommended)\n./setup.sh\n\n# Backend only (watch mode)\npnpm dev\n\n# Frontend only\ncd client \u0026\u0026 pnpm dev\n\n# Database migrations\npnpm migrate\n\n# Build backend\npnpm build\n```\n\nFor a detailed workflow see [docs/development.md](docs/development.md).\n\n## Documentation\n\n| File | Purpose |\n|---|---|\n| [docs/getting-started.md](docs/getting-started.md) | Setup, env vars, manual run guide |\n| [docs/architecture.md](docs/architecture.md) | Bounded contexts, DDD patterns, job queues |\n| [docs/api-reference.md](docs/api-reference.md) | REST endpoints and request/response shapes |\n| [docs/repository-map.md](docs/repository-map.md) | Compact source tree reference |\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fignaciogarcia-dev%2Freconbanker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fignaciogarcia-dev%2Freconbanker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fignaciogarcia-dev%2Freconbanker/lists"}