Skip to content

kaduxo/writefix

Repository files navigation

WriteFix

Self-hosted, open-source AI writing analyzer. Paste text, get grammar, tone, and readability feedback — powered by your model, running locally or via your own API keys.

WriteFix is the community edition of Filtrart. No accounts, no subscriptions, no cloud lock-in.

Features

  • Grammar, tone, and readability analysis
  • Industry modes: General, Legal, Marketing, Academic
  • One-click fixes, before/after comparison, PDF export
  • Analysis history with trend charts
  • Privacy mode (analyze without saving)
  • Pluggable AI providers

Supported Providers

Provider Use case Privacy
Ollama (default) Fully local inference Text stays on your machine
OpenAI-compatible LM Studio, vLLM, LocalAI, OpenRouter Depends on your setup
Google Gemini Your own API key Sends text to Google
Anthropic Your own Claude API key Sends text to Anthropic

Quick Start

Prerequisites

  • Node.js 18+
  • Ollama (recommended for local use)

1. Install

cd opensource
npm install
cp .env.example .env
mkdir -p data

2. Pull a model (Ollama)

ollama pull llama3.2

3. Initialize database & run

npm run db:push
npm run dev

Open http://localhost:3000.

4. Configure provider

Go to Settings to switch providers, test your connection, or enable privacy mode.

Docker (with Ollama)

docker compose up -d
# Pull a model into the Ollama container:
docker compose exec ollama ollama pull llama3.2

WriteFix: http://localhost:3000

LM Studio Setup

  1. Start LM Studio and load a model
  2. Enable the local server (default: http://localhost:1234)
  3. In WriteFix Settings, choose OpenAI-compatible
  4. Set Base URL: http://localhost:1234/v1
  5. Set Model to your loaded model name
  6. Test connection

Environment Variables

See .env.example for all options.

Privacy

  • With Ollama or a local OpenAI-compatible server, your text never leaves your machine
  • Enable Privacy mode in Settings to skip saving analyses to history
  • API keys are stored locally in SQLite — never committed to git
  • No telemetry, no accounts, no external services required

License

MIT — see LICENSE

Relationship to Filtrart

Filtrart (SaaS) WriteFix (OSS)
Hosted cloud service Self-hosted
Google Gemini built-in You choose the provider
Auth + Stripe billing No auth, all features free
PostgreSQL SQLite

Built with Next.js 15, React 19, Prisma, and Tailwind CSS.

About

Self-hosted, open-source AI writing analyzer - community edition of Filtrart

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors