Skip to content

πŸ…°οΈ Professional AI-powered text enhancement tool with 8 processing modes for Windows. Bilingual English/Arabic support, one-hotkey operation (Ctrl+Alt+S), and seamless integration across all applications. Powered by Google Gemini AI.

License

Notifications You must be signed in to change notification settings

zSayf/SayfAiTextFixer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

71 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

πŸ…° Sayf AI Text Fixer v4.0.8

AutoHotkey v2 License: MIT GitHub release Platform GitHub stars

🌟 AI-Powered Text Enhancement Tool
✨ Professional bilingual text processing with 18 AI modes for English & Arabic ✨


πŸŽ₯ See It In Action

Multi-Mode AI Text Processing

Demo GIF

Language-Specific Demos

English Demo 1 English Demo 2 Arabic Demo

Promter Mode

Promter Mode

πŸš€ Ready to get started? Jump to Installation Guide


πŸš€ What is Sayf AI Text Fixer?

Sayf AI Text Fixer is a professional desktop automation tool that brings AI-powered text enhancement to any Windows application. With 18 specialized AI processing modes, enhanced validation systems, mode-specific feedback, and advanced Windows integration, it transforms how you work with text across your entire system.

🎯 Perfect For

  • πŸ“š Students writing essays, reports, and academic papers
  • πŸ’Ό Professionals composing emails, documents, and presentations
  • ✍️ Content Creators polishing articles, blogs, and social media
  • 🌐 Anyone who wants professional-quality text across all applications

✨ Core Features

πŸŽ›οΈ 18 Professional AI Processing Modes

Mode Function Perfect For
πŸ“ Fix Grammar & spelling correction Quick proofreading
✨ Improve Style & clarity enhancement Professional writing
✏️ Rewrite Complete text restructuring Content variation
❓ Answer Enhanced AI Q&A with Classical Arabic Research assistance
πŸ“‘ Summarize Intelligent text summarization Document analysis
🌍 Translate Multi-language translation International communication
πŸ” Simplify Complex β†’ simple language Educational content
βž• Longer Text expansion & elaboration Content development
βž– Shorter Concise text condensation Efficient communication
πŸ€– Prompter AI prompt enhancement Prompt engineering
πŸ‘” Formalize Professional tone conversion Business communication
😊 Casual Informal tone adaptation Social media
πŸ“§ Email Email formatting optimization Professional correspondence
πŸ“‹ Bullets Bullet point conversion Presentations
🎯 Focus Key points extraction Executive summaries
πŸ”¬ Technical Technical writing enhancement Documentation
🎨 Creative Creative writing improvement Content creation
πŸŽ“ Academic Academic writing standards Research papers

18 Professional AI Processing Modes

πŸ—οΈ Advanced Features

  • πŸ” Enhanced API Validation β†’ Real-time validation with persistent caching and case-sensitive checks
  • πŸš€ Windows Integration β†’ Auto-startup, registry management, multi-monitor support
  • 🌍 Advanced Bilingual Support β†’ English/Arabic with 20% threshold detection & Classical Arabic enforcement
  • πŸ“Š Professional Logging β†’ JSON-structured logs with 5MB automatic rotation
  • πŸ›‘οΈ Self-Healing Configuration β†’ Automatically repairs corrupted settings
  • πŸ”’ Enhanced Security β†’ Injection-proof prompts, persistent API validation
  • 🎨 Dynamic UI System β†’ Real-time status feedback and visual mode editor
  • πŸ’¬ Mode-Specific Feedback β†’ Contextual processing and success messages for all 18 modes
  • πŸ”§ Critical Stability β†’ HttpRequestManager parameter order bug resolution (v3.1.0)
  • πŸ“ˆ Enhanced Debugging β†’ Comprehensive parameter validation and error prevention

