|
| 1 | +# Mini Notes |
| 2 | + |
| 3 | +A minimal notes app optimized for e-ink displays (600×800), such as the Minimal Phone. |
| 4 | + |
| 5 | +Mostly created by cursor composer model |
| 6 | + |
| 7 | +## Features |
| 8 | + |
| 9 | +- **E-ink optimized**: Monochrome UI, no animations, high contrast |
| 10 | +- **Simple**: Create, edit, and delete notes (no title—just type) |
| 11 | +- **Markdown files**: Notes saved as `.md` files in app storage |
| 12 | +- **WebDAV sync**: Optional cloud sync (Nextcloud, etc.) via Settings |
| 13 | + |
| 14 | +## Build |
| 15 | + |
| 16 | +```bash |
| 17 | +# Ensure ANDROID_HOME is set (or create local.properties with sdk.dir) |
| 18 | +./gradlew assembleDebug |
| 19 | +``` |
| 20 | + |
| 21 | +APK output: `app/build/outputs/apk/debug/app-debug.apk` |
| 22 | + |
| 23 | +### Release build |
| 24 | + |
| 25 | +1. Create a keystore (one-time): |
| 26 | + ```bash |
| 27 | + keytool -genkey -v -keystore release.keystore -alias mininotes -keyalg RSA -keysize 2048 -validity 10000 |
| 28 | + ``` |
| 29 | + |
| 30 | +2. Copy `keystore.properties.example` to `keystore.properties` and fill in your keystore details. |
| 31 | + |
| 32 | +3. Build the release APK: |
| 33 | + ```bash |
| 34 | + ./gradlew assembleRelease |
| 35 | + ``` |
| 36 | + |
| 37 | +Output: `app/build/outputs/apk/release/app-release.apk` |
| 38 | + |
| 39 | +## Install on device |
| 40 | + |
| 41 | +```bash |
| 42 | +adb install app/build/outputs/apk/debug/app-debug.apk |
| 43 | +# or for release: |
| 44 | +adb install app/build/outputs/apk/release/app-release.apk |
| 45 | +``` |
| 46 | + |
| 47 | +## GitHub Release |
| 48 | + |
| 49 | +1. Create a new repository on GitHub and push your code. |
| 50 | + |
| 51 | +2. Create a release: |
| 52 | + - Go to **Releases** → **Create a new release** |
| 53 | + - Tag: `v1.0` (or your version) |
| 54 | + - Title: e.g. `v1.0` |
| 55 | + |
| 56 | +3. Build the release APK locally, then upload `app-release.apk` as an asset. |
| 57 | + |
| 58 | +4. For automated releases, add a GitHub Action (e.g. `.github/workflows/release.yml`) that builds on tag push. Note: signing in CI requires storing the keystore as a GitHub secret. |
| 59 | + |
| 60 | +## WebDAV Sync |
| 61 | + |
| 62 | +1. Open **Settings** (gear icon on the notes list) |
| 63 | +2. Enter your WebDAV folder URL (e.g. `https://cloud.example.com/remote.php/dav/files/user/Notes/`) |
| 64 | +3. Enter username and password (HTTP Basic auth) |
| 65 | +4. Tap **Save**, then **Sync Now** |
| 66 | + |
| 67 | +Sync runs automatically on app start and when you tap Sync. Notes auto-upload 5 seconds after you stop typing. |
| 68 | + |
| 69 | +## Design |
| 70 | + |
| 71 | +- Black & white only |
| 72 | +- Monochrome vector icons |
| 73 | +- No animations or transitions |
| 74 | +- Layout tuned for 600×800 e-ink displays |
0 commit comments