Sandbox
@codexu/note-gen

Local-first Markdown notes with AI capture and sync

NoteGen is a local-first Markdown note app that lets you capture thoughts, voice, images, links, and files without organizing them up front. Later, you can group records into a Markdown note, edit the result, and keep writing in your own words.

12,787 stars968 forksTypeScriptUpdated 7d ago
Who it's for

Builders who want to save raw material now and turn it into notes later.

What it delivers

You can collect scattered information first and shape it into structured Markdown notes when you are ready.

What it does

Capture many kinds of records

Save thoughts, voice recordings, screenshots, images, links, files, and todos as separate records.

Organize records into notes

Filter records by tag, time, or type, then combine them into summaries, reports, articles, or other Markdown structures.

Edit Markdown locally

Work with ordinary Markdown files in your chosen workspace, with source and visual editing, search, tables, tasks, math, diagrams, and file history.

Use AI when helpful

Connect configured AI providers for chat, rewriting, translation, note organization, embeddings, OCR, image understanding, and agent mode.

Build a searchable knowledge base

Index local notes with semantic retrieval and text search, then use notes or the knowledge base as context for questions.

Sync through your own services

Sync notes with GitHub, GitLab, Gitee, Gitea, S3-compatible storage, or WebDAV, or keep local backups only.

Work on a canvas

Create flowcharts, mind maps, timelines, drawings, charts, and diagrams that stay editable after AI generation.

Support advanced agent workflows

Use long-term memories, reusable prompts, MCP servers, installable Skills, and agent tools for notes and files.

README

NoteGen

Capture first. Organize later.

A local-first Markdown app that helps you collect scattered information and organize it into clear notes with AI.

English · 简体中文

Documentation · Download · Business · Donate · Discussions

Release workflow Latest release GitHub stars License

NoteGen on desktop and mobile

❤️ Sponsor

Infistar.cc 无限星河

NoteGen × Infistar.cc 无限星河|全模型 API · 让记录、整理与创作更智能

感谢 Infistar.cc 无限星河赞助并为 NoteGen 提供模型服务支持!

  • 稳定高效的模型服务: 提供企业级高并发通道与多节点冗余,价格低至官方渠道 1 折,稳定支持 NoteGen AI 对话、笔记整理、续写润色、翻译总结及 Agent 长任务。
  • 🧠 一个 API Key 接入主流模型: 全面支持 ChatGPT、Claude、Gemini、Kimi、GLM、DeepSeek 等模型,兼容 OpenAI 标准接口,可灵活配置主模型、快速补全、写作及知识库模型。
  • 📚 覆盖知识库与多模态能力: 支持视觉理解、图片 OCR、Embedding、Rerank、语音识别与语音合成,满足知识库检索和多模态笔记整理需求。
  • 🎁 NoteGen 用户专属福利: 通过专属推广链接注册并完成首次调用,即可领取 10 美元等值测试额度 / 首充专属优惠!

Capture without interrupting your thoughts

An idea may begin as a sentence, a voice recording, a screenshot, or a link you do not have time to read yet. You should not have to choose a title, folder, and structure before saving it.

NoteGen separates capturing from organizing.

Save information as it appears. Later, select the records that belong together and organize them into a structured Markdown note. You can then review the result, add your own thinking, and continue writing.

The goal is not to let AI write everything for you. It is to make sure useful fragments do not disappear before you have time to turn them into something complete.

How it works

  1. Capture what happened

    Save a thought, voice recording, screenshot, image, link, file, or todo while it is still fresh.

  2. Choose the material

    Filter records by tag, time, or type, then select the items that belong together.

  3. Organize the records

    Choose a template or describe what you want to write. NoteGen can organize the selected material into a summary, report, article, or another Markdown structure.

  4. Keep writing

    Review the draft in the editor, change the structure, add details, and continue writing in your own words.

What this looks like in practice

  • Record parts of a meeting, add two screenshots, and organize them into meeting notes afterward.
  • Save links and reading fragments during the week, then organize them into a research note.
  • Filter recent records by tag and prepare a weekly report without searching through several apps.
  • Collect images and documents for a topic, then ask questions using those materials as context.

Built around Markdown files

Your written notes remain ordinary Markdown files in the workspace you choose.

You can edit them with NoteGen, open them with another Markdown editor, keep them in Git, or move them without exporting from a proprietary format. NoteGen adds recording, AI, search, and organization around those files instead of replacing them.

The editor supports:

  • Tables, task lists, code blocks, math, diagrams, and document outlines
  • Markdown source mode and visual editing
  • Search and replace
  • Images, attachments, links, and file references
  • Export and printing tools
  • File history and workspace management

