Coding & Development🌐universal

TxtAIEditor

TxtAIEditor

Quick Start

Install this Skill

npx skills add kirinonakar/TxtAIEditor
# TxtAIEditor

<p align="center">
  <img src="TxtAIEditor/Assets/TxtAIEditor.png" alt="TxtAIEditor Logo" width="100" height="100" />
</p>

<h3 align="center">TxtAIEditor</h3>

<p align="center">
  <strong>A Premium WinUI 3 Desktop Text Editor Shell with an Integrated AI Agent Core</strong>
</p>

<p align="center">
  <a href="https://dotnet.microsoft.com/download/dotnet/10.0"><img src="https://img.shields.io/badge/.NET-10.0-blueviolet.svg?style=flat-square" alt="Target Framework" /></a>
  <a href="https://learn.microsoft.com/en-us/windows/apps/winui/winui3/"><img src="https://img.shields.io/badge/WinUI-3-blue.svg?style=flat-square" alt="UI Framework" /></a>
  <a href="https://github.com/microsoft/WindowsAppSDK"><img src="https://img.shields.io/badge/Windows%20App%20SDK-2.2.0-orange.svg?style=flat-square" alt="SDK Version" /></a>
  <a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-green.svg?style=flat-square" alt="License" /></a>
</p>

---

## 🌟 Overview

**TxtAIEditor** is a high-performance, elegant, and modern desktop text editor shell built for Windows. It marries the robust, native desktop capabilities of **WinUI 3 (.NET 10.0)** with the intelligence of an **integrated AI agent**.

Designed for developers, writers, and power users, TxtAIEditor provides a fluid, distraction-free environment. It features standard workspace tools like a **live Markdown/HTML/LaTeX previewer**, a **built-in terminal**, **comprehensive Git integration**, **multi-provider AI assistance and AI agent**, and a **virtualized editor core** capable of opening and editing files from small snippets to 200MB+ texts seamlessly.

<p align="center">
  <img src="screenshot.png" alt="TxtAIEditor Screenshot" width="100%" />
</p>

---

## ✨ Key Features

### 📝 Virtualized Editor Core
*   **Large File Support:** Instantly open and edit large files (200MB+ texts) with zero lag, keeping the editor highly responsive.
*   **Virtual Scrolling:** Renders only visible viewport lines plus an overscan buffer, keeping DOM elements minimal and rendering fast.
*   **Syntax Highlighting:** Premium, high-performance syntax coloring for Markdown (headers, lists, blockquotes, bold/italic, code blocks, links), C#, JavaScript, Python, HTML, CSS, LaTeX, and many more.
*   **Auto-Completion & Snippets:** Intelligent auto-completion suggesting variables, keywords, and customizable snippets (such as Markdown tables, LaTeX matrices, HTML5 shells, C# notifier properties) that insert seamlessly via Enter or Tab.
*   **Rich Markdown Toolbar:** Quick-apply styling (bold, italic, underline, list, color, tables) to selected text.

### 💾 Auto-Save
*   **Smart Background Auto-Save:** Automatically saves modified files within the active Git repository folder every 5 seconds.
*   **Workspace-Aware:** By default, only triggers when a Git repository folder is opened in the editor.
*   **Optional Non-Git Folders:** The Editor settings include an opt-in checkbox to allow Autosave in folders that are not Git repositories.

### 🔐 Encrypted Notes
*   **Secure Note Compatibility:** Opens and saves `SECURE_NOTE_V1` encrypted note files compatible with the Simple Memo encryption format.
*   **Password Prompt on Open:** Encrypted files ask for a password before the decrypted text is loaded into the editor.
*   **Encrypted Save Preservation:** Saving an encrypted tab writes the file back in encrypted form instead of leaking plain text to disk.
*   **Tab Lock Indicator:** Encrypted tabs show a lock icon at the front of the tab.
*   **Password Management:** Right-click the tab or lock icon to encrypt a plain tab, change the password, or remove encryption. Password changes and removal require matching double-entry confirmation.

### 🖥️ Native Premium Windows UI
*   **Mica Backdrop & Themes:** Themes (Light, Dark, Pastel Dark) with a high-fidelity Mica backdrop.
*   **Multi-Pane Splitters:** Easily adjust sidebars, preview sections, and terminal panes via interactive C# split-controls.
*   **Always on Top & Sticky Notes:** Pin your editor window or transform to sticky notes directly from the toolbar.

### 👁️ Real-Time Preview
*   **Live Renderer:** View Markdown, HTML, Aozora or LaTeX (powered by KaTeX) in a split view or an external browser.
*   **Inline Live Preview:** Renders Markdown elements (headers, lists, tables, code blocks, images) directly within the editor area. Non-active lines transition into their styled preview form, and automatically revert to raw source text when focused or edited for a seamless WYSIWYG-like experience.

### 🖼️ Integrated Media & Document Viewer
*   **Unified Viewer Workflow:** Open and inspect images, office documents, audio, and video files directly from the Explorer or editor tabs alongside your project files.
*   **Image Viewer:** View popular image formats (`.png`, `.jpg`, `.jpeg`, `.gif`, `.bmp`, `.ico`, `.webp`) seamlessly within the editor space.
*   **Document Viewer:** Preview PDFs (`.pdf`) and common Office documents (`.d

... (truncated)
Repository
8stars
3forks
View on GitHub
Details
DiscoveredJul 21, 2026
Last UpdatedJul 22, 2026
Quality Score
35/100