Skip to content
carterfallsPublic

About

locally hosted the open source Memos application on android - allows for connection to private server as well. Has an offline mode that stores and syncs changes both ways when reconnected.

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Go Memos

Your self-hosted Memos, on your Android phone, with or without a connection.
An unofficial companion app. Not affiliated with the Memos project.


What this is, in one paragraph

Go Memos runs a private copy of Memos on your phone: the same official Memos program, unmodified, at the same version as your server. You use the normal Memos interface from that copy, so the app looks and works exactly like Memos in your browser, and it keeps working on a plane, in a basement or when your server is down. In the background, the app keeps the phone's copy and your server in sync. Your server stays the main copy; apart from your memos, the only thing the app adds there is the access token it signs in with.

            your phone                                   your server
 ┌──────────────────────────────────────┐        ┌────────────────────────┐
 │  Memos interface (what you see)       │        │  Memos                  │
 │            │                          │  sync  │  (unchanged; still used │
 │  Memos, running privately on the phone├───────►│   by your browser and   │
 │  (same official version as the server)│◄───────┤   other apps)           │
 └──────────────────────────────────────┘        └────────────────────────┘
        works offline                    whenever the server can be reached

Is it for you?

Yes, if you run your own Memos server (official release 0.31 or newer), or want to start with Memos on your phone only and maybe add a server later, you want to read and write memos on Android without a connection, and you are comfortable installing an app from outside the Play Store.

Not (yet), if:

  • Your server sits behind an extra login gate (Cloudflare Access, basic auth).
  • You rely on comments or reactions offline: they are not synced yet.
  • Your phone is 32-bit or runs Android older than 8.

How it compares

Memos in the phone's browser / web app Other Memos apps Go Memos
Interface Official Their own design Official
Works offline No Varies by app Fully: read, write, edit, archive, delete
New Memos features Immediately When the app adds them Immediately (it runs the real Memos)
Install None Play Store / F-Droid Download the APK
Phone storage None Small A full copy of your memos and files

What gets synced

Memos Text, pin, archived state, visibility, creation time, tags
Files Images and attachments, both ways (up to 50 MB each)
Spaces (Memos 0.31+) Your Spaces, their members and everyone's memos in them, from the server to the phone
Not yet Comments, reactions, links between memos, user settings

When the same memo changes in two places, nothing is overwritten: different fields are merged (say, a pin on one side and new text on the other). If both sides changed the text, the phone's version is kept as a separate memo tagged #conflict. A memo edited on one side and deleted on the other is kept. Deleting a memo is permanent on both sides, as in Memos itself, so archive what you might want back.

Requirements

  • Android 8 or newer, 64-bit (practically every phone from the last several years)
  • Your own Memos server, official release 0.31+ (0.30 works without Spaces), reachable from the phone at least sometimes:
    • over https:// from anywhere, or
    • over http:// only on your home network, Tailscale (100.x.y.z, *.ts.net) or the phone itself. Plain http over the internet is refused, so your password and memos are never sent unencrypted.
  • Internet once, on first start, to download Memos (about 20 MB) from the official Memos releases
  • Free space for your memos and files, plus about 100 MB

Install

  1. Download go-memos-<version>.apk from Releases on the phone and open it.
  2. Allow installs from that app when Android asks.
  3. If Android says the app was built for an older version of Android, tap Install anyway. That's expected, and explained below.

Updates: use Obtainium with this repository's URL to be notified of new releases, or install a new APK over the old one. Your memos are kept.

Set up

  1. Open the app and enter your server address, e.g. https://memos.example.com or http://100.101.102.103:5230.
  2. Optionally add a second address for the same server (e.g. its home Wi-Fi address). The app uses whichever answers.
  3. Enter your Memos username and password, then tap Connect. If you sign in to Memos through single sign-on, tap Sign in with an access token instead and paste a token created in Memos → Settings → Access tokens (no expiry).

Your password is used once to create an access token for this phone, then forgotten. You'll see the token in Memos under Settings → Access tokens and can revoke it there. The first copy takes about a minute per few thousand memos.

No server yet? Use it on your phone only

On the first screen, tap No server? Use Go Memos on this phone only. You get the full Memos app with no server, and your memos stay on the phone. They aren't backed up anywhere else, so uninstalling the app or losing the phone loses them.

