r/selfhosted • • 16h ago • Bravo 1

Text Storage Kept Notes: self-hosted Google Keep alternative with encrypted notes, location reminders, offline-first mobile apps, and more

I posted about Kept here a couple of months ago and figured it was worth sharing an update. Quite a bit has changed since then, much of it thanks to feedback from people from here using it.

For anyone who hasn't seen it, Kept is my attempt at making a self-hosted alternative to Google Keep. I liked how quick and simple Keep was, but wanted something I could run on my own server without giving up that experience.

It's grown quite a bit since I first released it, and we're now at version 1.9.8. I've been trying to keep the simplicity of Keep while adding some of the things I always wished it had.

The core note-taking stuff:

  • Rich text notes, including code blocks with syntax highlighting, images, drawings, file attachments, and link previews. Pasting a URL can create a preview card automatically.
  • Nested checklists with drag-and-drop ordering, sorting, and options for managing completed items. Notes and checklist items can be rearranged.
  • Labels, binders, colours, backgrounds, pinned notes, archiving, and trash. There's also quite a bit of control over the layout and appearance.
  • Search and filtering by note type, labels, dates, attachments, reminders, binders - extensive filtering to find things.
  • One-time and recurring reminders, and location-based reminders through the native mobile apps.
  • Real-time collaboration, including shared notes and binders between users on the same server.
  • Dedicated keyboard shortcuts - enabling keyboard-first note entry
  • Multiple language support, currently Kept is available in German, Hebrew, English, and Polish

Mobile apps and offline use:

One of the bigger developments has been getting proper native iOS and Android apps out.

Both can connect to a self-hosted Kept server, and notes remain available to view and edit offline. Changes sync when the server becomes reachable again.

There's also a completely device-only offline mode. You don't need to create an account, run Docker, or even have a server. You can just use the app locally, make backups, and move your notes to a server later if you decide you want syncing.

The apps have home screen widgets, share sheet integration for quickly capturing links, photos and files from other apps, and location-based reminders. \

Some of the more technical features:

  • Passcode-protected locked notes with AES-256-GCM encryption.
  • Google Keep Takeout importing, including support for bringing an existing collection over.
  • Full server backups and restore, along with scheduled database backups and configurable retention policies.
  • OIDC single sign-on, local user accounts, optional 2FA, and user management.
  • Local and remote MCP integration, along with OAuth 2.1 support, so compatible AI clients and other applications can interact with notes using scoped access.

GitHub: https://github.com/ericerkz/kept

Website: https://keepitkept.xyz

220 Upvotes

56 comments sorted by

•

u/asimovs-auditor 16h ago

Expand the replies to this comment to learn how AI was used in this post/project.

→ More replies (1)

34

u/Happy-Argument 15h ago

This is definitely an unmet need in self-hosting.

Mind providing some more background on how it was implemented? Fully vibe coded? AI coded but code reviewed? Just AI assisted? 

No shade, just need to know how much I need to review before putting any data in here

29

u/KeptNotes 15h ago • Regret

Of course and I believe in transparency, especially when it comes to something you may throw on your own stack - Kept is heavily AI-developed. My background is in IT infrastructure, so I'm involved in the testing, troubleshooting, infrastructure and ongoing development, but I wouldn't claim this is an airtight project. It's never a bad thing to be protective of your data.

14

u/XxNerdAtHeartxX 15h ago • Bravo

Check out Anchor if you want another option. Its what I use, and like it quite a bit so far. Only mark against it is no widgets on ios

-1

u/KeptNotes 15h ago

Feel free to give Kept a try too if you're ever looking for another option! :) We've got iOS widgets and location-based reminders, among other things.

4

u/3MarkFuffzich 12h ago

As I am running anchor too, can you tell us a bit about the differences between the two options from your perspective?

0

u/KeptNotes 4h ago edited 4h ago

Sure! Transparently, I've never used anchor personally - but reviewing their features, it also looks solid! It's worth giving both a try to see what fits people's preferences best.

The biggest differences I'd point to just based on my reading:

• Encrypted notes: you can lock individual notes with a passcode, and their content, images and attachments are encrypted on your device before syncing.

• No server required: the mobile apps work fully on-device with no account, and you can move those notes to a server later.

• Reminders: location-based reminders (arrive/leave) as well as time ones, plus calendar CalDAV syncing and Apple Reminders integration

• Note type differences: nested checklists with drag-to-reorder, drawing note support, and link preview cards.

• Copy and paste image support - can place an image inline within a note wherever you'd like

