MCPcopy Index your code
hub / github.com/abdulrahman-mh/textrix

github.com/abdulrahman-mh/textrix @v0.1.9

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.1.9 ↗ · + Follow
452 symbols 1,003 edges 150 files 26 documented · 6%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

textrix logo

What if Medium’s editor was faster, smarter, customizable, and open source?, Now it is. 🚀

[Homepage](https://textrix.vercel.app) | [Documentation](https://textrix.vercel.app/doc) | [Demo](https://textrix-demo.vercel.app/)

GitHub Repo stars Bundle Size npm License


Textrix is a rich-text publishing editor inspired by Medium — built for the modern web. Use it for blogs, newsletters, writing platforms, real-time collaboration, or as a beautiful, ready-to-use editor in your app.

Unlike most editors, Textrix lets you write, edit, and publish in one place!, Generate a static HTML article or blog post from document that look exactly like they did in the editor, making it truly WYSIWYG (what you see is what you get), this will result in faster load times, better SEO, and higher search rankings.

Built for developers and writers, Builds with the flexible ProseMirror library.

Features

  • 🚀 Fast & Lightweight: Optimized to handle large documents with smooth performance.
  • 🎨 Customizable: Plugin-based architecture easy for customization.
  • 🧠 AI Autocomplete (Coming Soon): Add AI to your editor
  • 📝 Rich Media Support: Embed images, videos, websites, tooltips, popups, and more.
  • ⌨️ Markdown Support: Markdown formatting and shortcuts.
  • 🔄 Live Collaboration: Real-time editing, Version history, and backend sync.
  • 🌍 Multi-Language Ready: Localization, right-to-left (RTL) support.
  • 📦 Tree-shakeable: Bundle only the features you need.
  • 🌍 Framework-Agnostic: use it with React, Vue, Svelte, Vanilla JS, and more.

💖 Support Textrix

Textrix is built with passion and 100% open-source!, and completely free, If you’d like to help:

Buy Me a Coffee → Every donation keeps the project alive!

Star the Repo → Stay updated and lets others discover Textrix too.

🤝 Contributing

Any Contributing are welcome, open CONTRIBUTING.md for more.

MIT © Abdulrahman Mahmoud

Extension points exported contracts — how you extend this code

Emitter (Interface)
(no doc) [2 implementers]
src/features/codeBlock/HastEmitter.ts
PublicMenuitemOptions (Interface)
(no doc)
src/Feature.ts
Commands (Interface)
(no doc)
src/types.ts
Metadata (Interface)
(no doc)
src/util/getMetadata.ts
NoticeProps (Interface)
(no doc)
website/app/ui/notice.tsx
PopoverElement (Interface)
(no doc)
src/features/popover.ts
Menuitem (Interface)
(no doc)
src/Feature.ts
SchemaOptions (Interface)
(no doc)
src/types.ts

Core symbols most depended-on inside this repo

create
called by 55
src/Feature.ts
resolve
called by 18
src/FeaturesManager.ts
createElement
called by 17
src/util/createElement.ts
createUMDBuild
called by 7
rollup.config.js
callOrReturn
called by 7
src/helpers/callOrReturn.ts
hideTooltip
called by 7
src/features/bubbleMenu/bubbleMenu.ts
markPasteRule
called by 6
src/pasteRules/markPasteRule.ts
isNodeActive
called by 6
src/helpers/isNodeActive.ts

Shape

Function 287
Method 103
Interface 40
Class 22

Languages

TypeScript100%

Modules by API surface

src/features/bubbleMenu/bubbleMenu.ts22 symbols
src/Editor.ts20 symbols
src/features/codeBlock/HastEmitter.ts18 symbols
src/features/popover.ts17 symbols
src/types.ts13 symbols
src/features/media/dragHandler.ts13 symbols
src/features/emoji/emojiSuggestionPlugin.ts12 symbols
src/features/media/helpers.ts11 symbols
src/features/floatingMenu/floatingMenu.ts11 symbols
src/util/zoomImageHandler.ts10 symbols
src/features/media/index.ts10 symbols
src/features/link/index.ts10 symbols

For agents

$ claude mcp add textrix \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page