Skip to content
unsigned57Public

About

Lomo is a memos-like application for Android that uses native Markdown and is built on Jetpack Compose and Material 3.

Topics

Resources

Stars

38 stars

Watchers

0 watching

Forks

Repository files navigation

Lomo logo

Lomo

English | 中文

Local-first Markdown memos on Android and Linux — no cloud lock-in.

Release Android Linux License GPL-3.0 minSdk 26

Download APK · Sponsor

Menu Home Detail

Menu · Home · Detail

Features

Capture

  • Local plain text — memos are standard Markdown files
  • Voice recording — capture thoughts hands-free
  • Home screen widgets — quick capture and recent notes

Organize

  • Tags — organize with #tags, including nested tags like #tag1/tag2
  • Full-text search — indexed local search
  • Material 3 — clean UI with dynamic color
  • Desktop TUI — lomo in a terminal: timeline, tasks, review, stats, media, trash, settings

Review

  • Heatmap — GitHub-style contribution graph for writing habits
  • Daily review — flashback to this day in previous years

Sync & share

  • S3 backup (recommended) — object storage with end-to-end encryption
  • Git / WebDAV — optional built-in backup paths
  • LAN sharing — share notes to other Lomo devices on the local network

How should you sync?

Notes live entirely on your device. Pick one path:

  1. S3 (recommended) — the only built-in option with end-to-end encryption; what the author uses day to day, and the most actively maintained
  2. Any file sync — Syncthing, Nextcloud, or anything else that syncs the local folder
  3. Git / WebDAV — built-in backups (WebDAV has mainly been tested with Nutstore)
Obsidian / Rclone notes

Lomo’s S3 sync is compatible with the Obsidian Remotely Save plugin. That plugin has not been actively maintained for a long time, so for Android-to-Android syncing it is better to point Lomo’s S3 sync at the root of your Obsidian vault. Custom folder sync is supported; on Linux, Rclone is usually the better desktop companion.

Why Lomo?

Lomo draws inspiration from excellent predecessors like Memos, Flomo, Moe-Memos, and the Thino plugin for Obsidian. The name itself is a nod to "Local Memo" (or simply Flomo without the F—Foreign/Cloud).

Why build another one? Most existing solutions require a server or network connection. I wanted the "Memos experience"—lightweight, timestamped thoughts—but strictly offline and based on local Markdown files (proven to be the most universal and portable format).

For a long time, I relied on the Thino plugin in Obsidian. While Thino covers the basics, Obsidian's mobile client can feel heavy, and I found the plugin's mobile UI/UX lacking in snappiness and polish.

Compatibility: Lomo is fully compatible with Thino's daily note format. You can effectively treat it as a standalone, native Android client for your Thino data.

A Note on Development: This project was built almost entirely using AI-assisted development tools. Since Lomo is tailored to my specific workflow, I plan to maintain it for as long as it remains part of my daily toolchain. If you have concerns about the stability of AI-generated code, feel free to fork and adapt it to your needs.

Install

Android

  1. Download the latest APK from Releases
  2. Install on an Android device (Min SDK 26)
  3. On first launch, choose a local folder for your memos

