pushes on tangled
sites.wisp.place/zzstoatzz.io/punch
fun
tangled
1{
2 "name": "punch-indexer",
3 "main": "src/index.ts",
4 "compatibility_date": "2025-01-15",
5 "compatibility_flags": ["nodejs_compat"],
6
7 // hosted on n8@zzstoatzz.io (NOT prefect.io). pin the account so deploys
8 // can't accidentally land on a different one if multiple are authed.
9 "account_id": "3e9ba01cd687b3c4d29033908177072e",
10
11 // scheduled tick. knots are drained in chunks so a single invocation stays
12 // well under the 15-min cron CPU ceiling. see KNOT_CHUNK_SIZE in src/index.ts.
13 "triggers": { "crons": ["*/10 * * * *"] },
14
15 "d1_databases": [
16 {
17 "binding": "DB",
18 "database_name": "punch",
19 "database_id": "91691037-52fd-4262-b511-6ef4b7df7f7f"
20 }
21 ],
22
23 "kv_namespaces": [
24 {
25 "binding": "HANDLES",
26 "id": "671745d0b1c24b7dba3f1a49f47929f0"
27 }
28 ]
29
30 // secrets (set via `wrangler secret put`):
31 // PUNCH_HANDLE atproto handle owning the wisp site
32 // PUNCH_APP_PASSWORD atproto app password for that handle
33 // (declared in src/types.ts but currently unused — wisp publishing was
34 // replaced by dynamic /leaderboard.json render. safe to skip.)
35}