- Kotlin 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
All checks were successful
Android Release / release (push) Successful in 2m35s
Reviewed-on: #32 |
||
| .forgejo/workflows | ||
| android | ||
| .gitignore | ||
| CLAUDE.md | ||
| README.md | ||
Journal — Android app
The native Android client for Journal: handwriting and typing on lined, graph or blank pages, journals with a calendar, notebooks, and Family memories, synced with the Journal server and usable offline.
Everything is in android/: building, tests, installing,
signing in, and how releases reach a device through Obtainium.
Where the server went
This repo used to hold the server and web client too, written in Python (FastAPI).
Both now live in journal-c (brian/journal-c), a C reimplementation with the same
API, schema and web frontend. The app talks to it over HTTP and doesn't care which
implementation answers.
The last Python server is the tag python-final. It stays because journal-c's
differential test (tests/integration/run.sh) builds the Python server from that tag
and diffs every response against the C one. Don't delete or move it.
The web client in journal-c (frontend/) is the reference the app copies: the page
format, the paper geometry, the journal-day rule and the sync semantics are ports of
app.js, data.js and tz.js there. A change to one of those on either side needs
the same change on the other.
Page content model
Pages store vector content (not images), so they stay small and re-render crisply at any zoom. The web client writes the same shape:
{ "width": 1240, "height": 1754,
"strokes": [ { "color": "#1a1a1a", "size": 2, "points": [[x, y, pressure], ...] } ],
"texts": [ { "x": 120, "y": 80, "size": 18, "color": "#1a1a1a", "text": "..." } ],
"doc": "<p>rich-text HTML for word-processor mode</p>", "wordMode": false }
model/PageContent.kt reads and writes it, matching normalizeContent() in
journal-c's frontend/app.js field for field. Fields it doesn't know are ignored on
read and not written back, so a field added on the web has to be added here too
before the app re-saves those pages.
Releases
.forgejo/workflows/android-release.yml builds a signed APK on every push to main
that touches android/ and publishes it as an android-v1.0.<n> release.
<n> is the commit count of this repo, which is why the app has to stay in this
repo's history: see android/README.md.