Getting started
Running jotrockenmitlocken locally, where the build and test commands are, and the known issues. How the content is laid out and published: publishing-posts.md.
Prerequisites
Flutter (online documentation). CI takes Flutter from the family Linux image, not from a local install (AGENTS.md § 4).
Run the web server locally for debugging
git clone --recurse-submodules --branch develop https://github.com/Kataglyphis/jotrockenmitlocken.git
cd jotrockenmitlocken
flutter run -d web-server --profile --web-port 8080 --web-hostname 0.0.0.0
Note: a local run shows only the sample blog that ships with the ANThology package; the book/film/... critics and data tables stay empty. Their source content .md files are my intellectual property and visible only to me. The Flutter/Dart source code is open source.
CI pulls that content off WebDAV before it builds (scripts/sync-webdav-content.sh, with the four
WebDAV credentials it holds as repository secrets).
Build, test, dependency upgrades
Every command is in AGENTS.md § 5: the Dart gate CI runs, the
lint gates, the content sync, the WASM and CanvasKit web builds, the two end-to-end tests,
flutter gen-l10n, and Renovate as a local CLI over every dependency manager this tree has (the
two submodule gitlinks in .gitmodules and pubspec.yaml among them). Why Renovate runs as a
local CLI, and the full workflow:
ANTfrastructure's dependency-updates.md.
Shared scripts
Before adding a Bash or PowerShell helper, search this repository and its direct submodules, including ANTfrastructure. Reuse or extend the shared owner with site-specific arguments; AGENTS.md holds the contributor rule.
Pages and file actions
Changing language, theme or window size keeps the current route and page state. Localized Markdown and skills reload their selected asset without remounting the page. File buttons use ANThology's browser actions or native open/save dialogs and show feedback if an action fails.
The app's layout test registers ANThology's dev-only widget contracts. The same cases run in OmniAccelerANT, including real bottom-navigation and appearance-button taps.
App icons
The web icons live in web/app-icons/, not Flutter's web/icons/: the production host's Apache
maps /icons/ to its own icon directory, so every file there answered 404. The hub's web
artefacts gate fails a web/icons/ again (failure-modes.md).
flutter_launcher_icons writes only web/icons/, so its web generator is off. To regenerate the
web icons from assets/icons/kataglyphis_app_icon.png:
- Set
flutter_launcher_icons: web: generate: trueinpubspec.yamland rundart run flutter_launcher_icons. - Move its output:
mv web/icons/* web/app-icons/ && rmdir web/icons. - Restore
web/manifest.jsonandpubspec.yaml(git checkout -- web/manifest.json pubspec.yaml): the generator points the manifest back aticons/. - Re-encode the PNGs to 8 bits, as the artefacts gate's message says.
Known issues
- The old
flutter_highlighterpatch is no longer needed: the unused dependency was removed from ANThology. Code blocks render throughmarkdown_widget. flutter_markdown(note from 2024): not in a stable version. I edited its blockquote section by hand to centre it, and upstream had an open issue on building aMarkdownBuilderfor a blockquote. Markdown now renders throughmarkdown_widget, andflutter_markdownis no longer a dependency.
Android launcher validation
The existing shared Flutter artifact gate checks Android launcher resources and the manifest alongside web assets. CI does not currently build an APK.
Literature
Flutter/Dart: