<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Hossam Taha</title>
    <description>The latest articles on DEV Community by Hossam Taha (@hossam_taha_2).</description>
    <link>https://dev.to/hossam_taha_2</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4216432%2Fae7c91d9-7999-4ae6-93d3-6b3d95a53f58.png</url>
      <title>DEV Community: Hossam Taha</title>
      <link>https://dev.to/hossam_taha_2</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hossam_taha_2"/>
    <language>en</language>
    <item>
      <title>WordCraft Collab 1.0: An Open-Source Word Processor Where Humans and AI Agents Work Together</title>
      <dc:creator>Hossam Taha</dc:creator>
      <pubDate>Fri, 30 Oct 2026 07:18:32 +0000</pubDate>
      <link>https://dev.to/hossam_taha_2/wordcraft-collab-10-an-open-source-word-processor-where-humans-and-ai-agents-work-together-59bf</link>
      <guid>https://dev.to/hossam_taha_2/wordcraft-collab-10-an-open-source-word-processor-where-humans-and-ai-agents-work-together-59bf</guid>
      <description>&lt;p&gt;&lt;strong&gt;What if multiple people and AI agents could edit the same Word document simultaneously, directly inside your application?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That is what I set out to build with WordCraft Collab.&lt;/p&gt;

&lt;p&gt;WordCraft Collab 1.0 is an open-source, Word-style document editor built with Rust and WebAssembly. It brings real-time collaborative editing, comprehensive document capabilities, native Arabic and RTL support, and AI agent participation into one application.&lt;/p&gt;

&lt;p&gt;It can run as a desktop application, command-line tool, or browser-based editor. It can also be embedded into existing websites using its companion integration package.&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/hossamTahaHussein/wordcraft-collab" rel="noopener noreferrer"&gt;https://github.com/hossamTahaHussein/wordcraft-collab&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The idea behind the project
&lt;/h2&gt;

&lt;p&gt;Document editing is a fundamental capability in many enterprise applications, content management systems, business platforms, and collaboration tools.&lt;/p&gt;

&lt;p&gt;However, building a complete word processor is a significant engineering challenge.&lt;/p&gt;

&lt;p&gt;I wanted to explore a different approach: a reusable, full-featured document editor that developers can integrate into their own applications, with collaboration built into the editing experience.&lt;/p&gt;

&lt;p&gt;I also wanted AI agents to become actual participants in document workflows rather than simply external chat assistants.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Real-time collaborative editing
&lt;/h2&gt;

&lt;p&gt;Multiple users can edit the same DOCX document simultaneously.&lt;/p&gt;

&lt;p&gt;Every user's changes are reflected across connected browsers, with a collaboration mechanism designed to keep document replicas consistent.&lt;/p&gt;

&lt;p&gt;Key capabilities include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Live cursors and participant names&lt;/li&gt;
&lt;li&gt;Real-time presence indicators&lt;/li&gt;
&lt;li&gt;Automatic document saving&lt;/li&gt;
&lt;li&gt;Saving and synchronization status&lt;/li&gt;
&lt;li&gt;Shared undo and redo, while preserving individual edit ownership&lt;/li&gt;
&lt;li&gt;Per-user suggesting mode&lt;/li&gt;
&lt;li&gt;Edit, suggest, comment, and view permissions&lt;/li&gt;
&lt;li&gt;Version history with preview and restore&lt;/li&gt;
&lt;li&gt;Offline protection with read-only fallback and Save My Copy&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fr6s2m35c7247n2qnzvfw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fr6s2m35c7247n2qnzvfw.png" alt="A collaborator's suggested rewrite shown in magenta with the old sentence struck through, and a comment balloon in the margin" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  How collaboration works
&lt;/h3&gt;

&lt;p&gt;Every edit is represented as a WordCraft command.&lt;/p&gt;

&lt;p&gt;Each browser applies its own edits immediately. A lightweight relay server orders incoming edits, and each connected replica replays the ordered operations while rebasing its own unconfirmed changes.&lt;/p&gt;

&lt;p&gt;This architecture allows multiple users to work concurrently without requiring every keystroke to wait for a server response.&lt;/p&gt;