When you set up a Memos server later, tap the status line, then Connect a server…, and sign in. The app then asks what should happen to the memos already on the phone:

  • Keep them and upload to the server: they are added to your server next to its memos, with their dates, pins, images and files. Nothing on the server is changed or removed.
  • Start fresh from the server: every memo on the phone is permanently deleted, then your server's memos are copied here. The app asks you to confirm this a second time.

From then on, the phone and the server stay in sync as described below. If anything goes wrong while connecting, nothing on the phone changes.

Everyday use

  • The status line at the top shows sync state. Tap it for details, Sync now, your addresses, and Open your server directly (for things like share links).
  • Phone changes reach the server within seconds while it's reachable. Server changes arrive when you open the app and about every 30 minutes in the background.
  • Offline, just keep working. The status line counts the changes waiting to be sent.

When your server's Memos version changes

The app never needs a new APK for this.

Your server... The app...
moves to a newer official release downloads the same version, checks its published checksum, rehearses the upgrade on a copy of your phone's memos with a self-test, backs up, switches, and rolls back if anything fails
moves back to an older release offers to rebuild the phone's copy on that version: memos are copied one by one into a fresh copy, checked, and only then used. The previous copy is kept as a backup
runs a custom or development build shows your server directly while online and pauses syncing

Whenever versions differ, the app shows your server's own Memos while online and pauses syncing, so two different versions never write to each other. Phone changes are kept and sync once the versions match.

Safety and privacy

  • No tracking, no analytics. The app talks to your server and, to download Memos, to the official Memos releases on GitHub. Nothing else.
  • Downloads are verified against the checksums published with each Memos release.
  • The phone's Memos listens only inside the phone (127.0.0.1), with sign-ups disabled and random passwords. Other apps on the phone could read memos you marked Public, just as anyone can on your server.
  • Sign-ins are encrypted with the Android Keystore, and the app is excluded from Android cloud backups.
  • Uninstalling deletes the phone's copy, including changes not yet synced.
  • This is beta software. Keep backups of your server, as you should anyway.

Why the "older Android" warning?

Since Android 10, an app may only run a program it downloaded if it targets the Android 9 rules. Go Memos downloads the official Memos program instead of shipping a modified one, so it targets Android 9, as Termux does. That's also why it can't be on the Play Store.

Troubleshooting

You see What to do
"No Memos server answered" Check the address and port; open it in the phone's browser; turn on Tailscale or your VPN if you use one.
"use https://, or a Wi-Fi / Tailscale address" Use your server's https address, or connect over your home network or Tailscale.
"Your server runs an older Memos" Tap the status line → Rebuild on Memos X…, or update the server again.
"Your server runs a custom Memos build" The phone can only run official releases.
"N memo(s) could not be copied" Tap the status line: each memo and the server's reason are listed. The rest keeps syncing, and these are retried every time.
A memo tagged #conflict It changed in two places. Keep what you want, delete the other.

Still stuck? Open an issue and paste the text from the status menu (it can be selected and copied).

For developers

sync-core/   Platform-neutral Kotlin: Memos API client, two-server sync, Space copying,
             version download/verification, self-test, rebuild. Unit and contract tests.
app/         The Android app: runs the downloaded Memos, schedules sync, shows the
             official interface in a WebView.
scripts/     Throwaway official Memos servers for the contract tests.
docs/        How it works in detail: docs/HOW_IT_WORKS.md
./gradlew :sync-core:test                  # unit tests
scripts/test-servers.sh start && source .test-servers/env
./gradlew :sync-core:test --rerun          # + contract tests against real Memos servers
./gradlew :app:testReleaseUnitTest --rerun # + the app's download/upgrade/rebuild code
scripts/test-servers.sh stop

JDK 17+ and Android SDK 35. Release builds are signed with a key that isn't in this repository; ./gradlew :app:assembleRelease without it produces an unsigned APK.

Contributing

Issues and pull requests are welcome; see CONTRIBUTING.md. When a new Memos release fails the app's self-test, the app pauses syncing safely and shows why. Please report it with the Memos version and the message.

License

MIT, see LICENSE. Memos is © the Memos authors (MIT). It is downloaded by the app, not included in it. Third-party notices are in NOTICE.

Go Memos is an independent project and is not affiliated with or endorsed by the Memos project.

About

locally hosted the open source Memos application on android - allows for connection to private server as well. Has an offline mode that stores and syncs changes both ways when reconnected.

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages