A self-hosted, privacy-focused AI note-taking app for quickly capturing fleeting thoughts as Markdown cards with natural-language search.
ZhFahim/anchor
A self-hostable, offline-first note taking app for web and Android, with optional sync across devices.
Open-source alternative to:Evernote
Microsoft OneNote
- Stars
- 1,422
- Forks
- 64
- Open issues
- 71
- Last commit
- yesterday
What is it?
Anchor is a note taking application that stores notes locally, lets you edit them without a connection, and syncs changes across devices when you are back online. It ships as a web app and an Android app, and the server runs in Docker with an embedded Postgres database or an external one.
Notes support rich text formatting such as headings, lists and checkboxes, along with tags, colors, backgrounds, pinning, archiving, and attachments for images and audio. Notes can be shared with other users as viewer or editor, earlier versions can be restored, and reminders can send phone notifications once or on a repeat. Deleted notes go to a trash with a recovery period.
For self-hosters, Anchor provides an admin panel for user management and signup control, and supports OpenID Connect sign-in with providers such as Keycloak and Authelia. Full backups export as a zip with a plain-text manifest, and notes can be imported and exported as Markdown.
Key features
- 01Rich text editing with headings, lists and checkboxes
- 02Works offline with a local database and syncs when online
- 03Share notes with other users as viewer or editor
- 04Note version history with restore
- 05Reminders with phone notifications, one-time or repeating
- 06OIDC sign-in and an admin panel for self-hosted deployments
Use cases
- Keeping personal notes on a home server instead of a commercial cloud service
- Taking notes on a phone or tablet with spotty connectivity
- Sharing a notes workspace with family or a small team on your own server
Quick start
- 1
Create a docker-compose.yml file using the pre-built image
- 2
Start the container
docker compose up -d - 3
Open the app in your browser at localhost port 3000
Things to know
- Licensed under AGPL v3, a copyleft license that requires sharing modified source when served over a network.
- The beta 'next' image may contain incomplete features or breaking changes and is not for production.
In collections
Topics
FAQ
- What is anchor?
- A self-hostable, offline-first note taking app for web and Android, with optional sync across devices. Anchor is a note taking application that stores notes locally, lets you edit them without a connection, and syncs changes across devices when you are back online. It ships as a web app and an Android app, and the server runs in Docker with an embedded Postgres database or an external one.
- Is anchor free to use? What license does it have?
- anchor is open source under the AGPL-3.0 license. Check the license terms before using it in commercial products.
- Is anchor still maintained?
- Actively maintained. The last commit to anchor was on Nov 6, 2026.
- What can I use anchor for?
- Keeping personal notes on a home server instead of a commercial cloud service Taking notes on a phone or tablet with spotty connectivity Sharing a notes workspace with family or a small team on your own server
- How do I install anchor?
- Create a docker-compose.yml file using the pre-built image Start the container: docker compose up -d Open the app in your browser at localhost port 3000
- Where can I get anchor?
- The source code and installation instructions are on GitHub: https://github.com/ZhFahim/anchor
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
An end-to-end encrypted note-taking app with sync across devices, plus files and a self-hostable sync server.
Free, open source note-taking and to-do app with Markdown notes, offline-first storage and end-to-end encrypted sync across desktop and mobile.
A self-hosted, database-less note-taking web app that stores notes as a flat folder of markdown files.
A self-hosted, Markdown note-taking web app that stores notes as files in the filesystem, with multiple vaults, users and collaboration.
Open-source notes and knowledge base app with a three-pane layout, instant multi-device sync, and built-in MCP for AI agents, runnable on Cloudflare or Docker.