&lt;p&gt;The collaboration implementation includes replica management, rebasing, position mapping, selective undo, and protocol handling.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Arabic and RTL support
&lt;/h2&gt;

&lt;p&gt;Arabic support was a major consideration in this project.&lt;/p&gt;

&lt;p&gt;Rather than treating RTL as a simple text-direction setting, the implementation covers the editor interface, document structure, formatting, and exported files.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbgmq45ztp908h59efw2c.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbgmq45ztp908h59efw2c.png" alt="The Arabic interface: the ribbon, rulers and status bar mirrored, with an Arabic document and a collaborator's caret labelled in Arabic" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Interface support:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Fully translated Arabic interface&lt;/li&gt;
&lt;li&gt;Mirrored ribbon, menus, dialogs, panes, rulers, and status bar&lt;/li&gt;
&lt;li&gt;Arabic interface through &lt;code&gt;?lang=ar&lt;/code&gt; or system language detection&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Document support:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Right-to-left paragraphs, tables, and sections&lt;/li&gt;
&lt;li&gt;Mixed Arabic and English text&lt;/li&gt;
&lt;li&gt;Correct text ordering&lt;/li&gt;
&lt;li&gt;Kashida justification&lt;/li&gt;
&lt;li&gt;Arabic spell checking&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;File support:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;RTL preservation in DOCX, HTML, ODT, and RTF&lt;/li&gt;
&lt;li&gt;Searchable and selectable Arabic text in exported PDFs&lt;/li&gt;
&lt;li&gt;Noto Sans Arabic font bundled with the application&lt;/li&gt;
&lt;li&gt;Ayaspell Arabic dictionary bundled for spelling support&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Arabic is not an additional plugin or an external dependency. It is part of the editor itself.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. AI agents as document collaborators
&lt;/h2&gt;

&lt;p&gt;One of the most interesting capabilities is integrating AI agents directly into collaborative documents.&lt;/p&gt;

&lt;p&gt;Using the Model Context Protocol (MCP), an AI agent can join a shared document as a named participant:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;wordcraft-cli collab-mcp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Agents can:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Execute document editing commands&lt;/li&gt;
&lt;li&gt;Insert and modify content&lt;/li&gt;
&lt;li&gt;Suggest changes&lt;/li&gt;
&lt;li&gt;Comment on document sections&lt;/li&gt;
&lt;li&gt;Reply to comments&lt;/li&gt;
&lt;li&gt;Identify other participants&lt;/li&gt;
&lt;li&gt;Wait for document changes&lt;/li&gt;
&lt;li&gt;Inspect document structure and content&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Agents operate in suggesting mode by default, allowing human users to review and accept or reject proposed changes.&lt;/p&gt;

&lt;p&gt;This creates a different interaction model: instead of copying content between a chatbot and a document, the AI agent works within the document collaboration workflow.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Developer integration
&lt;/h2&gt;

&lt;p&gt;WordCraft Collab is designed to be embedded into other applications.&lt;/p&gt;

&lt;p&gt;The companion &lt;a href="https://github.com/hossamTahaHussein/wordcraft-embed" rel="noopener noreferrer"&gt;&lt;code&gt;wordcraft-embed&lt;/code&gt;&lt;/a&gt; project provides the JavaScript SDK, collaboration relay server, and server-side API.&lt;/p&gt;

&lt;h3&gt;
  
  
  JavaScript SDK
&lt;/h3&gt;

&lt;p&gt;The SDK provides access to the editor's 649 commands through a unified interface:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nf"&gt;run&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;command&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;params&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It also exposes operations including:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;getText&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;getDocument(format)&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;inspect&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;insertText&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;select&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;setReadOnly&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;change&lt;/code&gt; events&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;selectionchange&lt;/code&gt; events&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;presence&lt;/code&gt; events&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;comment&lt;/code&gt; events&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Server-side integration
&lt;/h3&gt;

&lt;p&gt;The collaboration relay exposes an HTTP API for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Retrieving document information&lt;/li&gt;
&lt;li&gt;Exporting documents as DOCX, PDF, or text&lt;/li&gt;
&lt;li&gt;Sending commands as live document edits&lt;/li&gt;
&lt;li&gt;Removing participants&lt;/li&gt;
&lt;li&gt;Closing documents&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It also supports HMAC-signed webhooks for events including:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;joined&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;left&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;saved&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;edited&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;commented&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;restored&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This allows host applications to integrate document collaboration into their existing business workflows.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. A complete word-processing experience
&lt;/h2&gt;

&lt;p&gt;WordCraft Collab is not just a collaborative text editor.&lt;/p&gt;

&lt;p&gt;It includes a broad range of document creation, formatting, layout, review, and publishing capabilities.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fitsmrrxlliw5yurv8erd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fitsmrrxlliw5yurv8erd.png" alt="The Review tab with Track Changes on and comment balloons joined to the text by dashed leader lines" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Writing and formatting
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Smart quotes and AutoCorrect&lt;/li&gt;
&lt;li&gt;Lists and automatic list formatting&lt;/li&gt;
&lt;li&gt;Clipboard operations with formatting&lt;/li&gt;
&lt;li&gt;Find and replace with regular expressions&lt;/li&gt;
&lt;li&gt;Font families, sizes, colors, and character spacing&lt;/li&gt;
&lt;li&gt;Bold, italic, underline, strikethrough&lt;/li&gt;
&lt;li&gt;Superscript and subscript&lt;/li&gt;
&lt;li&gt;Format Painter and Change Case&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Paragraphs and styles
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Alignment and indentation&lt;/li&gt;
&lt;li&gt;Line and paragraph spacing&lt;/li&gt;
&lt;li&gt;Tabs, leaders, borders, and shading&lt;/li&gt;
&lt;li&gt;Built-in styles and custom styles&lt;/li&gt;
&lt;li&gt;Style galleries and themes&lt;/li&gt;
&lt;li&gt;Widow and orphan control&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6y7x10wff1va2x78er1r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6y7x10wff1va2x78er1r.png" alt="The Design tab with style-set previews, a serif theme with plum headings and a pale DRAFT watermark" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Tables and pages
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Table insertion, merging, and splitting&lt;/li&gt;
&lt;li&gt;Table styles and repeated header rows&lt;/li&gt;
&lt;li&gt;Table sorting and formulas&lt;/li&gt;
&lt;li&gt;Page margins, orientation, and sizes&lt;/li&gt;
&lt;li&gt;Multiple columns and section breaks&lt;/li&gt;
&lt;li&gt;Headers, footers, and page numbers&lt;/li&gt;
&lt;li&gt;Watermarks and page borders&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqpadwp7h7nvc4q9u2dcx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqpadwp7h7nvc4q9u2dcx.png" alt="The Layout tab: a drop cap, text wrapping around a shape, automatic hyphenation, line numbers and a page border" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Images and objects
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Image insertion, cropping, resizing, and rotation&lt;/li&gt;
&lt;li&gt;Brightness and contrast adjustments&lt;/li&gt;
&lt;li&gt;Transparency and background removal&lt;/li&gt;
&lt;li&gt;Shapes and text boxes&lt;/li&gt;
&lt;li&gt;Floating objects and text wrapping&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  References and review
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Tables of contents&lt;/li&gt;
&lt;li&gt;Footnotes and endnotes&lt;/li&gt;
&lt;li&gt;Citations and bibliographies&lt;/li&gt;
&lt;li&gt;APA, MLA, Chicago, and IEEE styles&lt;/li&gt;
&lt;li&gt;Captions and cross-references&lt;/li&gt;
&lt;li&gt;Index and table of authorities&lt;/li&gt;
&lt;li&gt;Spelling and grammar suggestions&lt;/li&gt;
&lt;li&gt;Comments and track changes&lt;/li&gt;
&lt;li&gt;Accept and reject changes&lt;/li&gt;
&lt;li&gt;Document comparison&lt;/li&gt;
&lt;li&gt;Accessibility checking and document inspection&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsy6hm241yqdl6sg22muv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsy6hm241yqdl6sg22muv.png" alt="The References tab: a table of contents with dotted leaders on page one, and a styled table, numbered list and hyperlink on page two" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Mailings
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Mail merge from CSV&lt;/li&gt;
&lt;li&gt;Merge fields&lt;/li&gt;
&lt;li&gt;Address blocks and greeting lines&lt;/li&gt;
&lt;li&gt;Preview and document generation&lt;/li&gt;
&lt;li&gt;Envelopes and labels&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Viewing
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Print layout, web layout, and draft mode&lt;/li&gt;
&lt;li&gt;Read mode and focus mode&lt;/li&gt;
&lt;li&gt;Zoom and multiple-page views&lt;/li&gt;
&lt;li&gt;Navigation pane and rulers&lt;/li&gt;
&lt;li&gt;Gridlines and dark mode&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F27st7h9681tb9ke9jm7i.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F27st7h9681tb9ke9jm7i.png" alt="WordCraft in dark mode with the Insert tab open and formatting marks shown" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Multiple document formats
&lt;/h2&gt;