AI when it is useful

NoteGen connects to the AI providers and models you configure. You can use different models for chat, writing, embeddings, image recognition, OCR, and audio.

AI can help you:

  • Organize selected records into a structured note
  • Continue, shorten, expand, rewrite, or translate existing text
  • Ask questions about notes, records, images, and knowledge base content
  • Search local material before answering
  • Generate diagrams and charts from your notes
  • Work through longer tasks with Agent mode

AI is part of the workflow, but the result remains editable. You decide what to keep.

Search and reuse your own material

A note should remain useful after you finish writing it.

NoteGen can build a searchable knowledge base from your files and combine semantic retrieval with local text search. You can use a note, a group of records, or the knowledge base as context in a conversation instead of copying everything into a new prompt.

For advanced workflows, NoteGen also supports:

  • Vector indexing and hybrid retrieval
  • Configurable embedding and reranking models
  • Long-term memories and reusable prompts
  • MCP servers
  • Installable Skills
  • Agent tools for working with notes and files

More than a document editor

NoteGen includes a canvas workspace for material that is easier to understand visually.

You can create and edit:

  • Flowcharts
  • Mind maps
  • Timelines
  • Freehand drawings
  • Data charts
  • Diagrams generated from note content

Canvas elements remain editable after they are created, including content suggested by AI.

Sync on your terms

Notes are stored locally first. When you need them on another device, you can sync through services you already use.

Supported options include:

  • GitHub
  • GitLab
  • Gitee
  • Gitea
  • S3-compatible storage
  • WebDAV

You can also keep local backups without enabling cloud sync.

Download

PlatformStatusDownload
WindowsBetaDownload for Windows
macOSBetaDownload for Apple Silicon or Intel
LinuxBetaAppImage, DEB, or RPM
AndroidAlpha · ARM64Download APK
iOSAlphaJoin TestFlight

GitHub Releases are also available as a fallback mirror:

View the latest GitHub Release

Get started

  1. Download NoteGen for your platform.
  2. Choose a workspace for your Markdown files.
  3. Add your first record or create a note directly.
  4. Configure an AI provider when you want to use AI features.
  5. Read the documentation for sync, knowledge base, MCP, Skills, and advanced settings.

You do not need to configure every feature before writing your first note.

Related repositories

RepositoryPurpose
note-gen-docsOfficial website, bilingual documentation, and download pages.
note-gen-serverSync service and account management, with support for self-hosting.
note-gen-clipperBrowser extension for saving selected text, images, and page links to NoteGen.
note-gen-plugin-sdkTypeScript API, project scaffolding, CLI, and test tools for developing NoteGen plugins.
note-gen-pluginsOfficial plugin source code and plugin marketplace publishing tools.

Contributing

NoteGen is open source and contributions are welcome.

Before opening a pull request, read the contribution guide.

You can also:

Contributors

NoteGen contributors

Thanks to everyone who has reported a problem, proposed an idea, improved a translation, written documentation, or contributed code.

Recognition

NoteGen on Trendshift Featured by HelloGitHub NoteGen on Product Hunt

Acknowledgements

NoteGen is tested with BrowserStack.

SiliconFlow provides model service support for the project.

We also appreciate the service support provided by:

License

NoteGen is released under the GNU General Public License v3.0.

Files in the repo

Repository payload23 top-level entries
  • .cargo
  • .github
  • .vscode
  • config
  • messages
  • packages
  • public
  • scripts
  • src
  • src-tauri
  • .eslintrc.json
  • .gitattributes
  • .gitignore
  • components.json
  • LICENSE
  • next.config.ts
  • package.json
  • pnpm-lock.yaml
  • pnpm-workspace.yaml
  • postcss.config.mjs
  • README.md
  • README.zh-CN.md
  • tsconfig.json

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More other

tinyhumansai/
openhuman

OpenHuman is an open source personal AI for Mac, Windows and Linux — local-first memory, agent orchestration, and deep research.

40k

Your Personal AI Assistant; easy to install, deploy on your own machine or on the cloud; supports multiple chat apps with easily extensible capabilities.

35k

🤯 LobeHub is your Chief Agent Operator, organizing your agents into 7×24 operations by hiring, scheduling, and reporting on your entire AI team.

82k

AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs

52k

Open-source, desktop-grade AI agent that gets real work done — data analysis, slides, docs, video & web research. Built on OpenClaw; runs tools on your real desktop and takes commands from your phone via WeChat, Feishu, DingTalk & Telegram.

6k