# TextForge

> The code editor that finishes your lines, even offline

- Version : 0.0.20
- Price : €12 (One-time purchase, no subscription)
- System : macOS 14 or later
- Processor : Apple silicon Mac (M1 and later)
- Download : 6 MB
- Category : AI & development
- Page : https://macappia.photosplus.org/en/apps/textforge

TextForge is a native Mac text and code editor: syntax highlighting for around thirty languages, line numbers, a project navigator, find and replace with regular expressions, search across an entire folder and side-by-side comparison of two files. HTML tools and text transformations take care of the small chores.

What sets it apart is AI on your terms. A built-in engine works with no download and no key, a small Qwen2.5-Coder model can run locally through MLX, and you can also plug in your own Anthropic or OpenAI key, or an Ollama or LM Studio server. For developers, web builders and technical writers.

## The magic

You type, and the rest of the line appears as ghost text: press Tab and it is yours. Select a block and ask the AI to explain, fix, refactor or document it — with a model that can run entirely on your Mac.

## What it does

- Ghost-text completion — inline suggestions accepted with a single Tab
- AI panel — explain, fix, refactor or document the selected code
- Three AI sources — offline built-in engine, local MLX model or a compatible service with your key
- Multi-file search — grep with regular expressions, whole word and case matching across a folder
- File comparison — see the differences between two files side by side
- HTML and text tools — wrap in tags, balance, strip, encode entities, comment lines

## Why TextForge is unique

- AI you can use with no account and no connection, thanks to the built-in engine and local MLX model
- Your choice of provider: local, Anthropic, OpenAI, Ollama or LM Studio
- Light native editor, a DMG of about 6 MB
- No forced subscription: online services are only used if you plug in your own key

## How it works

1. Open a file or a project folder
2. Pick your AI source in the settings (built-in, local MLX or a compatible service)
3. Write: accept suggestions with Tab or call up the AI panel on a selection

## FAQ

**What do I need?**
macOS 14 or later on an Apple Silicon Mac (M1 or later). It does not run on Intel Macs.

**Is the local model included?**
The built-in engine is. The MLX model (a small quantised Qwen2.5-Coder) downloads once on first use, then works offline.

**How good is the built-in engine?**
It offers per-language snippets and completions drawn from your document; for richer suggestions, use the MLX model or an external service.

**Is my code sent online?**
Only if you choose a remote service (Anthropic, OpenAI) with your own key; the built-in engine and MLX stay local.