&lt;p&gt;The editor supports reading and writing DOCX files, including importing legacy Word 97–2003 DOC files.&lt;/p&gt;

&lt;p&gt;Other supported formats include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;PDF export&lt;/li&gt;
&lt;li&gt;ODT&lt;/li&gt;
&lt;li&gt;RTF&lt;/li&gt;
&lt;li&gt;HTML&lt;/li&gt;
&lt;li&gt;Markdown&lt;/li&gt;
&lt;li&gt;LaTeX&lt;/li&gt;
&lt;li&gt;Plain text&lt;/li&gt;
&lt;li&gt;Page images&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The objective is to make document creation and conversion available through the same underlying document engine.&lt;/p&gt;

&lt;h2&gt;
  
  
  7. Desktop, browser, and command line
&lt;/h2&gt;

&lt;p&gt;The project is not limited to a browser-based editor.&lt;/p&gt;

&lt;p&gt;It provides three application entry points:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Desktop application&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A full desktop word processor with a sample document and support for opening existing documents.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwawi9lo30eh4k1nm2zc9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwawi9lo30eh4k1nm2zc9.png" alt="The File tab start page with templates and a list of recent documents" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Browser application&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A WebAssembly-powered editor that runs in the browser and supports real-time collaboration.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Command-line interface&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The CLI enables document conversion, text extraction, inspection, and automated document editing.&lt;/p&gt;

&lt;p&gt;For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;wordcraft-cli convert report.docx report.pdf
wordcraft-cli text report.docx
wordcraft-cli inspect report.docx
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You can also execute document operations through command sequences or JSON scripts.&lt;/p&gt;

&lt;h2&gt;
  
  
  8. Architecture and technology
&lt;/h2&gt;

&lt;p&gt;The project is built around a layered Rust architecture.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Layer&lt;/th&gt;
&lt;th&gt;Components&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;L0&lt;/td&gt;
&lt;td&gt;Geometry and measurements&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;L1&lt;/td&gt;
&lt;td&gt;Document model, fonts, spelling and grammar&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;L2&lt;/td&gt;
&lt;td&gt;Layout, pagination, DOCX and other formats&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;L3&lt;/td&gt;
&lt;td&gt;Rendering and PDF generation&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;L4&lt;/td&gt;
&lt;td&gt;Editing engine, sessions, undo/redo, 649 commands&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;L5&lt;/td&gt;
&lt;td&gt;MCP server and collaboration engine&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;L6&lt;/td&gt;
&lt;td&gt;UI built with egui&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Applications&lt;/td&gt;
&lt;td&gt;Desktop, CLI and WebAssembly browser application&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The browser application uses Rust compiled to WebAssembly.&lt;/p&gt;

&lt;p&gt;The architecture separates document modeling, editing, rendering, collaboration, and user interface responsibilities.&lt;/p&gt;

&lt;p&gt;This makes it possible to expose the same underlying document capabilities through different application interfaces.&lt;/p&gt;

&lt;h2&gt;
  
  
  9. Testing and reliability
&lt;/h2&gt;

&lt;p&gt;Collaborative editing requires more than verifying that two users can type simultaneously.&lt;/p&gt;