• Collaboration: real-time collaboration and shared binders, not just sharing a single note.

• Integrations: OAuth 2.1 and MCP access, so you can connect AI tools to your notes if you want to.

• Backups: scheduled server backups with retention rules, and full restore.

1

u/3MarkFuffzich 4m ago

Tanks a lot! Location based reminders and image pasting sounds nice. But I saw that the app is 5,49€, that unfortunately keeps me from trying it.

0

u/2life_gamer 8h ago

There's also Affine, Obsidian, Trilium Notes and Anytype. So the self-hosters definitely have this for some time.

3

u/Happy-Argument 3h ago

None of these look like Keep and have real-time collaboration of individual notes.

4

u/nicktheone 9h ago

I was literally looking for something like this yesterday after deciding to move off of Samsung Reminders. Is it possible to somehow integrate your app with Google Calendar? Like in a way that would let me see any note/reminder with a set date on my calendar? Anyway, amazing job. I know what I'm doing tonight.

3

u/KeptNotes 4h ago

Yes it is! There's been calendar integration support for reminder events for quite some time now - this was something I also directly wanted. Thanks for the kind words 😊

6

u/Troyking2 9h ago

I really like the concept, but to be completely honest the iOS app is basically a web app. Was hoping for a more native experience specially since is a paid app

2

u/KeptNotes 4h ago

There is quite a fair bit of android and iOS specific integration layers actually for the mobile client - the UI is angular which is what enables the modularity, but from a feature level there is:

• Home Screen widgets, for a single note or a list of notes. You can tick checklist items straight from the widget without opening the app, and there's a camera button that saves a photo as a new note.

• (iOS) Siri and Shortcuts: capture a note, add to one or set a reminder hands-free, without the app opening.

• (iOS) Smart Capture, using Apple's on-device model and speech recognition, so nothing leaves your phone.

• Apple Reminders sync: Kept reminders show up in a dedicated "Kept" list in Reminders, including location reminders that trigger when you arrive or leave.

• Share extension: share text, links, photos and files into Kept from any app, and they're queued safely even if the app isn't running.

• Device-only mode: your notes are stored natively on the phone with no account or server, and you can move them to a server later.

• Keychain storage for sign-in tokens, plus support for client certificates (mutual TLS) and custom connection headers if your server sits behind an auth gateway.

Fair feedback on the feel, though. If there are specific spots where it feels too much like a web app, I'd genuinely like to hear them.

2

u/Ericbaudur 4h ago

I think they're talking about the feel of the app itself, not the features it offers. I haven't personally tried the app, but web apps in general don't feel smooth and native and it sounds like that's the experience from your native app.

1

u/KeptNotes 1h ago

That makes sense - I actually share those sentiments in terms of desiring a smooth app experience and personally feel it does a pretty solid job of it, but I'm also the definition of incredibly biased by nature in this situation. Thanks for clarifying there!

2

u/databasil 5h ago

Would be nice to have a trial period for the apps! I would be willing to pay if I find the app to be useful. Or say, fulfilling my needs. But I won‘t buy anything I have never seen.

Not sure, if this is an AppStore issue. I saw a lot of apps, asking for money without offering a free or trial version. Yes, I could refund them afterwards if necessary. But to be honest… I just don‘t do it.

2

u/KeptNotes 4h ago

Hey - if you're willing to go through the effort of it, you can always try the PWA for mobile which is completely free and feature complete for the core features, the only things it can't do are native integrations, but it would help give you a sense of if Kept is actually what you're looking for.

I'll give a free trial a thought, but I've honestly always personally kind of hated that as a consumer as it feels overly salesy I guess?

2

u/SellMeAUsername 4h ago

How does this compare to Anchor?

1

u/KeptNotes 4h ago

I've never actually used anchor personally - but reviewing their features, it also looks solid! It's worth giving both a try to see what fits your preferences best.

The biggest differences I'd point to just based on my reading:

• Encrypted notes: you can lock individual notes with a passcode, and their content, images and attachments are encrypted on your device before syncing.

• No server required: the mobile apps work fully on-device with no account, and you can move those notes to a server later.

• Reminders: location-based reminders (arrive/leave) as well as time ones, plus calendar CalDAV syncing and Apple Reminders integration

• Note type differences: nested checklists with drag-to-reorder, drawing note support, and link preview cards.

• Copy and paste image support - can place an image inline within a note wherever you'd like

• Collaboration: real-time collaboration and shared binders, not just sharing a single note.

