Skip to main content

Dawarich

@magistr/dawarichv2026.07.16.2· 9d agoMODELS
01README

Dawarich self-hosted location-tracking API for swamp — read points, visits, tracks, statistics, digests, geotagged photos, and service health, and update user settings on a Dawarich instance.

Model:

  • @magistr/dawarich — wraps the Dawarich /api/v1/* API. Methods: health, stats, points, tracked-months, visits, tracks, settings, update-settings, digests, and photos. Each call persists its result as a swamp data resource for later CEL querying.

Authenticates with an API key from the Dawarich Account settings page; supply it via a vault expression so it is never persisted in cleartext. Date-range filtering and pagination are supported on the points, visits, tracks, and photos methods.

02Release Notes

Release 2026.07.16.2 — align model versions with manifests

Maintenance release across the @magistr extensions. For most packages this carries no functional change: the only edit is the model's version: field, brought back in line with its manifest version so the published model type version and the package version no longer drift.

Functional changes in this release are limited to:

  • anime-cron: normalizeTitle now strips a ": subtitle" suffix and a trailing parenthesized year before comparison, fixing dedup false-misses where the torrent title carries a subtitle or year that the AniList romaji does not.

  • arckit: first publish. Standalone ArcKit port — a 12-phase architecture governance state machine with 65 bundled templates, driven by a bundled skill.

Also tracks three extensions (kaiten, observability-agent, music-library) that previously existed only as untracked working-tree directories, recovered from stashes.

03Models1
@magistr/dawarichv2026.07.16.2extensions/models/dawarich.ts

Global Arguments

ArgumentTypeDescription
baseUrlstringDawarich instance URL (e.g. https://dawarich.example.com)
apiKeystringAPI key from Account settings - use vault: ${{ vault.get(vault-name, KEY) }}
fn health()
Check Dawarich service health
fn stats(year: number, month?: number)
Get monthly statistics
ArgumentTypeDescription
yearnumberYear to get stats for
month?numberMonth (1-12), omit for yearly
fn points(startAt?: string, endAt?: string, page?: number, perPage?: number, order?: enum)
Get location points with optional date filtering
ArgumentTypeDescription
startAt?stringStart date (ISO8601)
endAt?stringEnd date (ISO8601)
page?numberPage number
perPage?numberPoints per page (default 100)
order?enumSort order
fn visits(startAt?: string, endAt?: string, page?: number, perPage?: number)
Get visit records with optional date filtering
ArgumentTypeDescription
startAt?stringStart date (ISO8601)
endAt?stringEnd date (ISO8601)
page?numberPage number
perPage?numberRecords per page
fn tracks(startAt?: string, endAt?: string, page?: number)
Get tracks with optional date filtering
ArgumentTypeDescription
startAt?stringStart date (ISO8601)
endAt?stringEnd date (ISO8601)
page?numberPage number
fn settings()
Get user settings
fn digests(year: number, periodType?: enum)
Get yearly or monthly digests
ArgumentTypeDescription
yearnumberDigest year
periodType?enumPeriod type (default: yearly)
fn photos(startAt?: string, endAt?: string, page?: number)
Get geotagged photos
ArgumentTypeDescription
startAt?stringStart date (ISO8601)
endAt?stringEnd date (ISO8601)
page?numberPage number

Resources

health(1h)— Service health status
stats(infinite)— Monthly/yearly statistics
points(infinite)— Location points
trackedMonths(infinite)— Months with tracking data
visits(infinite)— Visit records
tracks(infinite)— Track data
settings(infinite)— User settings
digests(infinite)— Yearly/monthly digests
photos(infinite)— Geotagged photos
04Previous Versions1
2026.05.25.1

Merge pull request #5 from umag/extensions/jscad-stl-pair

extensions: add 15 more @magistr extensions + auto-discover CI

05Stats
A
100 / 100
Downloads
2
Archive size
6.6 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
06Platforms
07Labels