app
Adom Wiki CLI
Public Made by Adomby adom
The Adom Wiki CLI: publish and install packages with verified signatures, cut releases, open PRs and discussions, and discover and administer the wiki, all from your terminal. Replaces adompkg.
activity verbs: read the private commit feed, claim identities, admin repos and sync
The wiki has a private, author-scoped commit activity feed (adom/wiki#207, on prod). Routes to wrap:
GET /api/users/:handle/activity?range=week|last-week|7d|30d|90dorsince=YYYY-MM-DD&until=YYYY-MM-DD,&repo=owner/name,&format=md.:handlemay beme. Owner or admin only (404 ACTIVITY_PRIVATE otherwise). JSON:{ handle, range, total, repos[{repo,count,first,last,page}], commits[{repo,sha,short,branch,committed_at,title,message,files,url,page}], identities, ingest, markdown, hint? }.GET|POST|DELETE /api/users/:handle/activity/identitiesbody{ kind: "github_login"|"email", value }(201 on add withbackfilled; 409 IDENTITY_TAKEN; 400 on a malformed value).- Admin:
GET /api/admin/activity,POST|DELETE /api/admin/activity/repos { repo, page?, enabled?, purge? },POST /api/admin/activity/sync.
Asks:
adom-wiki activity [--range <key> | --since <day> --until <day>] [--repo <owner/name>] [--md] [--user <handle>]: default range last-week; table grouped by repo (date, short sha, title);--mdprints the server's Markdown report verbatim (it is the weekly-report shape);--jsonpassthrough.adom-wiki activity claim <github-login>andadom-wiki activity claim --email <addr>(POST identities onme),activity identities(list),activity unclaim.- Admin:
adom-wiki activity repos [--add owner/name [--page owner/slug]] [--remove owner/name [--purge]],adom-wiki activity sync. - Pass through the hints: ACTIVITY_INGEST_UNCONFIGURED, ACTIVITY_UNRESOLVED_AUTHORS (print the unattributed logins and the claim command), ACTIVITY_SOURCE_LINKED (already rides push/publish responses).
Docs: docs/activity-feed.md and the API reference "Commit activity" section in the git-wiki repo.