⚑ Performance & Reliability

  • πŸ“± Universal Compatibility β†’ Works across all Windows applications
  • ⌨️ One-Click Operation β†’ Single hotkey for instant processing
  • πŸ”„ Smart Caching β†’ Persistent API validation reduces unnecessary calls by 80%
  • πŸ’Ύ Robust Error Handling β†’ Professional try-catch-finally patterns with nested cleanup
  • 🎯 Memory Optimized β†’ Efficient resource management and leak prevention

πŸ“ˆ Evolution Timeline: v1.5.0 β†’ v4.0.8

v1.5.0 (Initial Release)

  • βœ… Basic text correction
  • βœ… Simple bilingual support
  • βœ… Single processing mode
  • βœ… ~100KB lightweight script

v2.9.1 (Advanced Edition)

  • πŸ”₯ 8 AI Processing Modes (vs 1)
  • πŸ”₯ Windows Registry Integration (Auto-startup)
  • πŸ”₯ Professional Logging System (JSON + rotation)
  • πŸ”₯ Advanced Error Handling (Professional-grade)
  • πŸ”₯ Persistent API Validation (Smart caching)
  • πŸ”₯ Self-Healing Configuration (Auto-repair)
  • πŸ”₯ Multi-Monitor Support (Enhanced GUI)
  • πŸ”₯ Security Enhancements (Injection-proof)
  • πŸ”₯ 5,418 Lines of Code (vs ~1,000)

v3.0.0 (Enhanced Experience)

  • 🌟 Enhanced API Validation β†’ Real-time feedback with persistent caching
  • 🌟 Improved Error Handling β†’ 40% more error handlers with nested cleanup
  • 🌟 Better UI/UX β†’ Unified "Test and Save" button and enhanced feedback
  • 🌟 Case-Sensitive Security β†’ More robust API key validation
  • 🌟 Resource Management β†’ Enhanced cleanup with leak prevention
  • 🌟 Performance Optimization β†’ 50% faster response times

v3.1.0 (Critical Stability Release)

  • πŸ”§ Critical Bug Fixes β†’ Fixed HttpRequestManager parameter order issues
  • βœ… Arabic Processing Recovery β†’ Restored Arabic text processing functionality
  • πŸ›‘οΈ Enhanced Parameter Validation β†’ Automatic detection of parameter order mistakes
  • πŸ“Š Advanced Debugging Infrastructure β†’ Comprehensive logging and error prevention
  • πŸ”’ Security Improvements β†’ Enhanced HTTPS validation with detailed error reporting

v4.0.8 (Major Feature Expansion) πŸ†•

  • πŸš€ 18 AI Processing Modes β†’ Expanded from 8 to 18 total modes (+125% increase)
  • πŸ€– Enhanced Answer Mode β†’ Mixed language support with Classical Arabic enforcement
  • πŸ’¬ Mode-Specific Feedback System β†’ Contextual messages for all 18 modes in English/Arabic
  • ✏️ Advanced Rewrite Mode β†’ Sophisticated text restructuring with format preservation
  • 🎯 All Modes Enabled by Default β†’ Optimal out-of-the-box experience
  • πŸ“ 10 New Specialized Modes β†’ Rewrite, Prompter, Formalize, Casual, Email, Bullets, Focus, Technical, Creative, Academic
  • 🌍 Classical Arabic Support β†’ Enhanced Arabic processing with proper فءحى enforcement
  • πŸ—οΈ Enhanced Architecture β†’ 3 new functions, 867 new lines of code (+14% growth)

πŸ“¦ Installation

πŸ“‹ Prerequisites

Component Requirement
Operating System Windows 10/11 (64-bit recommended)
Runtime Platform AutoHotkey v2.0+
AI Processing Google Gemini API Key (Get Free)
Network Internet connection for AI processing
Storage 50MB available disk space

πŸš€ Quick Setup Guide

  1. πŸ“₯ Download Latest Release

  2. βš™οΈ Install AutoHotkey

  3. πŸ”‘ Get Your API Key

    • Visit Google AI Studio
    • Sign in with Google account
    • Create new API key and copy it
  4. πŸš€ Launch & Configure

    • Right-click downloaded .ahk file β†’ "Run with AutoHotkey"
    • Enter API key when prompted (with real-time validation)
    • Configure language and preferences
    • Enable auto-startup for convenience