&lt;p&gt;The project includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Randomized multi-user convergence tests&lt;/li&gt;
&lt;li&gt;Undo and redo collaboration tests&lt;/li&gt;
&lt;li&gt;Unit tests&lt;/li&gt;
&lt;li&gt;End-to-end tests with three browser instances&lt;/li&gt;
&lt;li&gt;Relay restart testing&lt;/li&gt;
&lt;li&gt;AI agent integration testing against the actual collaboration relay&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The CI workflow runs formatting checks, Clippy, approximately 800 tests, asset attribution checks, architecture layering checks, and the WebAssembly build.&lt;/p&gt;

&lt;h2&gt;
  
  
  10. Getting started
&lt;/h2&gt;

&lt;p&gt;Clone the repository:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/hossamTahaHussein/wordcraft-collab
&lt;span class="nb"&gt;cd &lt;/span&gt;wordcraft-collab
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Run the desktop application:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;cargo run &lt;span class="nt"&gt;--release&lt;/span&gt; &lt;span class="nt"&gt;-p&lt;/span&gt; wordcraft &lt;span class="nt"&gt;--&lt;/span&gt; &lt;span class="nt"&gt;--sample&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Open an existing document:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;cargo run &lt;span class="nt"&gt;--release&lt;/span&gt; &lt;span class="nt"&gt;-p&lt;/span&gt; wordcraft &lt;span class="nt"&gt;--&lt;/span&gt; report.docx
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Run the browser version:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;cd &lt;/span&gt;apps/wordcraft-web
trunk serve
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Open &lt;code&gt;http://127.0.0.1:8771/?sample&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;For the browser collaboration setup and embedding instructions, see the &lt;a href="https://github.com/hossamTahaHussein/wordcraft-embed" rel="noopener noreferrer"&gt;companion repository&lt;/a&gt;. A prebuilt web build is attached to the &lt;a href="https://github.com/hossamTahaHussein/wordcraft-collab/releases/tag/v1.0.0" rel="noopener noreferrer"&gt;v1.0.0 release&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Open source and contributions
&lt;/h2&gt;

&lt;p&gt;WordCraft Collab is dual-licensed under MIT or Apache-2.0, at your option.&lt;/p&gt;

&lt;p&gt;The project is based on &lt;a href="https://github.com/storytold/wordcraft" rel="noopener noreferrer"&gt;WordCraft&lt;/a&gt; by the ArtCraft team and its contributors. WordCraft Collab is an independent modified project and is not sponsored, affiliated with, or endorsed by the ArtCraft team.&lt;/p&gt;

&lt;p&gt;The collaboration engine, Arabic and RTL improvements, integrations, and AI agent capabilities are part of WordCraft Collab.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Explore the repositories:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Editor: &lt;a href="https://github.com/hossamTahaHussein/wordcraft-collab" rel="noopener noreferrer"&gt;https://github.com/hossamTahaHussein/wordcraft-collab&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Embedding SDK and collaboration relay: &lt;a href="https://github.com/hossamTahaHussein/wordcraft-embed" rel="noopener noreferrer"&gt;https://github.com/hossamTahaHussein/wordcraft-embed&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What's next?
&lt;/h2&gt;

&lt;p&gt;Version 1.0 establishes the foundation for a different approach to document collaboration.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Coming in the next release: spreadsheet and presentation apps.&lt;/strong&gt; WordCraft Collab will grow beyond documents, with a spreadsheet editor and a presentation editor joining the word processor.&lt;/p&gt;

&lt;p&gt;I am particularly interested in expanding the possibilities around AI agents, document automation, and embedding collaborative editing into enterprise applications.&lt;/p&gt;

&lt;p&gt;Imagine contracts, reports, proposals, and business documents where people and AI agents can work together, with changes visible, reviewable, and tracked.&lt;/p&gt;

&lt;p&gt;That is the direction I want to explore.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;I'd like to hear from developers:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;What would you build if you could embed a complete word processor into your application and allow AI agents to collaborate directly with your users?&lt;/p&gt;

&lt;p&gt;Contributions, feedback, and GitHub stars are welcome.&lt;/p&gt;

&lt;p&gt;Website: &lt;a href="https://hossamtaha.me" rel="noopener noreferrer"&gt;https://hossamtaha.me&lt;/a&gt;&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>rust</category>
      <category>webassembly</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
