aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* analytics: monthly insight reports + signup instrumentationAdam Soltys2026-06-032-0/+374
| | | | | | | | | | | | | | | | | | | | | 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]>
* catch reverse errorsAdam Soltys2026-03-172-0/+1857
|
* adjust ln minfeeregtest-dataAdam Soltys2026-03-152-0/+300
|
* handle socket errorsAdam Soltys2026-02-251-0/+276
|
* tech debt jubileeAdam Soltys2023-01-083-101/+0
|
* prettierAdam Soltys2022-09-062-28/+42
|
* es6 migrationAdam Soltys2022-09-022-39/+2
|
* update uuid, refactor sync functionAdam Soltys2021-10-271-6/+0
|
* fix case for tableRan Guin2021-08-301-2/+1
|
* update search condition generatorRan Guin2021-07-291-5/+9
|
* add apiParse for generating common search conditionsRan Guin2021-07-281-0/+42
|
* Purge script to wipe coinos-server and coinos-ui clean but without ↵Derrick2021-07-241-0/+31
| | | | | | | destroying local git changes. It is alternative to removing the directories and cloning them again; using this script will accomplish the *same thing but without destroying your local stashes or branches *it will not stash or reset any modified files already tracked in git so those should be stashed separately if any exist for a true clean reset
* deps cleanupAdam Soltys2021-06-091-1/+1
|
* script for checking uploads folderAdam Soltys2020-12-162-0/+54