Skip to content
Projects

About

An open-source, self-hosted, offline-first workspace with rich text and Markdown, native Office support (Word, Excel, and PowerPoint), finance and asset tracking, mind maps, tasks, journals, an AI Copilot, RAG, and MCP. Runs on Docker and NAS devices, including Feiniu and UGREEN NAS.

Business & Finance

How these counts are measured

Measured star growth

in 24h
+31
in 7 days
+36
in 15 days
+45
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.en.md

Original
Nowen Note

Nowen Note

An open-source, self-hosted knowledge base, collaborative note app, and task management platform

Unified knowledge tree · Rich text / Markdown editors · AI knowledge Q&A · Real-time collaboration · Tasks and mind maps · Cross-platform clients

简体中文 · Official Website · Download Center · Help Center · Live Demo · Downloads · Tutorials · MCP Installation · AI Development Skill · Changelog

GitHub Release Docker Pulls License: GPL v3 Node.js 24.22.1+ (24.x LTS) Docker

Nowen Note is more than an editor. It is designed as user-controlled knowledge infrastructure that can run long-term on a NAS or server and remain accessible from the web, desktop, and mobile clients.

Remote NAS connection and sign-in: Nowen Note supports deployment on UGREEN NAS (UGOS / UGOS Pro) and Feiniu NAS (fnOS). After deployment, connect and sign in from the web, desktop, or Android client using a LAN IP address, an IPv6 address, or a public domain secured with HTTPS.

v1.5.5 highlights · 2026-11-09

Improved two-way synchronization across web, desktop, and Android, plus desktop startup recovery and smoother interactions. Full release notes · Official v1.5.5 Release.