• Integrations: OAuth 2.1 and MCP access, so you can connect AI tools to your notes if you want to.

• Backups: scheduled server backups with retention rules, and full restore.

18

u/_n_u_ 10h ago

How can I install the android app on a de googled phone? Your website sends me to play store to buy the app. I imagined an alternative to a Google product to not depend on Google play store:(

5

u/theskymoves 2h ago

OP should definitely put the app on fdroid/etc.

3

u/FriedCheese06 14h ago • Bravo

Yikes brobeans.

14

u/KeptNotes 14h ago • Regret

Thanks for running that! They're real advisories, but they're in packages that get installed into the image without ever running, mostly build tools and install-time dependencies. That said, it's clearly time for some housekeeping before the next image release.

7

u/iAmmar9 12h ago

If you scan any other popular image, you will worse results usually. But still nice to tell the developer.

4

u/ugohdit 13h ago

what tool/website did you use to generate this report?

12

u/FriedCheese06 13h ago

Dockhand. It has Grype and Trivy built-in for scanning images as they are pulled.

2

u/haherar830 15h ago

Can you elaborate a bit on the sync, encryption, and coupling to your own cloud infrastructure? Also is this a proprietary underlying format (i.e. not simply markdown or HTML+CSS components)?

I've been looking for a good secure notes app with self-hosted sync for probably 2-3 years now unironically including some investigations into forking the closest alternatives.

5

u/KeptNotes 15h ago

Happily!

The sync for mobile devices is saved-offline-first using IndexedDB, and then synced to whatever other devices you're signed in on. The server itself uses SQlite.

Encryption is optional - only for notes you opt to have it on for vs. for the entire database. For those you do enable it for, the data is encrypted on-device before syncing.

For the Kept Cloud offering - that is literally just bog standard instances of the Kept Server, just managed by me as a convenience for people who don't want to deal with maintaining one themselves, but do still desire to get off of services where their data is the product. There's no separate proprietary cloud backend.

As for the underlying format, notes are stored in SQLite rather than individual Markdown files. Rich-text content uses HTML, and there are Markdown, JSON and CSV export options. Nothing propietary. Full server backups can also be restored to another Kept instance.

1

u/haherar830 14h ago

I see, okay, not what I'm looking for at all. Mind you I'm not coming with a desire for Google Keep though so probably not your core audience.

1

u/2life_gamer 8h ago

Which self-hosted note apps have you used so far?

1

u/KeptNotes 4h ago

I’ve used Google Keep for years, and over many years had many attempts trying to replace it with Memos/MoeMemos, Carnet, Standard Notes, and several other approaches, but I always ended up missing the Keep interface and methodology of just immediately info dumping - hence here we are.

1

u/haherar830 3h ago edited 3h ago

Literally all I want is FOSS self-hostable a) some sort of standard format rich text or markdown notes, and b) basic encryption. People forget how much slop there was/is from before LLMs but this is a particularly egregious missing piece of software.

Obsidian is closed source, no encryption, sync leaves unencrypted notes on device after deletion. Still use it but rarely if ever. If it was FOSS I'd probably just fork it and fix it myself. Still pretty bloated though for a text editor with rendering and syntax highlighting. Also the main client would have self-hosted sync if it wasn't a cash grab.

Standard Notes & Notesnook are bloated corposlop monstrosities that are subtly hostile to selfhosting and using pointless "sharing" features to create network dependencies. I tried to strip the bloat and dependencies for sharing but it's not worth the effort even with LLMs. I felt like I'd fallen in toxic waste setting up multiple sub-sub-domains for these things in my DNS and reverse proxy and setting up all their bloated db dependencies (FOR A NOTES APP, FUCK) and also so clean and pure removing them when I dropped them. Ugh, terrible implementations.

PeerGos is also a bit bloated but I guess the sharing has a purpose there, terrible horrendous UI/UX, but technically sound (perhaps the only one which is INSANE).

I also looked into Joplin, SiYuan (EDIT: sp), and Poznote among others.

The closest I could find are combinations of encrypted storage + separate sync + separate note editor with varying components across platforms. Literally all because no one has ever made a basic notes app, despite all the claims of "my app runs locally like every other app, thus it is privacy-focused".

At some point I'll just vibeslop it myself but unlike my other "god I wish this exists", I think it's pretty much incontrovertible that this option doesn't exist solely due to a mix of stupidity, incompetence, and greed.

1

u/2life_gamer 2h ago

