The source for the catcrafts.net website
  • C++ 85.3%
  • Shell 11.2%
  • CSS 2.9%
  • WGSL 0.4%
  • JavaScript 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jorijn van der Graaf 36a635fd48
All checks were successful
Deploy / build-deploy (push) Successful in 7m33s
bank: run Nostro's callback reader beside ours, as a shadow
ParseBunqCallback is to be replaced by ReadCallback of Nostro.Money
(Nostro 1.1.0), so that this repo stops carrying bunq's wire format.
That reader is stricter than ours: it wants a time, a counterparty and
the account's own IBAN where ours reads four members, and nobody has
run it on a callback bunq really sent. Ours has settled real payments
since 2026-08. So before anything is swapped, both run.

- The handler is untouched and still decides alone. Once it has
  answered and written its credit, Nostro's reader reads the same body
  and one line goes to the log: `bank callback shadow: AGREE ...` when
  the id, the amount and the reference are the same in both readings,
  and `DIFFER ...` with what parted them otherwise.
- The line carries no payment data: no id, amount, name or reference,
  only whether values match and a few fixed words. A body holds the
  payer's name and IBAN, and may repeat the secret address.
- It is on wherever BUNQ_WEBHOOK_PATH is set, with no setting of its
  own.
- project.cpp takes Nostro with --product=money --banks=bunq, at the
  commit of its 1.1.0 release: the module alone, which brings no
  credential and no Crafter.Network, Crafter.DB or OpenSSL of its own.

ShouldCompareCallbackReaders pins every verdict, and that none repeats
anything a body carried. ShouldReceiveBankCallbacks posts callbacks to
the real endpoint: an order settles from one, a payment Nostro's reader
refuses is credited all the same, and the server's log holds nothing of
what was posted.

Built and run in a copy of this tree with crafter-build 6.4.1: the
server and the wasm bundle build, and every suite passes but
ShouldServePostPages, which fails the same way without this change
where the post media is not mirrored. The binary needs the same shared
libraries as before.

Temporary: once real payments read AGREE the reader takes over, and
this goes together with ParseBunqCallback. deploy/README.md says how to
read the result.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-25 14:21:55 +01:00
.forgejo/workflows CI: give the deploy runner a label of its own (catcrafts-deploy) 2026-10-17 00:22:50 +02:00
content markdown fix 2026-08-18 11:12:24 +02:00
deploy bank: run Nostro's callback reader beside ours, as a shadow 2026-11-25 14:21:55 +01:00
images removed fp6 from shop 2026-09-05 18:38:39 +02:00
implementations posts and avif 2026-08-10 01:37:26 +02:00
interfaces rewrite 2026-08-05 04:18:37 +02:00
server bank: run Nostro's callback reader beside ours, as a shadow 2026-11-25 14:21:55 +01:00
shaders webgpu demo 2026-07-19 01:13:30 +02:00
shared/interfaces removed crafter.build form the dashboard 2026-10-17 01:34:01 +02:00
styles 112 tested 2026-08-18 14:52:49 +02:00
tests bank: run Nostro's callback reader beside ours, as a shadow 2026-11-25 14:21:55 +01:00
tools bank: the hourly pull asks nostrod, and holds no bunq key 2026-11-25 14:21:48 +01:00
.gitignore crypto fix 2026-08-19 23:55:01 +02:00
apple-touch-icon.png added missing icons 2026-08-18 21:21:41 +02:00
catcrafts-head.js added missing icons 2026-08-18 21:21:41 +02:00
favicon.ico added missing icons 2026-08-18 21:21:41 +02:00
favicon.svg new logo 2026-08-05 23:52:40 +02:00
LICENSE inital commit 2025-11-12 20:58:07 +01:00
project.cpp bank: run Nostro's callback reader beside ours, as a shadow 2026-11-25 14:21:55 +01:00
README.md fixed links 2026-08-08 20:04:36 +02:00
robots.txt about page 2026-08-05 07:05:00 +02:00

catcrafts.net

This is the source code for catcrafts.net, a website built entirely in C++ using the Crafter.Graphics library.

./tools/dev.sh

This will compile the project and serve it locally on http:://localhost:8080.

This project is source available for educational and viewing purposes only. No permission is granted to copy, modify, distribute, or create derivative works.