[!IMPORTANT] Back up the database, attachments, and configuration before upgrading, and verify recovery. Rolling back an application or Docker image does not roll back persistent data. macOS GitHub downloads are unsigned and unnotarized; direct Windows EXE downloads are unsigned. Live sync depends on online devices connected to the same server and account, and cannot guarantee zero latency or conflicts.

  • Cross-device two-way sync: Better web / PC / Android change notification and automatic refresh of open notes, backed by three-client tests. Concurrent editing preserves both versions rather than silently overwriting content (#910).
  • Knowledge-tree recovery: Safer preflight validation for structural-conflict repair and more consistent first-use/onboarding state.
  • Desktop reliability: Clearer first-download progress, local sign-in recovery, backend restart retries, and Lite startup fixes.
  • Motion and editing: A shared UI motion system, responsive layout fixes, mobile sharing adjustments, Word pasted-image recovery, and Markdown line breaks.
  • Permissions and compatibility: AI-generated content provenance, scoped personal diary APIs, HarmonyOS export, and historical database migration support.

v1.6.0 scope: The full Workspace, Personal App Studio, and Extension Platform V3 are not newly shipped in v1.5.5. Download options follow actual published assets; store releases remain separate.

Website changelog · Download center · Full changelog

Previous stable release · v1.5.4

Released November 2, 2026: reviewable AI edits, Markdown chapter folding, attachment recovery, and desktop NAS offline improvements. v1.5.4 notes.

Earlier stable release · v1.5.3

Released on October 23, 2026, v1.5.3 improved note editing, image handling, encryption controls, calendars and reminders, and cross-platform stability. Read the v1.5.3 release notes.

Connect AI clients to Nowen Note

The Nowen Note MCP Server connects to Claude Code, Cursor, VS Code, and other compatible clients. It exposes notes, scoped knowledge-tree resources, personal tasks/projects, personal file management, and personal automations within Personal API Token permissions. Sensitive mutations require explicit authorization, preview/confirmation, and concurrency revision checks; dangerous capabilities are disabled by default.

The supported source-build launcher uses Node.js 24.22.1+ (24.x LTS) and packages/nowen-mcp/bin/nowen-mcp.mjs. Do not point clients directly to the internal dist/scoped-entry.js. The normal transport is stdio; v1.5.2 also introduces explicitly enabled, authenticated, loopback-only Streamable HTTP. Create a separate least-privilege token for each client; never embed administrator passwords in MCP configurations.

Why Nowen Note

You own the data Self-host with Docker or deploy on NAS platforms such as UGREEN UGOS and Feiniu fnOS. Databases, attachments, and backups stay under your control. Attachments can use S3, Cloudflare R2, or MinIO, while backups can be sent through email or WebDAV.
One tree for every document Mix folders, rich-text notes, and Markdown notes in one hierarchy. Create documents at the root, drag and sort nodes, import files, expand or collapse the tree, inherit permissions, protect folders with passwords, and publish shared content.
Switch editing formats per note Convert notes between rich text and Markdown while preserving major structure, code blocks, and links. Use either format for quick notes, technical documentation, or long-form writing.
Built for individuals and teams Tags, tasks, AI, workspaces, notebook permissions, real-time collaboration, public sharing, and guest comments live in one system.

Core capabilities

Module Current capabilities
Unified knowledge tree Mixed folders, rich-text notes, and Markdown notes; root-level documents, unlimited nesting, drag sorting, drag-to-change hierarchy, a unified create menu, expand/collapse all, Markdown drag-and-drop or file import, filtering, search, note counts, trash, shared tree views, and three-column browsing with child-folder scope.
Folder security and access control Folder passwords, short-lived unlock tokens, directory ACLs, Restricted mode, explicit allow/deny rules, inherited policy evaluation, and protected import/export flows.
Rich text and Markdown Tiptap 3, CodeMirror 6, per-note rich-text/Markdown conversion, plain-text notes, live and split preview, outlines, formatting tools, tables, code blocks, KaTeX, Mermaid, footnotes, Callouts, media embeds, Chinese typography, reading-position restoration, comments, and version history.
Long documents and editor stability Complexity detection, Worker analysis, viewport rendering, windowed editing, incremental saves, large-document safe modes, outline navigation, and recovery logic for hidden Markdown markers and cursor state.
Performance and delivery Lazy-loaded workspace, editor, task, journal, file, AI, and sharing surfaces; cache validators, Gzip/Brotli precompression, and bundle-budget checks reduce startup and repeated transfer cost.
Image editing Crop images and add text, freehand drawing, arrows, shapes, and mosaic effects. Existing remote images can be migrated into local attachments or object storage.
Knowledge organization and search Colored tags, favorites, pinning, full-text search, current-directory note search, improved in-document find and replace, backlinks, block references, reverse links, and a knowledge graph. Permission-aware search hides restricted resources before result limits are applied.
AI OpenAI-compatible APIs, Qwen, Gemini, DeepSeek, Doubao, and Ollama. Features include continuation, rewriting, translation, title and tag generation, summaries, embeddings, and RAG knowledge Q&A. It also supports task progress queries and confirmed creation/completion of personal tasks.
Tasks and visualization Hierarchical tasks, lists, Kanban, calendar, Gantt/timeline, dependencies, recurrence, reminders, templates, My Day, Inbox, offline tasks/habits, Android reminders, and mind maps. v1.5.2 adds confirmed AI task generation, daily completion summaries, task-tree archiving, task details saved as a separate note, Excel/Markdown exports, plus due-date sorting and webhook digests.
Collaboration, permissions, and sharing Yjs + WebSocket collaboration, workspaces and roles, directory ACLs, Restricted access, explicit allow/deny policies, ownership transfer, centralized share management, passwords and expiration, guest comments, public knowledge spaces, and rich-text/Markdown inline comments.
Sync and edit protection Incremental sync, per-note server acknowledgements, persistence receipts, draft recovery, serial saves, revision checks, and offline workspace support. Personal folder-structure sync and recoverable trash flows improve consistency, while invalid cached attachment blobs are quarantined and repaired.
Import, export, and migration Import Markdown, Word/DOCX, web URLs, WeChat articles, SingleFile HTML, SiYuan ZIP archives, Obsidian, Xiaomi Notes, and other supported sources. Export Markdown, PDF, Word, images, or full ZIP packages with permission mapping, conflict preview, reports, controlled rollback, image access preparation, and footnote handling. Team single-note ZIP export resolves the note's real workspace scope.
Attachments and storage Explorer-style file-center navigation, masonry view, folders, tags, smart folders, upload progress, scoped moves/renames, recoverable trash, personal attachment-folder synchronization, inserting existing files, and progress-tracked external-image migration. AI-assisted organization and semantic search use file metadata, preview-confirmation and access checks rather than file bytes, with platform limitations. Storage backends include local disk, S3, R2, and MinIO. See organization, recycle bin, and folder sync.
Accounts and security Multiple-account history, remembered accounts, auto-login, remote server connections, session validation and revocation, 2FA, scoped Personal API Tokens, audit logs, protected attachment access, and concealment of restricted-resource existence.
Backups, automation, and developer APIs Full and scheduled local backups, ZIP verification, email and encrypted WebDAV backups, managed Docker update checks, webhooks, signed/scoped plugins, OpenAPI, TypeScript SDK, CLI, and browser clipper. The MCP Server supports permission-scoped notes, knowledge-tree, personal task/project and file tools plus opt-in local HTTP transport; sensitive changes require explicit preview-confirm flows.
Cross-platform access Web, Electron for Windows/macOS/Linux, Android, iOS project, HarmonyOS project, and Docker/NAS deployment. UGREEN UGOS and Feiniu fnOS are supported, and clients can connect through IPv4, IPv6, or a domain name. Android includes in-app gesture image preview and native task notifications.

Earlier releases

See the v1.5.1 release notes for task reminders, AI actions, Android sync, and encrypted-note safeguards, or the full changelog for historical updates.

Screenshots

Desktop

AI writing assistant AI provider settings
Desktop AI writing AI settings

Mobile

Sidebar Note list Editor
Mobile sidebar Mobile note list Mobile editor

Website and demo

The demo is reset periodically. Do not store private or important data in it.

Quick deployment

Docker Compose (recommended)

Docker Engine and Docker Compose v2 are required.

git clone https://github.com/cropflre/nowen-note.git
cd nowen-note
docker compose up -d

Open http://<server-ip>:3001.

Default administrator account:

Username: admin
Password: admin123

Change the default password immediately. Public deployments should also use HTTPS, backups, a correct public origin, and restricted CORS settings.

HTTPS deployment (optional)

Reuse an existing Nginx, Lucky, or NAS reverse proxy if available. For a new deployment, the companion Caddy template automatically obtains and renews certificates. It requires Docker Compose 2.24.4+, a correctly resolved public domain, and reachable ports 80/443.

Set NOWEN_DOMAIN=note.example.com in .env, then run:

docker compose -f docker-compose.yml -f docker-compose.https.yml config --quiet
docker compose -f docker-compose.yml -f docker-compose.https.yml up -d

Open https://note.example.com. The template removes the application's host port 3001 mapping, sets the public share origin, and persists Caddy certificates. Keep specifying both files for subsequent management commands.

For an existing instance, retain its Compose project name and data mounts, back up before switching, and reconnect clients using the domain once HTTPS is ready. See HTTPS deployment and acceptance for prerequisites, existing-proxy examples, and verification steps.

UGREEN NAS / Feiniu NAS remote connection and sign-in

Nowen Note can be deployed on UGREEN NAS (UGOS / UGOS Pro) and Feiniu NAS (fnOS). Use the corresponding .upk or .fpk package from Releases, or deploy with Docker Compose.

After the service starts:

  • LAN access: Open http://<nas-lan-ip>:3001 in a browser.
  • Remote access: Enter the NAS public domain, IPv4 address, or IPv6 service address in the web, desktop, or Android client, then sign in.
  • Public deployment: Configure an HTTPS reverse proxy. Do not expose an unencrypted HTTP service directly to the internet.

See available packages in GitHub Releases.

Check status and logs:

docker compose ps
docker compose logs -f --tail=200 nowen-note

Upgrade from an earlier release

Create a full backup first and confirm that both the database and attachment directory are persisted.

docker compose pull
docker compose up -d

To pin a Docker image, first verify the tag in Docker Hub. The following example uses the publicly available v1.5.1 tag; replace it only once the v1.5.2 image is published:

NOWEN_IMAGE_TAG=v1.5.1 docker compose pull
NOWEN_IMAGE_TAG=v1.5.1 docker compose up -d

[!IMPORTANT] Before upgrading, create a full backup and verify persistent database and attachment storage. Docker / NAS users should keep an independent backup; image rollback does not restore the database. See the changelog and public releases.

Managed Docker updates (optional)

Managed updates only support the official docker-compose.yml and are disabled by default. The main application container does not mount the Docker socket; a separate restricted updater container performs the update.

cp .env.example .env
printf '\nNOWEN_UPDATER_TOKEN=%s\n' "$(openssl rand -hex 32)" >> .env
NOWEN_IMAGE_TAG=v1.5.1 docker compose --profile updater up -d

Administrators can then run preflight checks, create a full backup, update, verify health, and roll back the image from Settings → About → Version.

Rolling back an image does not roll back the database. Keep independent production backups.

See Docker online update and recovery.

Run only the main container

docker run -d \
  --name nowen-note \
  --restart unless-stopped \
  -p 3001:3001 \
  -e TZ=Asia/Shanghai \
  -v /opt/nowen-note/data:/app/data \
  cropflre/nowen-note:v1.5.1

Data, backups, and configuration

Persistent directory

The persistent directory inside the container is /app/data, not /data. The default Compose file uses the nowen-note-data Docker volume.

/app/data/
├── nowen-note.db
├── attachments/
├── backups/
├── fonts/
└── .jwt_secret
  • SQLite is the default production database at /app/data/nowen-note.db.
  • Attachments are stored under /app/data/attachments and organized by YYYY/MM.
  • Automatic backups are stored under /app/data/backups by default.
  • Map BACKUP_DIR to an independent physical disk and follow a 3-2-1 backup strategy for production.
  • Third-party image-host uploads are retired. New images use the attachment system; historical remote images can be migrated.
  • PostgreSQL adaptation and migration are still under validation. Production deployment and recovery remain based on SQLite.

Common environment variables

See .env.example for the complete template.

Variable Default Purpose
NOWEN_PORT 3001 Exposed Compose port
NOWEN_DOMAIN empty Public hostname used by the optional Caddy HTTPS template
TZ Asia/Shanghai Container timezone
PUBLIC_WEB_ORIGIN empty Public or reverse-proxy origin used to generate share links
FILE_PUBLIC_ORIGIN inherits PUBLIC_WEB_ORIGIN Optional public origin used when copying File Manager / image-host direct links; uploads, previews, and owner downloads keep using the current server connection
JWT_SECRET generated and persisted Session signing and fallback encryption; must match across instances
BACKUP_DIR /app/data/backups Automatic backup directory
BACKUP_WEBDAV_ENCRYPTION_KEY falls back to JWT_SECRET Encrypts stored WebDAV credentials; use a dedicated production key
CORS_ORIGINS native client origins Additional comma-separated web origins
MAX_ATTACHMENT_SIZE_MB 100 Maximum attachment size
ATTACHMENT_STORAGE local Set to s3 for S3/R2/MinIO
CALENDAR_EXPORT_ENCRYPTION_KEY empty Encrypts calendar S3 export credentials
NOWEN_UPDATER_TOKEN empty Enables the managed Docker updater

Client and platform status

Platform Distribution / build Status
Web / Docker Docker Hub or source build Recommended deployment; supports amd64, arm64, or multi-architecture images
Windows / macOS / Linux GitHub Releases or npm run electron:build Electron client can connect to a remote service or use the local backend
Android Release APK or Capacitor build under frontend/ Actively maintained; system share import, Markdown file import, immersive editing, mobile knowledge tree, gesture image preview, native task reminders, and remote NAS service sign-in
iOS Capacitor project and GitHub Actions/TestFlight flow Requires Apple signing and a developer account; see iOS release guide
HarmonyOS Open nowen-harmony/ in DevEco Studio ArkTS + ArkWeb MVP; some native capabilities are still being completed
fnOS .fpk in Releases Supports Feiniu NAS installation. The current package primarily targets x86_64; after deployment, connect and sign in using a LAN or public service address.
UGREEN UGOS .upk in Releases or build scripts Supports UGREEN NAS installation, depending on device architecture and app installation support; after deployment, connect and sign in using a LAN or public service address.
Other NAS Docker Compose Synology, QNAP, ZSpace, and similar devices can use the Docker deployment

Available packages vary by release. Check GitHub Releases.

Desktop builds require macOS 12 (Monterey) or later; macOS 11 users will not be offered this version through automatic updates. See the Node 24 migration notes.

Local development

Requires Node.js 24.22.1+ (24.x LTS), npm, and Git. Electron and native builds also require platform toolchains.

git clone https://github.com/cropflre/nowen-note.git
cd nowen-note
npm install
npm run install:all

Start two terminals:

npm run dev:backend
npm run dev:frontend

Open http://localhost:5173.

Common commands:

npm run build:all
npm run electron:dev
npm run electron:build
(cd backend && npm test)
(cd frontend && npm run test:run)

Android:

cd frontend
npm run cap:build
npx cap open android

Web, Electron, and mobile builds use Node.js 24.22.1 (24.x LTS). Run nvm install && nvm use to select the project version.

iOS:

npm run cap:sync:ios
npm run cap:open:ios

Technology stack

Layer Main technologies
Frontend React 19, TypeScript, Vite 5, Tailwind CSS, Tiptap 3, CodeMirror 6, Yjs, IndexedDB
Backend Node.js 24 LTS, Hono 4, WebSocket, better-sqlite3, FTS5, sqlite-vec, sharp
Desktop Electron 43, electron-builder, electron-updater
Mobile Capacitor 8 for Android/iOS, ArkTS + ArkWeb for HarmonyOS
Storage and backup SQLite, local attachments, S3/Cloudflare R2/MinIO, email and WebDAV backups; PostgreSQL is under validation
Developer APIs OpenAPI 3.0, TypeScript SDK, CLI, MCP Server, Webhook

Repository layout

nowen-note/
├── frontend/       # React web app and Capacitor clients
├── backend/        # Hono APIs, database, sync, and background tasks
├── electron/       # Electron main process and packaging
├── packages/       # SDK, CLI, MCP, and developer packages
├── nowen-harmony/  # HarmonyOS ArkTS / ArkWeb client
├── docs/           # Deployment, tutorials, and design documents
└── scripts/        # Build, migration, packaging, and release scripts

AI Skills for users and contributors

This repository provides two distinct Agent Skills. A Skill is guidance for an AI assistant, not an authenticated connection to your server; it contains no private notes or API credentials.

  • nowen-note-development: for maintainers and coding agents working on the Nowen Note repository. Covers product decisions, the codebase map, Issue/PR triage, UX principles, sync/security/backups, testing and delivery criteria.
  • nowen-note: for people who want AI to search, read, create and organize their own notes using authorized MCP tools or an already configured CLI.

Matching copies are available under .claude/skills/ for clients that use that layout. Copy the relevant Skill to the directory supported by your AI client, or ask the agent to read the appropriate SKILL.md. Automatic Skill discovery is client-dependent.

To actually access a personal knowledge base, follow the MCP setup guide and grant a restricted Personal API Token. Installing a Skill alone does not grant access to your notes.

Example prompt: "Read the nowen-note-development Skill first, inspect the code behind this Issue, implement the smallest safe fix, and report the tests you ran."

Documentation

Current boundaries

  • Database: SQLite is the fully supported production default. PostgreSQL adapters, schemas, and partial dual-database tests exist, but production switching is not yet enabled.
  • Format conversion: Rich-text/Markdown conversion preserves major structures where possible. Highly customized HTML, complex extension nodes, or third-party syntax may still require manual review.
  • WebDAV: Used for completed backup files, not real-time sync, live database storage, or attachment hosting. Remote retention must be managed separately.
  • Managed Docker updates: Only support the official managed Compose deployment.
  • Third-party image hosting: Upload integration is retired; only historical configuration cleanup and image migration remain.
  • macOS: Unsigned or unnotarized packages may require removing quarantine attributes; see the desktop tutorial.
  • Mobile: Android has the most complete maintenance coverage. iOS and HarmonyOS distribution, signing, and some native bridges remain platform-dependent.

Releases

The README documents stable capabilities, recent highlights, and deployment. Complete commit-level history remains in the changelog.

Contributing

Issues, feature suggestions, and pull requests are welcome. Before submitting code, run at least:

npm run build:all
(cd backend && npm test)
(cd frontend && npm run test:run)

Feedback channels:

Support the project

If Nowen Note helps you, sponsorship supports continued maintenance and development.

WeChat Alipay
WeChat sponsorship QR code Alipay sponsorship QR code

Read the author's note.

License

Nowen Note is licensed under the GNU General Public License v3.0.

Explore related projects

Loading…