What is the bloat in Obsidian? It's closed source but their philosphy is that you can use your own files however you like. Obsidian is just the wrapper to display a vault.

Have you tried Trilium Notes. That is basically Obsidian but without canvas and bases. Or have a look at this one https://community-scripts.org/categories?category=documents-and-notes . You don't have to use proxmox/incus but you get the idea of apps available.

1

u/haherar830 2h ago edited 2h ago

No man I'm sorry but you don't understand. I do not need to see the Proxmox community scripts page. I do not need an explanation of how Obsidian works. I think Obsidian has a ton of great things about, so you don't need to defend the fact it is an objectively bloated wrapper. The intentional decision to have no sync support and the way plugins are crippled and unable to properly extend it are not okay. I really tried to use it for months and still have it installed everywhere two years later but the sync is terrible and the rest of it is just okay before those bugs accumulate across your workflows.

I have 15+ years programming experience, 10+ years self-hosting in some form with 30+ services currently across 3-4 computers; I do much of this professionally in some form in my work as a scientist. Sorry to slop at you but below is a summary of the conclusions of approximately 20% of the effort I've spent on this, limited to a subset of the most popular AIO notes apps but not including the time I spent investigating various combinations of things like FUSE-over-SMB with various filesystem clients providing backend to various notes clients.

  • Standard Notes — Excessively complicated self-hosting architecture, multiple services and endpoints, commercial feature gating, and a proprietary application-level note-storage structure rather than a conventional Markdown vault. Encryption was not the principal objection.
  • Notesnook — Similar objections regarding backend complexity, commercial feature gating and self-hosting friendliness. We also specifically investigated its Android encryption implementation: the application lock did not independently protect the database encryption key in the implementation we discussed, unlike the Windows client.
  • Joplin — Otherwise a reasonable functional fit, but its E2EE protects synchronized data rather than the local SQLite database and associated resources. This violated our explicit client-side encryption-at-rest requirement.
  • Obsidian + WebDAV — Rejected because local Markdown files remain plaintext. Obsidian itself is also not FOSS.
  • Trilium / TriliumNext — Probable objections were opt-in, per-note encryption with unencrypted metadata and attributes; database-centric storage rather than native Markdown files; primarily browser-based mobile access; and a more elaborate knowledge-management architecture than required. User Guide+2
  • SiYuan — Local encryption at rest was not satisfactorily established during our June discussion. Additional mismatches include application-specific .sy JSON documents, extensive block-based knowledge-management functionality, and commercially gated S3/WebDAV synchronization.
  • SilentNotes — Met the encryption and straightforward self-hosted WebDAV requirements reasonably well, but lacked satisfactory native Markdown support.
  • Turtl — Considered for encrypted Markdown notes and self-hosting, but its Node.js/PostgreSQL backend was less attractive for a minimal deployment.
  • Logseq — Rejected because its conventional Markdown-based storage leaves notes plaintext on the client. VeraCrypt/Cryptomator workarounds reintroduced the Android virtual-filesystem limitations we specifically wanted to avoid. Its graph-oriented functionality was also unnecessary for our purposes.
  • Cryptee — Considered for its encryption architecture, but was a weaker match for conventional Markdown editing, native clients and straightforward self-hosting.
  • CryptPad — E2EE and self-hostable, but relatively elaborate for basic notes, requiring a two-domain deployment and relying primarily on browser-based mobile access. Considered in the June 15 shortlist.
  • Anytype — Also disfavored in the June 15 discussion. Its object-centric data model and synchronization architecture are considerably more elaborate than a simple portable Markdown notebook.
  • EteSync Notes — Considered but disfavored; not an attractive all-in-one, cross-platform Markdown editing and synchronization solution.
  • Jotty (formerly rwMarkable) — Actually quite well aligned with our simplicity, file-format and deployment requirements. The principal technical shortcomings are optional per-note encryption, plaintext titles and categories, repeated passphrase entry, and incomplete offline editing support. Its manual decryption workflow can also decrypt notes server-side. Cryptee — Considered for its encryption architecture, but was a weaker match for conventional Markdown editing, native clients and straightforward self-hosting.

It's patently ridiculous that something as simple as mediocre sync + standard format notes that I can just paste shit into cross platform doesn't exist. Personally most of note app usage is like, pasting one off codes to copy on another platform which should be transmitted securely (BitWarden super inconvenient for this I already have it available everywhere). Frankly I think decent security is a very reasonable expectation whether I'm pasting 2FA codes, API keys, recovery keys, URLs, recipes, plans/todos, or a comprehensive plan to design a world-ending bioweapon. It should just be simple secure sync across platform.

