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 e0d3181840
bank: the hourly pull asks nostrod, and holds no bunq key
tools/pull-and-ship-credits.sh ran this repo's own bunq client
(`catcrafts-server --pull-credits`) with the API key from .env: a key
that can initiate payments, where every program run in the checkout
could read it. It now asks nostrod (Nostro) for the account's
transactions over the system bus and turns the answer into the same
credit lines. nostrod lets a program look without a password and lets
nothing pay without one, so the pull holds no credential at all.

- Each run ships the last 90 days (CREDITS_DAYS), the longest window an
  order can wait in, in place of an accumulating local copy fed by a
  reader that only ever saw the newest 50 payments.
- --dry-run prints what would be shipped and ships nothing.
- deploy/README.md: how the pull works now, the polkit rule a timer
  needs to look without a login session, and what the old reader is
  still kept for (tools/register-bunq-webhook.sh, until `nostro
  callbacks` of Nostro 1.1.0 has been seen to list the shop's webhook).

Checked on 2026-11-21 against the production account, through nostrod:
a dry run gave, for each of the 24 incoming payments the old client had
written, a line byte-identical to the old client's. A real run, with
the ship to the server, has not been made, and the timer is installed
nowhere yet.

No C++ changes: the two edits to sources are to comments.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-25 14:21:48 +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: the hourly pull asks nostrod, and holds no bunq key 2026-11-25 14:21:48 +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 removed fp6 from shop 2026-09-05 18:38:39 +02: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: the hourly pull asks nostrod, and holds no bunq key 2026-11-25 14:21:48 +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 removed fp6 from shop 2026-09-05 18:38:39 +02: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.