Desktop TUI (Linux, macOS, Windows)

  1. Grab the archive for your platform from GitHub Releases, verify the .sha256 checksum, and unpack lomo:
    • Linux x86_64: lomo-*-x86_64-unknown-linux-gnu.tar.gz (Arch users can instead run makepkg -si inside apps/tui/packaging/arch/lomo-bin)
    • macOS Apple Silicon / Intel: lomo-*-aarch64-apple-darwin.tar.gz / lomo-*-x86_64-apple-darwin.tar.gz — untagged builds are unsigned; if Gatekeeper blocks the binary, clear it with xattr -d com.apple.quarantine lomo or allow it in System Settings
    • Windows x86_64: lomo-*-x86_64-pc-windows-msvc.zip — run lomo.exe in Windows Terminal, PowerShell, or a console host
    • Or run from a checkout on any platform: cargo run -p lomo-tui --release --locked
  2. Pass a directory on the command line to bind it as the workspace: lomo /path/to/notes. First run creates config.toml automatically under the platform config dir (default workspace = ~/Notes):
    • Linux: $XDG_CONFIG_HOME/lomo/ (usually ~/.config/lomo/)
    • macOS: ~/Library/Application Support/lomo/
    • Windows: %APPDATA%\lomo\
  3. Set workspace to your notes directory. Editor priority is that config, then $VISUAL, then $EDITOR (never a vim default)
  4. Linux requires $XDG_RUNTIME_DIR; macOS and Windows fall back to a private run directory. Missing clipboard or player fails closed instead of pretending success. The media opener defaults to xdg-open on Linux, open on macOS, and Start-Process via PowerShell on Windows — override with player = [...] in config.toml
  5. Diagnostics: LOMO_LOG=debug lomo writes lomo.log under the state dir ($XDG_STATE_HOME/lomo/ on Linux, ~/Library/Application Support/lomo/ on macOS, %LOCALAPPDATA%\lomo\ on Windows); a crash restores the terminal and writes a report under <state>/crash/

The home screen is a centered, single-column memo feed.

  • Enter opens full text; Esc restores the reading position
  • n opens a recoverable multiline draft; Ctrl+S saves; Ctrl+E hands the draft to an external editor; e edits an existing memo externally
  • / searches (Ctrl+F switches fulltext / fuzzy + pinyin); : opens the grouped command palette (this item, filters, pages, everything else); . shows only the current item's actions; e m d edit, pin and trash directly
  • Esc peels one layer at a time and the hint bar always names what it will do next
  • Terminals with an image protocol render images in full text

The desktop TUI does not include built-in Git/WebDAV/S3 sync or LAN sharing; copy the Markdown workspace and attachments (including .trash to retain deleted memos), or use an external file sync tool. History, pins and internal control state stay private to each installation.

Building from source is covered under Building below.

Support

If Lomo is useful to you, you can support the project here: Sponsor page.

Tech stack
  • Languages: Kotlin + Rust (Rust native core via JNI). The desktop TUI is a host binary with no JNI.
  • UI: Jetpack Compose (Material 3) on Android; Ratatui terminal UI on desktop
  • Architecture: MVVM + Clean Architecture (Domain / Data / UI) on Android; TEA composition root on desktop
  • DI: Koin (Android)
  • Async: Coroutines & Flow (Android)
  • Data:
    • Markdown workspace storage through the Storage Access Framework on Android, host filesystem on desktop
    • Rust-owned SQLite derived index and durable app-private control state
Building

Prerequisites: Rustup, just, and the JDK/Android SDK versions specified by the app module. See canonical build inputs.

# Install pinned Rust tools, targets, and Android NDK
just bootstrap

# Build and validate Debug APK
just build android debug

# Build the desktop TUI binary (target/lomo/artifacts/tui/release/lomo)
just build tui release

# Run the TUI
cargo run -p lomo-tui --release --locked

# Verify affected owners together for a broader change
just dev

# Reproduce the CI check locally when needed
just check

# Run complete integration verification locally when GitHub evidence is unavailable
just ci

For routine changes, use the focused check that shows the result. See verification by change.

See the directory map for source ownership and packaged outputs.

native-bindings/src and native .so files are generated build outputs. Builds must work from a clean checkout; existing local edits are also supported and must be preserved. Signed release builds use just build android release and require the keystore configuration in Release.

Production FFI identity is native-bindings / com.lomo.nativebridge / liblomo_native_jni.so. Capability fixtures live in fixtures; module authority lives in Architecture. The documentation index maps each document to its owner.

Android Studio may still be used for editing and device work, but repository verification and native generation must use the commands above. For headless UI debugging and flow reproduction against the redroid container device, see Android UI test.

License

This project is licensed under the GNU General Public License v3.0.

About

Lomo is a memos-like application for Android that uses native Markdown and is built on Jetpack Compose and Material 3.

Topics

Resources

Stars

38 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages