lib/maptool/kiwix.rb: a small reachability check for an external kiwix-serve instance. GET /api/kiwix reports it (same optional- integration pattern as offline-tiles/terrain-tiles); the frontend adds a "Nearby on Wikipedia" link to a point's popup pointing straight at kiwix-serve's own geo search (GET /search?latitude=&longitude= &distance=, confirmed from libkiwix's actual source rather than guessed) — linked to directly, not proxied/embedded, since it already has a full search UI of its own. docker-compose.yaml: new `kiwix` service (ghcr.io/kiwix/kiwix-serve) on the default network, KIWIX_URL wired to reach it by service name. The ZIM itself isn't part of the repo (large, self-contained archive) — data/kiwix/ gitignored same as the *.pmtiles files, setup steps in docs/development.adoc. No kiwix-serve/ZIM available here to test end-to-end — verified the app side against a stand-in local HTTP server (GET /api/kiwix flips available correctly) and confirmed the generated popup link matches the real geo-search query shape. docker-compose.yaml validated with `docker-compose config`. Full test suite: 118 runs, 0 failures.
41 lines
864 B
Plaintext
41 lines
864 B
Plaintext
# Ruby / Bundler
|
|
/.bundle/
|
|
/vendor/bundle/
|
|
*.gem
|
|
/log/
|
|
/tmp/
|
|
|
|
# tea CLI's own local cache (e.g. `tea actions runs logs`)
|
|
/.tmp/
|
|
|
|
# Offline map tile data (large binary; obtained/generated locally,
|
|
# see docs/development.adoc)
|
|
/data/*.pmtiles
|
|
|
|
# Offline Wikipedia ZIM for kiwix-serve (also large, also local-only —
|
|
# same story, see docs/development.adoc)
|
|
/data/kiwix/*
|
|
!/data/kiwix/.gitkeep
|
|
|
|
# User-uploaded GPX files
|
|
/data/gpx/*
|
|
!/data/gpx/.gitkeep
|
|
|
|
# Garmin LiveTrack session IDs received via webhook
|
|
/data/livetrack.json
|
|
|
|
# Editor / OS
|
|
.DS_Store
|
|
*.swp
|
|
|
|
# Local tooling settings
|
|
.claude/settings.local.json
|
|
|
|
# Deployment secrets (SESSION_SECRET, Gitea OAuth2 client id/secret) — lives
|
|
# only on the server, see docs/deployment.adoc
|
|
.env
|
|
|
|
# Written by the CI deploy job with the commit it deployed — never
|
|
# committed itself, see app.rb's REVISION
|
|
/REVISION
|