At some point I will just vibeslop out some react typescript pwa bullshit with in-memory note lifecycle managed by a central abstraction and disk operations through some standard encryption component and put CodeMirror 6 in front but there's no way I'm the only one who wants to be able to securely take simple notes, sync them across platforms, and do it with files instead of 4GB of DB in RAM and 3-5 subdomains at various levels of nesting with no configurability just to be left with binary blobs of proprietary formatted bs.

4

u/maccmiles 2h ago

Mobile apps are not available on any alt stores, you're advertising a Google keep alternative, but not catering to the people trying to de-Google their lives and devices

1

u/Guy_In_Between 9h ago

Looks nice!

I'd like to ask wether it support custom proxy headers, so it can bypass Pangolin's or Cloudflare's login/authentication?

Also, when sharing notes, does setting /share/* (or whatever the share link looks like) to bypass auth in Pangolin/Cloudflare, works, or I'd need to set /api/* or something else to bypass too?

2

u/KeptNotes 4h ago

Thanks! Yes there is support for custom connection headers, so you can add a Cloudflare Access service token or a shared-secret header for Pangolin and they'll pass through. The apps also supports client certificates (mTLS). In the browser you just go through the Cloudflare/Pangolin login as normal. The headers get you past the gateway, but you still sign in to Kept itself.

As for sharing - Kept doesn't currently have public share links. Sharing is between accounts on the same server, so the person you share with signs in like anyone else.

3

u/AcademicMarsupial502 9h ago

I was looking for this and i didnt find a good alternative for keep

Thanks for building it

Would it be possible to get the APKs from github so i can install it with obtainium?

Currently using joplin, how could i import the notes into keep?

1

u/Certainty0709 5h ago

This is why I use Anchor. 

5

u/manonthemiddle 13h ago

Device-only offline mode with later server sync is the hardest edge case in self-hosted notes because conflict resolution gets ugly fast on nested checklists. Storing checklist items as individual CRDT or timestamped operations instead of whole-note blobs prevents silent overwrites when two offline phones reconnect. Offering a plain markdown export alongside encrypted storage also removes most lock-in hesitation.

2

u/Pulte4janitor 14h ago

I have been looking forever for a cross-platform, selfhosted, notes app and platform that can replace the Apple Notes App I use all the time, every day. I have yet to find one but I'll try this out!

2

u/2life_gamer 8h ago

Which other notes app have you tried already? Have you used Obisian?

1

u/Pulte4janitor 2h ago

A couple that I cannot remember. I kinda went down the wrong path at first - looking for a self hosted docker app instead of looking for an app that has mobile client apps and an ecosystem with the self hosted docker app. I have not tried Obsidian yet but I'll add it to my list. Thanks! 🙏

2

u/organicmanipulation 6h ago

4.99 for the app. Wow.

1

u/de_3lue 3h ago

Looks like a good extension to balu-todo, especially with the MCP support and mobile apps - thanks!

1

u/Hostman_com 2h ago

Have you tested restoring a full server backup and unlocking an encrypted note on a fresh device with its existing passcode, without access to the old device?

It would help to document that exact recovery case, including images and attachments, and anything users need to save separately.

0

u/duckman_1991 5h ago

I recently discovered karakeep as a replacement but I'll keep this in mind

3

u/theskymoves 2h ago

Karakeep is more of a bookmarking tool than for note taking. I fire links in there and have Ollama summerise and auto tag them for later reading.

I use poznote as a project tool, like OneNote I guess.

Google keep is pretty sticky for me as a quick place to drop a note and sort it later, something that Poznote doesn't do yet. I might try Kept for quick notes especially if it supports Location based reminders which google inexplicably removed a couple years ago.

1

u/KeptNotes 1h ago

Dude, it drove me nuts that they removed it - which was another aspect of this being an endeavour for me. I have ADHD and they are a critically helpful feature for me - having the reminder actually pop up right when I need it based on where I am is basically a need for me.

2

u/phampyk 5h ago

I use both. Karakeep is my dump links and pdfs while this one is purely for notes. It works better for my brain to have a place just for my notes. I've been using it for a month or so and I'm pretty happy with it :)

0

u/[deleted] 16h ago

[deleted] — view deleted comment

3

u/Pulte4janitor 13h ago

The upvotes reinforce your shared opinion. All software utilizes AI to some extent. Get on with it and move on with your sad life.