Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
97 changes: 89 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,76 @@
# Waymark Flutter
<p align="center">
<img src="assets/images/icon.png" width="128" alt="Waymark app icon">
</p>

Android/iOS rebuild of Waymark Mood. The app is private, local-first, and requires no account.
<h1 align="center">Waymark</h1>

## Setup
<p align="center">
A private, local-first mood journal for Android and iOS.
</p>

<p align="center">
<a href="https://github.com/rigerc/waymark-flutter/actions/workflows/android-ci.yml"><img alt="Android CI status" src="https://github.com/rigerc/waymark-flutter/actions/workflows/android-ci.yml/badge.svg"></a>
<a href="https://github.com/rigerc/waymark-flutter/releases/latest"><img alt="Latest release" src="https://img.shields.io/github/v/release/rigerc/waymark-flutter"></a>
<img alt="Flutter 3.44.6" src="https://img.shields.io/badge/Flutter-3.44.6-02569B?logo=flutter">
</p>

Waymark helps you record how you feel, add context, notice patterns, and keep the resulting journal under your control. It requires no account and stores journal data on your device.

## Features

- Quick mood logging with multiple check-ins per day
- Guided journal entries with notes, prompts, activities, sliders, and photos
- Searchable journal history with important-entry filtering
- Weekly goals, activity-linked progress, and streak tracking
- Mood trends, activity insights, calendar views, and achievements
- Optional reminders, health context, and coarse-location weather
- Light and dark themes with customizable journal options
- Secure PIN lock backed by platform-protected storage
- JSON and photo-archive backups, restore support, and Daylio CSV import

## Privacy

Waymark is local-first:

- Journal content is stored in an on-device SQLite database.
- No account, analytics, advertising, or telemetry is required.
- Health data is requested only when you enable health context.
- Weather is optional and is the only feature that sends a network request; it uses coarse location with Open-Meteo.
- PIN data is stored through Android Keystore or the iOS Keychain.

Back up your journal regularly. Local-first storage means deleting the app or losing the device can remove data that has not been exported.

## Install

### Android

Download the signed APK from the [latest GitHub release](https://github.com/rigerc/waymark-flutter/releases/latest). Android may ask you to allow installation from your browser or file manager.

Waymark supports Android 8.0 (API 26) and newer.

### iOS

Prebuilt iOS packages are not currently published. Build from source with Xcode and your own Apple signing configuration.

## Development

### Requirements

- Flutter 3.44.6 or newer
- Dart 3.12 or newer
- Java 17 and the Android SDK for Android builds
- Xcode and CocoaPods for iOS builds

### Run locally

```sh
git clone https://github.com/rigerc/waymark-flutter.git
cd waymark-flutter
flutter pub get
flutter run
```

The Expo implementation at `../waymark2/` is the read-only behavior reference. See [`docs/feature_parity.md`](docs/feature_parity.md) for the migration contract and [`docs/release.md`](docs/release.md) for signing and device smoke checks.

## Checks
### Checks

```sh
dart format --output=none --set-exit-if-changed lib test
Expand All @@ -20,10 +79,32 @@ flutter test
flutter build apk --debug
```

Signed Android bundles use environment-injected credentials:
GitHub Actions runs the same checks and uploads coverage plus a debug APK for each workflow run.

## Release builds

Android release builds require credentials supplied outside Git:

```sh
export ANDROID_KEYSTORE_BASE64="$(base64 < /path/to/release.jks | tr -d '\n')"
export ANDROID_KEY_ALIAS='waymark'
export ANDROID_KEY_PASSWORD='your-key-password'
export ANDROID_STORE_PASSWORD='your-store-password'
./scripts/build_android_release.sh
```

See [`docs/release.md`](docs/release.md) for the required variables.
The script creates a signed Android App Bundle and removes temporary signing files when it exits. See [`docs/release.md`](docs/release.md) for signing details and the device smoke-test checklist.

## Project structure

```text
lib/app/ Application setup and dependencies
lib/data/ Database, repositories, backups, and platform services
lib/domain/ Journal domain models
lib/ui/ Themes, reusable widgets, screens, and view models
test/ Data-layer and widget tests
```

## Contributing

Issues and focused pull requests are welcome. Before submitting a change, run the checks above and describe the user-visible behavior being changed.