aboutsummaryrefslogtreecommitdiffstats
path: root/lib/register.ts
Commit message (Collapse)AuthorAgeFilesLines
* analytics: monthly insight reports + signup instrumentationAdam Soltys2026-06-031-0/+3
| | | | | | | | | | | | | | | | | | | | | scripts/analytics.ts — streams live db (SCAN, never KEYS) and reports for a trailing window (default 30d): MAU/WAU, new users, custody total + top holders, network volume by type (lightning/liquid/bitcoin/internal/bolt12/ fund), most-active and highest-volume users, and bolt12 recipients with a "regular" flag for the Ocean mining-reward stream. scripts/analytics-geo.ts — top countries from the request log. Counts only /login + /register events tied to a username (raw cf-ipcountry volume is dominated by datacenter/nostr traffic). Surfaces a distinct-IP-per-country column so proxy/VPN egress is visible, and filters a known credential-test bot IP. Honest result: US #1, then GB/CA/JP/DE/ES/BR. lib/register.ts — stamp `created` (ms epoch) and store `country` (CF/ ipregistry code) on new users, so future reports get real signup timing and geography from the db directly instead of log archaeology. Existing users predate this; backfill is out of scope. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
* check usernameAdam Soltys2026-01-191-0/+1
|
* check for syncSquareAdam Soltys2025-09-081-1/+1
|
* reserved usernamesAdam Soltys2025-08-071-0/+2
|
* rm logAdam Soltys2025-07-111-2/+0
|
* fresh attributeAdam Soltys2025-07-101-0/+2
|
* username checksAdam Soltys2025-06-161-1/+1
|
* increase default nwc limitAdam Soltys2025-06-161-1/+1
|
* strip spacesAdam Soltys2025-02-251-2/+2
|
* allow spacesAdam Soltys2025-02-251-1/+1
|
* set app created timeAdam Soltys2025-02-191-0/+1
|
* nwc app prefixAdam Soltys2025-02-131-1/+1
|
* add uid to default appAdam Soltys2025-02-131-2/+4
|
* fix registrationAdam Soltys2025-02-111-3/+2
|
* default app on registerAdam Soltys2025-02-111-1/+12
|
* send nsec on registrationAdam Soltys2025-01-101-1/+3
|
* fix variable scope issueAdam Soltys2024-12-311-1/+1
|
* nostr registrationAdam Soltys2024-12-301-6/+9
|
* fix pubkey registrationAdam Soltys2024-12-301-11/+8
|
* return nwc and token on registrationAdam Soltys2024-12-031-0/+13
|
* biome lintAdam Soltys2024-10-311-6/+6
|
* pubkeys cacheAdam Soltys2024-10-141-0/+1
|
* default followsAdam Soltys2024-10-141-0/+2
|
* reconcile onchain balanceAdam Soltys2024-09-241-5/+15
|
* increase bcrypt roundsAdam Soltys2024-09-031-5/+6
|
* typescriptAdam Soltys2024-08-261-0/+62