CoFlu is a powerful text manipulation, generation, and comparison tool. It's designed for tasks like proofreading, editing, content creation, version control, and ensuring text consistency. CoFlu offers unique capabilities, including AI-powered text generation, audio transcription, and unprecedented layout-preserving .docx translation using LLMs.
Key Differentiator: As of February 2025, CoFlu is the only website offering Microsoft Word (.docx) translation that fully preserves the original document's layout (fonts, styles, tables, images, and other elements) while using LLMs for superior translation quality. This sets CoFlu apart, providing a powerful and unique capability for users working with formatted documents.
1. Text Manipulation & Comparison:
- File Upload: Supports
.epub
,.txt
,.html
,.htm
,.css
,.xml
,.json
, and.docx
. - Text Comparison:
- Calculates Levenshtein distance and percentage differences.
- Optional "semantic cleanup" for more meaningful comparisons.
- Diff Views: Single-column (insertions/deletions highlighted) or double-column (side-by-side).
- Text Transformations:
- Convert case (uppercase/lowercase).
- Deduplicate and sort lines (alphabetically, including space-separated words).
- Remove bold formatting and extra spaces.
- Format LaTeX (spacing around delimiters) and HTML (
to spaces). - Retab: Convert spaces to tabs for consistent indentation.
- Markdown Rendering:
- Converts Markdown to HTML, including math (KaTeX or MathJax).
- Print/save as PDF with Ctrl+P.
2. AI-Powered Capabilities:
- AI Text Generation: Uses leading AI models:
- OpenAI:
gpt-4o
,o3-mini
, and others. - Anthropic:
claude-3-7-sonnet
,claude-3-5-sonnet
,claude-3-5-haiku
. - DeepSeek: R1 and V3.
- Google: Gemini 2.0 models, including video input.
- Groq: LPU high-speed inference, including vision models.
- Lambda: LLaMA.
- xAI: The most based Grok.
- OpenRouter: Unsage Dolphin 3.0, Mistral, and
gpt-4o
extended output. - Perplexity: Sonar Deep Research.
- Alibaba:
qwen-max
,qwen-vl-max
, and others. - SambaNova: Fastest full-size DeepSeek and LLaMAs.
- Together.AI: Qwens.
- OpenAI:
- Prompting:
- Predefined prompts (e.g., "Proofread this text").
- Create and save custom prompts.
- Optional streaming output (see text as it's generated).
- Image/video input (for supported models).
- Audio Transcription:
- Transcribes
.flac
,.mp3
,.mp4
,.mpeg
,.mpga
,.m4a
,.ogg
,.wav
,.webm
. - Uses Whisper models.
- Supports multiple languages.
- Transcribes
- Text Translation: Translates text using the selected AI model (also as part of the .docx feature).
3. Groundbreaking .DOCX Translation:
- Upload & Translate .DOCX: Handles Microsoft Word documents.
- Full Layout Preservation: Crucially, CoFlu maintains the exact original formatting (fonts, styles, tables, images).
- LLM-Powered: Uses the selected AI model for translation.
- Translation Settings:
- Batch Size: Number of text chunks sent to the AI at once (smaller = more stable).
- Batch RPM: Delay between batches (same as API rate limits).
- Exponential Retry: Number of retries for failed API requests.
- Download Translated .DOCX: Automatically downloads the translated document.
4. User Experience:
- Local Storage: Saves text, chat, API keys, settings, and custom prompts in your browser. No data is sent to external servers (except for API calls to the chosen AI provider).
- Appearance: Light/dark mode, wide mode.
- Settings Import/Export: JSON format.
- Load Text: Upload files or paste/type text into the source/target areas.
- Transform: Use buttons above text areas for transformations (uppercase, lowercase, dedupe, etc.).
- AI Generate:
- Select an API model and enter your API key in settings.
- Choose a prompt (predefined or custom).
- (Optional) Upload images/videos, enable streaming.
- Click "Generate."
- Compare: Click "Compare" to see differences (Levenshtein, percentage, visual diffs).
- Switch: Swap source and target text.
- Transcribe: Select language, upload audio, click "Start Transcribe."
- Render Markdown: Choose math renderer (KaTeX/MathJax), click "Render," use Ctrl+P to save.
- Translate .DOCX: Select language, upload .docx, click "Start Translation."
- Enter your custom prompt in the "Custom Prompt" input.
- Click "Save Prompt" to store it for later use.
- Saved prompts will appear in the "Select Prompt" dropdown.
- Required for AI features (generation, transcription, .docx translation).
- Enter keys in the "Settings" page.
- CoFlu supports:
- OpenAI: OpenAI Platform
- Anthropic: Anthropic Console
- Google: Google AI Studio
- Grok: xAI Cloud Console
- Groq: GroqCloud
- Lambda: Lambda
- OpenRouter: OpenRouter
- Perplexity: Perplexity
- Qwen: Alibaba Cloud
- SambaNova: SambaNova Cloud
- Together: Together.AI
- 🔴 Adjust upload limits based on platform constraints, e.g., SambaNova (~20MB) and Google (>100MB).
- 🔴 Fix CORS for Groq's 40MB audio upload.
- 🔴 Fix CORS for Lambda Labs.
- 🔴 Fix chat reasoning not showing.
- 🔴 Fix max_completion_tokens for O models and max_tokens for others.
- 🔴 Fix reasoning in OpenRouter as
{"max_tokens": 100000}
is not used. - 🟡 Expand supported audio formats for Google and Gemini.
- 🟡 Fix JSON file input causing
[object Object]
to be saved. - 🟡 Fix Qwen Vision failure.
- 🟡 Fix SUS key validation.
- 🟡 Fix error when OpenAI requires audio to be attached.
- 🟡 Fix error when Qwen requires an image to be attached.
- 🟡 Fix scroll jumping up and down in chat.
- 🟡 Fix smartphone layout issues where uploaded audio and rendered LaTeX extend beyond the screen.
- 🟡 Fix stop button not stopping in chat.
- 🟡 Implement real-time update for import/export settings.
- 🟢 Correct spacing between uploader containers when hidden.
- 🟢 Fix HTML not sanitized.
- 🟢 Fix edit message size in chat.
- 🟢 Fix italic text appearing on render and in HTML elements.
- 🟢 Other bugs have not been found yet.
- 🔴 Add support for local LLMs via Ollama.js for offline and independent use.
- 🔴 Adjust transcription size limits: 40 MB for Groq.
- 🔴 Allow custom models and save config to settings.
- 🔴 Allow disabling of thinking tokens (
<think>
for DeepSeek, Groq, and SambaNova;"thinking"
for Claude). - 🔴 Allow saving of images and videos attached to chat.
- 🔴 Create online storage for large videos (up to 2 GB) for Gemini.
- 🔴 Create tests.
- 🔴 Enable container-level selection to improve contextual translation at the cost of layout preservation.
- 🔴 Enable editing of custom prompts:
- 🔴 Include a delete button for custom prompts.
- 🟡 When selecting a custom prompt, a text input field should reappear, similar to adding a new prompt.
- 🔴 Enable image drag-and-drop or paste (Ctrl+V) into the image upload card.
- 🔴 Extend document support to additional formats, including PDFs, for both input and translation.
- 🔴 Generate pages from HTML templates.
- 🔴 Implement history for index, chat, and translation.
- 🔴 Integrate popular translation engines, such as Google, Bing, DeepL, Yandex, Baidu, and Papago.
- 🔴 Modify the word counter.
- 🔴 Possibly add TTS tools.
- 🔴 Possibly add an OCR tool based on "Extract the text elements described by the user from the picture and return the result formatted as a JSON in the following format: {name_of_element: [value]}".
- 🔴 Possibly add image diff.
- 🔴 Provide an option to display tokens instead of words.
- 🔴 Refactor and rewrite the entire codebase.
- 🔴 Support YouTube video transcription.
- 🔴 Support login via Google, Microsoft, and GitHub for syncing.
- 🔴 Support multiple chat sessions.
- 🟡 Add
transcription.html
and transcription proofreading options. - 🟡 Add copy prompt button.
- 🟡 Add multiple prompt selections.
- 🟡 Add search prompt library.
- 🟡 Explore other models on www.minimax.io and lambdalabs.com.
- 🟢 Add Grok-3.
- 🟢 Add Hyperbolic AI as a model provider endpoint.
- 🟢 Consider adding new default prompts, such as:
- "Markdown OCR the following scan. The first page example is already given; continue from the second image."
- "Adhere to ASD-STE100 Simplified Technical English."
- "Do not use try, except, raise, or print."
- "Reduce repetition and variable name length."
- "Remove all docstrings and comments."
- "Rewrite the code to enhance scalability, readability, and performance."
- 🟢 Improve LaTeX handling by replacing punctuation inside separate text macros.
- 🟢 Include Cerebras if approved.
- 🟢 Remove max tokens.
- 🟢 Test old models Gemini Exp 1121 and 1114.
- 🟢 Verify supported upload formats.
This project is licensed under the MIT License. See the LICENSE file for details.