Lurker News
Hi HN, Nick here. We’re launching OpenKnowledge (https://openknowledge.ai/), a “what you see is what you get” markdown editor that has direct integrations with Claude, Codex, and other agents. Available as MacOS app or Web UI+CLI. Fully free/local and OSS.

We built this because we wanted a Notion-like experience for writing and sharing markdown files across our team. Obsidian is the best alternative we tried, but found it doesn’t have a true WYSWIG UI and it didn’t integrate well with Claude/Codex outside of community plugins.
So we built OpenKnowledge. It takes shape as:
1. A MacOS app with a file navigator, the WYSIWYG editor, and link explorer.
2. Integrations with the Claude, Codex, and Cursor desktop apps. The agents can open an OpenKnowledge editor within their embedded web browsers for a side-by-side experience.
3. Built-in mcps, skills, and RAG for LLM-wiki and “AI Second Brain” scenarios + spec writing
4. An embedded terminal and CLI for TUI-first users
OSS stack includes: Tiptap/prosemirror, CodeMirror, yjs (CRDT), Electron (MacOS app), Orama, remark/rehype/micromark/mdast, @pierre/trees
On the architecture side, the interesting eng. challenges included:
1. A pipeline to convert ProseMirror to markdown in a bidirectional lossless way. ProseMirror uses ASTs, which are not designed to have byte-fidelity.
2. A dual-observer CRDT to keep the ProseMirror and markdown state in-sync.
The CRDT + git also power a collaborative experience that shows what Agents are doing in the markdown, have undo/redo, and version history. The “Share” and cloud-sync functionality are geared for team collaboration. They feel “no-code” but leverage git/GitHub under the hood, which also means data stays fully private.
In that spirit, we made OpenKnowledge open source for anybody who’s curious or who’d like to contribute.
We’re actively thinking about plugins/extensibility and what’s next. If you have suggestions or feedback, would love to hear it.

Comments (173) 71 threads

Earlier comments
meghanto#
I'm working on a PKM myself, and while wysiwyg won't be my first priority and I'm aiming for a more hackable surface, this is very interesting and I'll most likely take inspiration from it for integrating AI workflows into my notes
joshka2 replies#
Electron apps tend to fall down in the minutiae of the little things that native apps get right (around things like selection, scrolling, various small affordances across various levels). Would love to see something like this be more native app upfront, than starting out with something that will always leave that top 10% of what makes a nice feeling app unobtainable.

You win hard on this if you have the best possible UX that feels natural to drive. You just also ran if not because obsidian/notion etc. are already there (and have the people to put into those random edge cases that make electron apps bad).

wollowollo2 replies#
This is a very mac-centric view. It makes business sense to plan for multiplatform.
engomez#
Yes, we're working on Linux/Windows beyond the CLI/WebUI, Electron enables us to do that.
joshka#
The same comments apply to each OS - scrolling / selection / hotkeys / controls / etc. all feel differently on each OS. macOS just has the general best of breed consistency with its own UX guidelines.
kstrauser#
Yup. Much as I love the idea of Obsidian, for instance, I find it in an uncanny valley of almost a Mac app but not. That makes it feel stranger to me than something like Emacs, which doesn’t bother even trying, and so doesn’t feel as weird.
jrm42 replies#
Nothing personal, but there genuinely ought to be consequences for using "open source" in the context of something like this tied to proprietary AI services.

Local models should be the first choice in that framing.

engomez#
Integration with local models/harnesses is top the queue. What IDE or Harness do you use?

We're looking at OpenCode/Zed next but open to input.

pylotlight#
It's not tied at all, the AI integration is on top of. So OSS applies to the app itself.
cheema331 reply#
I recently moved from Obsidian to a self-hosted Outline. Primarily because I needed an easy to use solution for sharing a knowledgebase with the team. Obsidian doesn't do team. Notion appears to, but Outline fit the bill so well, and was free. It has an MCP server, just like Notion.

I do wish that there was a way to provide filesystem level access to the markdown files to an AI agent. I think that might be faster.

engomez#
Let me know if you see any gap with OpenKnowledge an this scenario. It's exactly what we aimed to solve (files are markdown and local, sync and team sharing happens via git/GitHub but is abstracted away from user).

Load more comments