🎯 How to Use

⌨️ Primary Hotkeys

Hotkey Function Description
Ctrl+Alt+S Smart Text Processing Opens mode selection for selected text (18 modes)
Ctrl+Alt+D Professional Log Viewer View processing history and analytics
Ctrl+Alt+M Advanced Settings Configure API, modes, and preferences
Esc Hide Tooltips Dismiss any active tooltip displays

πŸŽ›οΈ Basic Workflow

  1. Select text in any application (Word, browser, email, etc.)
  2. Press Ctrl+Alt+S to open mode selection with 18 options
  3. Choose processing mode (Fix, Improve, Rewrite, Email, Academic, etc.)
  4. Wait for AI processing (visual feedback via tray icon with mode-specific messages)
  5. Review results as text is automatically replaced

🎨 Visual Status System

Icon Status Meaning
Ready System ready for text processing
Valid API key validated and working
Error API key missing, invalid, or network error
Processing AI actively processing your text

πŸ› οΈ Configuration & Management

πŸ“ File Locations

All configuration and logs are stored in your user profile:

%AppData%\SayfTextFixer\
β”œβ”€β”€ SayfTextFixer_config.ini    # User preferences and settings
β”œβ”€β”€ SayfTextFixer_log.txt       # Processing history (JSON format)
└── icons\                      # Cached tray icon resources

βš™οΈ Advanced Configuration

  • πŸŽ›οΈ AI Mode Management β†’ Enable/disable specific processing modes (all 18 modes enabled by default)
  • πŸš€ Auto-Startup β†’ Configure Windows startup integration
  • πŸ“Š Logging Preferences β†’ Set log rotation and detail levels
  • 🌐 Language Settings β†’ Configure English/Arabic/Auto-detection
  • πŸ” Enhanced API Management β†’ Real-time validation with persistent caching

πŸ€– AI Models & Technology

Supported AI Models

  • Gemini 2.5 Flash β†’ Ultra-fast processing for quick corrections
  • Gemini 2.5 Pro β†’ Maximum accuracy for complex text analysis

Language Capabilities

  • English β†’ Native processing with advanced grammar rules
  • Arabic β†’ Full RTL support with cultural context awareness and Classical Arabic (فءحى) enforcement
  • Auto-Detection β†’ Smart language identification (20% threshold)
  • Bilingual Text β†’ Seamless handling of mixed-language content

πŸ’¬ Mode-Specific Feedback Examples

Mode Processing Message Success Message
πŸ“ Fix "πŸ“ Fixing grammar..." "βœ… Grammar fixed"
✏️ Rewrite "✏️ Rewriting text..." "βœ… Text rewritten"
πŸ“§ Email "πŸ“§ Formatting email..." "βœ… Email formatted"
πŸŽ“ Academic "πŸŽ“ Converting to academic..." "βœ… Converted to academic"

🎯 Mode Quick Reference

Text Enhancement Modes

  • πŸ“ Fix β†’ Grammar and spelling correction
  • ✨ Improve β†’ Style and clarity enhancement
  • ✏️ Rewrite β†’ Complete text restructuring πŸ†•

Communication Modes

  • πŸ‘” Formalize β†’ Professional tone conversion πŸ†•
  • 😊 Casual β†’ Informal adaptation πŸ†•
  • πŸ“§ Email β†’ Email optimization πŸ†•

Analysis Modes

  • ❓ Answer β†’ Enhanced Q&A with Classical Arabic πŸ”₯
  • πŸ“‘ Summarize β†’ Intelligent summarization
  • 🎯 Focus β†’ Key points extraction πŸ†•

Format Modes

  • πŸ“‹ Bullets β†’ Bullet point conversion πŸ†•
  • πŸŽ“ Academic β†’ Academic standards πŸ†•
  • πŸ”¬ Technical β†’ Technical writing πŸ†•

