Skip to content
CAI
Software that uses CAICheck a score

nostrbuild/nostr.build

43.1

Weak · 17 November 2026

33.8k

lines of production code

PHP

primary language

1

measurement over time

CAI band scale
CAI lens gauges

What this system is

Behavioural changes

1 commit (0 fixes) modifying .well-known/lnurlp

A change to existing behaviour in .well-known/lnurlp — 1 commit, 1 file: “add .well-known content”.

.well-known/lnurlp · low confidence · unverified

1 commit (0 fixes) modifying vendor/hidehalo/nanoid-php, vendor/paragonie/random\_compat

A change to existing behaviour in vendor/hidehalo/nanoid-php, vendor/paragonie/random\_compat — 1 commit, 6 files: “add nanoid-php”.

_vendor/hidehalo/nanoid-php, vendor/paragonie/random\compat · medium confidence · unverified

107 commits (16 fixes) modifying plans

A change to existing behaviour in plans — 107 commits (16 fixs), 1 file: “bust css and js caches”; “refactor the frontpage to reduce confusion about uploads and block CSAM abuse originating from the site uploads”; “make @tanel happy and center the price when using small devices”; and 80 more (refs \#89, \#62, \#66, \#49, \#67, …).

plans · medium confidence · unverified

114 commits (15 fixes) modifying adultview

A change to existing behaviour in adultview — 114 commits (15 fixs), 1 file: “bust css and js caches”; “refactor the frontpage to reduce confusion about uploads and block CSAM abuse originating from the site uploads”; “Update twbuild.css version across multiple files for consistency”; and 85 more (refs \#89, \#62, \#28, \#66, \#49, …).

adultview · medium confidence · unverified

119 commits (16 fixes) modifying creators/creator

A change to existing behaviour in creators/creator — 119 commits (16 fixs), 2 files: “bust css and js caches”; “refactor the frontpage to reduce confusion about uploads and block CSAM abuse originating from the site uploads”; “Update twbuild.css version across multiple files for consistency”; and 91 more (refs \#89, \#62, \#66, \#16, \#67, …).

creators/creator · medium confidence · unverified

12 commits (3 fixes) modifying account/ai

A change to existing behaviour in account/ai — 12 commits (3 fixs), 1 file: “refactor the frontpage to reduce confusion about uploads and block CSAM abuse originating from the site uploads”; “AI Studio functionality improvements (\#62)”; “many improvements and additional functionality for AI Studio page. (Phase 1) (\#60)”; and 9 more (refs \#62, \#60, \#65, \#63, \#56, …).

account/ai · medium confidence · unverified

12 commits (3 fixes) modifying api/upload

A change to existing behaviour in api/upload — 12 commits (3 fixs), 7 files: “handle upload errors in legacy api”; “Nip96 implementation (\#42)”; “partial revert of "remove legacy API"”; and 9 more (refs \#42, \#69, \#72).

api/upload · medium confidence · unverified

121 commits (16 fixes) modifying freeview

A change to existing behaviour in freeview — 121 commits (16 fixs), 1 file: “bust css and js caches”; “refactor the frontpage to reduce confusion about uploads and block CSAM abuse originating from the site uploads”; “Update twbuild.css version across multiple files for consistency”; and 92 more (refs \#89, \#62, \#66, \#49, \#67, …).

freeview · medium confidence · unverified

127 commits (16 fixes) modifying viewall

A change to existing behaviour in viewall — 127 commits (16 fixs), 1 file: “bust css and js caches”; “refactor the frontpage to reduce confusion about uploads and block CSAM abuse originating from the site uploads”; “Update twbuild.css version across multiple files for consistency”; and 98 more (refs \#89, \#62, \#28, \#66, \#49, …).

viewall · medium confidence · unverified

13 commits (1 fix) modifying build

A change to existing behaviour in build — 13 commits (1 fix), 2 files: “PHP build: only /delete's script and the CSS of /delete and /freeview; Tailwind scans those pages (the repo-wide scan ran staging out of memory); unused deps and dead entries removed, the rest bumped; dist cleared each build”; “AI Studio functionality improvements (\#62)”; “many improvements and additional functionality for AI Studio page. (Phase 1) (\#60)”; and 10 more (refs \#62, \#60, \#49, \#67, \#71, …).

build · medium confidence · unverified

131 commits (8 fixes) modifying (repo-wide)

A change to existing behaviour in (repo-wide) — 131 commits (8 fixs), 19 files: “bust css and js caches”; “refactor the frontpage to reduce confusion about uploads and block CSAM abuse originating from the site uploads”; “Add llms.txt agent discovery index”; and 127 more (refs \#89, \#62, \#38, \#23, \#49, …).

(repo-wide) · low confidence · unverified

16 commits (2 fixes) modifying libs/Upload

A change to existing behaviour in libs/Upload — 16 commits (2 fixs), 8 files: “feat(uploads): enforce IP blocklist in UploadValidator after npub check”; “feat(uploads): exempt active subscribers from IP blocklist”; “feat(tor): add Tor exit-node list management for upload validation”; and 13 more (refs \#100, \#101, \#99).

libs/Upload · medium confidence · unverified

164 commits (15 fixes) modifying api/v2

A change to existing behaviour in api/v2 — 164 commits (15 fixs), 12 files: “Classify multipart upload failures with stable error codes; stop retrying permanent refusals”; “P4 backend: ≥1-authenticator invariant — removeEmail + allowNpubLogin disable guard (LastAuthenticatorException) + dashboard/email/remove route”; “Add /accounts/admin/users API for the in-app User Management tool”; and 161 more (refs \#85, \#100, \#101, \#42, \#99, …).

api/v2 · medium confidence · unverified

17 commits (0 fixes) modifying vendor/aws/aws-sdk-php

A change to existing behaviour in vendor/aws/aws-sdk-php — 17 commits, 2593 files: “upgrade composer libs”; “missing files due to .gitignore add back”; “Update of composer packages”; and 14 more (refs \#77).

vendor/aws/aws-sdk-php · medium confidence · unverified

19 commits (1 fix) modifying styles

A change to existing behaviour in styles — 19 commits (1 fix), 9 files: “refactor the frontpage to reduce confusion about uploads and block CSAM abuse originating from the site uploads”; “increase z-index for the pop-up menu”; “last one, I hope, css struggler”; and 16 more (refs \#49, \#18, \#43).

styles · medium confidence · unverified

2 commits (0 fixes) modifying davidlynch

A change to existing behaviour in davidlynch — 2 commits, 2 files: “Video.js 10.3.0 on creator pages and the David Lynch page; dl.css cache-busted”; “David Lynch tribute: redesigned page, one player, season tabs”. Also in this area: 1 commit (0 fixes) modifying davidlynch.

davidlynch/css · medium confidence · unverified

2 commits (0 fixes) modifying scripts/fw

A change to existing behaviour in scripts/fw — 2 commits, 1 file: “add js to use tailwindcss and others, alpinejs, htmx”; “add AI Studio page (\#56)” (refs \#56).

scripts/fw · medium confidence · unverified

20 commits (1 fix) modifying signup

A change to existing behaviour in signup — 20 commits (1 fix), 7 files: “refactor the frontpage to reduce confusion about uploads and block CSAM abuse originating from the site uploads”; “minor update to signup”; “Esthetic updates (\#25)”; and 17 more (refs \#25, \#49, \#6, \#43).

signup · medium confidence · unverified

21 commits (4 fixes) modifying v1

A change to existing behaviour in v1 — 21 commits (4 fixs), 11 files: “bust css and js caches”; “refactor the frontpage to reduce confusion about uploads and block CSAM abuse originating from the site uploads”; “Make favicon correct for all pages, and follow the fucking standard FFS!”; and 17 more (refs \#11, \#56).

v1 · medium confidence · unverified

23 commits (5 fixes) modifying scripts

A change to existing behaviour in scripts — 23 commits (5 fixs), 7 files: “refactor the frontpage to reduce confusion about uploads and block CSAM abuse originating from the site uploads”; “bump free upload to 50MiB for the holiday season”; “Add purist plan (second attempt) (\#89)”; and 20 more (refs \#89, \#18, \#43).

scripts · medium confidence · unverified

24 commits (3 fixes) modifying builders

A change to existing behaviour in builders — 24 commits (3 fixs), 1 file: “refactor the frontpage to reduce confusion about uploads and block CSAM abuse originating from the site uploads”; “AI Studio functionality improvements (\#62)”; “increase z-index for the pop-up menu”; and 21 more (refs \#62, \#92, \#18, \#37).

builders · medium confidence · unverified

28 commits (0 fixes) modifying vendor

A change to existing behaviour in vendor — 28 commits, 1501 files: “upgrade composer libs”; “Full upload integration and media filtering (\#66)”; “Update of composer packages”; and 25 more (refs \#66, \#15, \#77, \#6).

vendor · medium confidence · unverified

29 commits (3 fixes) modifying edu

A change to existing behaviour in edu — 29 commits (3 fixs), 1 file: “bust css and js caches”; “refactor the frontpage to reduce confusion about uploads and block CSAM abuse originating from the site uploads”; “AI Studio functionality improvements (\#62)”; and 26 more (refs \#62, \#18, \#56, \#37).

edu · medium confidence · unverified

3 commits (0 fixes) modifying build/src

A change to existing behaviour in build/src — 3 commits, 1 file: “PHP build: only /delete's script and the CSS of /delete and /freeview; Tailwind scans those pages (the repo-wide scan ran staging out of memory); unused deps and dead entries removed, the rest bumped; dist cleared each build”; “actually show error when extension is not installed or enabled”; “add ability to delete media that is uploaded by the authorized npub that can prove its ownership. Also add nip96 compliant media delete functionality”.

build/src · medium confidence · unverified

3 commits (0 fixes) modifying hw\_wallet\_select

A change to existing behaviour in hw\_wallet\_select — 3 commits, 1 file: “HW Wallet Selector tool”; “Add disclaimer regarding hardware wallet endorsements”; “Added nb theme colors”.

_hw\_wallet\select · medium confidence · unverified

317 commits (59 fixes) modifying libs

A change to existing behaviour in libs — 317 commits (59 fixs), 37 files: “Added stats feature, removed media gallery”; “minor adjustment”; “expand range of checks for URL”; and 313 more (refs \#89, \#60, \#25, \#23, \#76, …).

libs · medium confidence · unverified

35 commits (5 fixes) modifying creators

A change to existing behaviour in creators — 35 commits (5 fixs), 1 file: “bust css and js caches”; “refactor the frontpage to reduce confusion about uploads and block CSAM abuse originating from the site uploads”; “AI Studio functionality improvements (\#62)”; and 32 more (refs \#62, \#16, \#18, \#56, \#37).

creators · medium confidence · unverified

36 commits (6 fixes) modifying functions

A change to existing behaviour in functions — 36 commits (6 fixs), 8 files: “bust css and js caches”; “AI Studio functionality improvements (\#62)”; “Update login code (\#38)”; and 29 more (refs \#62, \#38, \#66, \#65, \#63, …).

functions · medium confidence · unverified

37 commits (3 fixes) modifying tos

A change to existing behaviour in tos — 37 commits (3 fixs), 2 files: “bust css and js caches”; “refactor the frontpage to reduce confusion about uploads and block CSAM abuse originating from the site uploads”; “feat: redirect about and tos pages to account.nostr.build — update index.php files to serve new paths”; and 33 more (refs \#62, \#18, \#56, \#37).

tos · medium confidence · unverified

38 commits (5 fixes) modifying about

A change to existing behaviour in about — 38 commits (5 fixs), 1 file: “bust css and js caches”; “refactor the frontpage to reduce confusion about uploads and block CSAM abuse originating from the site uploads”; “Update to 5MB free uploads”; and 35 more (refs \#62, \#25, \#49, \#92, \#18, …).

about · medium confidence · unverified

4 commits (1 fix) modifying api/creators

A change to existing behaviour in api/creators — 4 commits (1 fix), 1 file: “fix creator api to work in a new env”; “don't use stupid SQL, be efficient”; “remove legacy API (\#69)”; and 1 more (refs \#69).

api/creators · medium confidence · unverified

44 commits (6 fixes) modifying libs/db

A change to existing behaviour in libs/db — 44 commits (6 fixs), 8 files: “Add multipart upload status check and enhance completion handling”; “Add blacklist and rejected files management functionality”; “fix the fix again :-)”; and 41 more (refs \#66, \#85, \#100, \#101, \#67, …).

libs/db · medium confidence · unverified

47 commits (4 fixes) modifying login

A change to existing behaviour in login — 47 commits (4 fixs), 1 file: “bust css and js caches”; “refactor the frontpage to reduce confusion about uploads and block CSAM abuse originating from the site uploads”; “AI Studio functionality improvements (\#62)”; and 42 more (refs \#62, \#38, \#49, \#44, \#71, …).

login · medium confidence · unverified

53 commits (9 fixes) modifying features

A change to existing behaviour in features — 53 commits (9 fixs), 1 file: “refactor the frontpage to reduce confusion about uploads and block CSAM abuse originating from the site uploads”; “Update twbuild.css version across multiple files for consistency”; “Small esthetic update”; and 40 more (refs \#89, \#85, \#91).

features · medium confidence · unverified

55 commits (6 fixes) modifying components

A change to existing behaviour in components — 55 commits (6 fixs), 3 files: “bust css and js caches”; “refactor the frontpage to reduce confusion about uploads and block CSAM abuse originating from the site uploads”; “Added Builders and Plans”; and 51 more (refs \#62, \#28, \#49, \#18, \#27, …).

components · medium confidence · unverified

66 commits (11 fixes) modifying delete

A change to existing behaviour in delete — 66 commits (11 fixs), 1 file: “refactor the frontpage to reduce confusion about uploads and block CSAM abuse originating from the site uploads”; “Update twbuild.css version across multiple files for consistency”; “Add purist plan (second attempt) (\#89)”; and 47 more (refs \#89, \#91, \#77, \#78, \#74, …).

delete · medium confidence · unverified

7 commits (0 fixes) modifying register

A change to existing behaviour in register — 7 commits, 1 file: “refactor the frontpage to reduce confusion about uploads and block CSAM abuse originating from the site uploads”; “Add renewals, upgrades, and new plan (\#49)”; “Updated BTCPay store”; and 4 more (refs \#49, \#6).

register · medium confidence · unverified

81 commits (12 fixes) modifying php

A change to existing behaviour in php — 81 commits (12 fixs), 4 files: “fix failing uploads from users with no account”; “Refactor cURL error handling across multiple classes to improve resource management and error logging”; “P4 backend: ≥1-authenticator invariant — removeEmail + allowNpubLogin disable guard (LastAuthenticatorException) + dashboard/email/remove route”; and 78 more (refs \#89, \#38, \#49, \#44, \#85, …).

php · medium confidence · unverified

88 commits (15 fixes) modifying account

A change to existing behaviour in account — 88 commits (15 fixs), 1 file: “bust css and js caches”; “allow expired account to view their media and delte if needed, uploads are restricted”; “revert copy url button back to normal state after 2s timeout”; and 85 more (refs \#62, \#25, \#66, \#34, \#49, …).

account · medium confidence · unverified

9 commits (1 fix) modifying davidlynch

A change to existing behaviour in davidlynch — 9 commits (1 fix), 1 file: “Video.js 10.3.0 on creator pages and the David Lynch page; dl.css cache-busted”; “Update index.html”; “Initial David Lynch Tribute Index”; and 6 more.

davidlynch · medium confidence · unverified

Test coverage

1 commit adding/updating tests in tests

Test coverage in tests — 1 commit, 1 file: “Account Review lookup: account + file= instead of id:, staff excluded in SQL, prefix ordered by name, nostr:/uppercase ids, parser in a lib with a seeded property test”.

tests · high confidence · unverified

Dependencies

66 commits updating dependencies (29 manifests)

A dependency / build maintenance change in (dependencies) — 66 commits (4 fixs), 29 files: “update js dependencies”; “upgrade JS packages to latest”; “PHP build: only /delete's script and the CSS of /delete and /freeview; Tailwind scans those pages (the repo-wide scan ran staging out of memory); unused deps and dead entries removed, the rest bumped; dist cleared each build”; and 63 more (refs \#62, \#66, \#15, \#91, \#77, …).

(dependencies) · high confidence · unverified

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Baseline

  • First survey — no prior run to compare against. CAI 43.1.

Lenses

  • Code Health 49.0
  • Architecture 78.8
  • Maturity 46.4
  • Readiness 30.1
  • Security 91.1
  • Accessibility 65.5

Changes since last survey

  • 300 commits — 257 feature/other, 43 fixes

By area

  • api/v2 — 124 commits
  • account/admin — 33 commits
  • account/index.html — 26 commits
  • (root) — 20 commits
  • build/src — 10 commits
  • libs/Account.class.php — 7 commits
  • libs/S3Multipart.class.php — 7 commits
  • libs/MultimediaUpload.class.php — 6 commits
  • adultview/index.php — 4 commits
  • libs/Plans.class.php — 4 commits
  • libs/Upload — 4 commits
  • libs/utils.funcs.php — 4 commits
  • vendor/aws — 4 commits
  • account/api.php — 3 commits
  • creators/creator — 3 commits
  • features/index.php — 3 commits
  • hw_wallet_select/index.html — 3 commits
  • about/index.php — 2 commits
  • davidlynch/css — 2 commits
  • libs/CloudflareUploadWebhook.class.php — 2 commits

Notable commits

  • fix: Add black and white theme, fix virus scan status popup.
  • fix: Admin no-npub fixes: resolve keeps the uuid-resolved account (no empty-npub round-trip), media-stats + account-review /media key by uuid, overview route guarded; Account skips the lookup + session seeding for an empty identifier
  • fix: Faster GIF upload optimization: gifsicle -O2 with 20s cap via Symfony Process, best-effort (timeout/failure keeps original), fix -b/-o conflict and same-path input/output
  • fix: Fix IPv4 blocklist bypass: bind 16-byte v4-mapped needle instead of 4-byte INET6_ATON
  • fix: Fix Purist plan to allow audio uploads and remove legacy image+video-only restrictions
  • fix: Fix S3 multipart completion writing no DB row: drop the dropped usernpub column from the users_images insert (was orphaning files in final storage), and fail the complete route on an error-result instead of reporting success
  • fix: Fix capitalization in activation messages for consistency
  • fix: Fix free video poster extraction: usersImages is null on the free path (#99)
  • fix: Fix getAllowedMimesArray for Purist account level to avoid redundant merging of mime types
  • fix: Fix type casting for account data in dashboardGetAccountData to ensure proper data types are returned
  • fix: Fix uploadFileFromUrl call to use named argument for no_transform; deleted ios.php legacy API code
  • fix: Fix variable name for mime type in S3Multipart class
  • fix: Folders: never create on file-list read (fixes #100); reserve Home names in all locales for create/default_folder/upload paths (fixes #101)
  • fix: Harden admin API: enforce ban/csam auth server-side, fix fetch credentials, add bulk submit confirmation
  • fix: No-npub fixes: email-account media takedown (drop usernpub 404 guard, csam/paid-media + delete-media), admin gate by uuid, setPlan skips empty-npub NostrLand/blossom, referral lookup by uuid
  • fix: Refactor account dashboard JS: extract shared modules, fix bugs, and eliminate code duplication
  • fix: fix activation for renewal calculation, so we do not add too much time in error. NL integ
  • fix: fix grid actions for Uppy
  • fix: fix timeout to actually be 60 seconds
  • fix: fix uppy, broken internals
  • …and 280 more

Architecture

  • 0 containers · 1 bounded contexts · 0 dependency edges (baseline)

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

nostrbuild/nostr.build was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 17 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 8218fa0823a73dc20a9a7b432289cf442b8a9d70 — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.85+preprod-eba6548ac50f.