{"repo":"lemni/pen","free":true,"listed":false,"github":"https://github.com/lemni/pen","clone":"git clone https://github.com/lemni/pen.git","description":"Rich text editor for AI and human collaboration. Headless. Extendable.","language":"TypeScript","stars":31,"topics":["ai","ai-tools","collaboration","headless","markdown","react","rich-text-editor","vue","yjs","ai-agent"],"license":null,"category":"ai-agents","readme_excerpt":"Headless, extension-first rich text editor engine for AI collaboration Work in progress, not yet ready for use Pen Pen is a source-available SDK published as public npm packages. You can evaluate and develop with it freely, but production use requires a commercial license from Input. What Pen Is Pen is a package-first editor toolkit built around a headless runtime, schema-driven document model, and explicit extension composition. The core editor owns document state, selection, normalization, and mutation authority, while renderer packages bind that runtime to React or Vue. Quick Start The smallest recommended setup uses the core runtime, the default preset, and the React renderer. PenEditor is the fastest path. If you want to own the shell, layout, and controls, use the compound primitives directly. Headless UI Examples Pen keeps runtime state and document mutation in the editor. Your app can subscribe to that state and render any UI system around it. Editor Example This example keeps Pen headless where it matters while still giving you a batteries-included editor surface in React. You can stop at PenEditor , compose Pen. primitives, or replace the UI entirely with your own controls. Bring Your Own Toolbar useToolbar(editor) exposes formatting state, and @pen/shortcuts gives you reusable formatting commands. That lets you render your own toolbar shell without giving up Pen's selection-aware behavior. Bring Your Own AI UI @pen/ai owns sessions, generation state, and suggest-mo","default_branch":null,"files":null,"tree":[],"storefront":"/r/lemni","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lemni/pen/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}