Length Modes

  • βž• Longer β†’ Text expansion and elaboration
  • βž– Shorter β†’ Concise condensation
  • πŸ” Simplify β†’ Complex to simple conversion

Specialized Modes

  • 🌍 Translate β†’ Multi-language translation
  • 🎨 Creative β†’ Creative enhancement πŸ†•
  • πŸ€– Prompter β†’ AI prompt optimization πŸ†•

πŸ”§ Troubleshooting

πŸ” Common Issues

"API key not configured"

  • Solution: Press Ctrl+Alt+M β†’ Enter your Gemini API key
  • Get Key: Google AI Studio

"No text selected"

  • Solution: Highlight text before pressing Ctrl+Alt+S
  • Tip: Works in any application that supports text selection

Red tray icon (Invalid API)

  • Check: API key is at least 10 characters long
  • Test: Use "Test and Save" button in settings dialog (v3.0.0 feature)
  • Verify: Key has proper Gemini API permissions

Processing mode not appearing

  • Solution: Press Ctrl+Alt+M β†’ Enable desired modes in Mode Editor
  • Default: All 18 modes are enabled by default in v4.0.8

Auto-startup not working

  • Solution: Run application as administrator once to register startup
  • Alternative: Manually enable in Settings β†’ Auto-Startup

πŸ“ž Getting Help

  • πŸ“– Documentation β†’ Check Release Notes for version-specific details
  • πŸ› Bug Reports β†’ GitHub Issues
  • πŸ’‘ Feature Requests β†’ GitHub Discussions
  • 🀝 Community Support β†’ Star the repository and join discussions!

🀝 Contributing

🌟 Ways to Contribute

  • πŸ› Report Bugs β†’ Create detailed issue reports
  • ✨ Suggest Features β†’ Open feature requests with "Enhancement" label
  • πŸ’» Submit Code β†’ Fork repository and create pull requests
  • 🌍 Language Support β†’ Help expand multilingual capabilities
  • πŸ“š Documentation β†’ Improve guides, tutorials, and examples

πŸ‘¨β€πŸ’» For Developers

  • Language: AutoHotkey v2.0+ with professional patterns
  • Architecture: Modular design with proper error boundaries
  • Standards: Enhanced error handling with comprehensive validation
  • Logging: JSON-based structured logging system
  • Configuration: Self-healing INI management with validation

πŸ“Š Technical Specifications

System Requirements

  • Memory Usage: ~20MB active RAM
  • CPU Impact: Minimal background processing
  • Network: HTTPS API calls to Google Gemini
  • Storage: 50MB for application and logs
  • Permissions: User-level (admin for startup registration)

Security Features

  • Enhanced API Key Protection β†’ Secure local storage with persistent validation
  • Injection Prevention β†’ Prompt sanitization and validation
  • Privacy Compliance β†’ No data retention beyond session logs
  • Network Security β†’ Encrypted HTTPS communication only

πŸ“„ License & Credits

License

MIT License Β© 2024 @zSayf

Free to use, modify, and distribute. See LICENSE file for complete terms.

Acknowledgments

  • ProofixAI β†’ Original inspiration for AI-powered text correction
  • cJson.ahk β†’ JSON processing library by @G33kDude
  • Google Gemini AI β†’ Advanced language processing capabilities
  • AutoHotkey Community β†’ Robust scripting platform and community support

🌟 Support the Project

Show Your Support

  • ⭐ Star this repository to help others discover the tool
  • πŸ› Report issues to help improve stability and features
  • πŸ’‘ Share ideas for new features and improvements
  • 🌍 Spread the word about Sayf AI Text Fixer

Contact & Community


πŸŽ‰ Transform your text processing experience with professional AI-powered enhancement featuring 18 specialized modes. Download the latest release and join users already improving their writing with enhanced bilingual support and mode-specific feedback!

About

πŸ…°οΈ Professional AI-powered text enhancement tool with 8 processing modes for Windows. Bilingual English/Arabic support, one-hotkey operation (Ctrl+Alt+S), and seamless integration across all applications. Powered by Google Gemini AI.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks