A powerful, responsive text editor built with cutting-edge web technologies. Experience seamless writing with advanced features, smart compression, AI integration, and comprehensive developer tools.
- π Smart Theme System: Instant dark/light mode switching with zero flicker
- π― Focus Mode: Distraction-free writing environment
- π Enhanced Line Numbers: Visual reference with syntax highlighting
- π±οΈ Drag & Drop: Multi-format file support up to 10MB
- π± Mobile-First Design: Fully responsive across all devices
- β‘ Performance Optimized: Handles 100k+ characters smoothly
flowchart TD
A[Text Input] --> B[Analysis Engine]
B --> C[Statistics]
B --> D[Readability]
B --> E[Sentiment]
B --> F[Syntax Detection]
C --> C1[Characters]
C --> C2[Words]
C --> C3[Reading Time]
D --> D1[Flesch Score]
D --> D2[Content Quality]
E --> E1[Emotion Tone]
E --> E2[AI Analysis]
F --> F1[HTML/CSS/JS]
F --> F2[Python/JSON]
F --> F3[Markdown/XML]
- π Real-time Statistics: Characters, words, lines, sentences, paragraphs
- β±οΈ Reading Time: Accurate estimation based on 200 WPM
- π Readability Score: Flesch Reading Ease analysis
- π Syntax Detection: Support for 8+ programming languages
- π Word Frequency Analysis: Most common words extraction
- π Sentiment Analysis: Emotional tone detection with AI
| Feature | Description | Hotkey |
|---|---|---|
| π€ Text Formatting | UPPERCASE, lowercase, Title Case, Sentence case | - |
| π§Ή Smart Cleaning | Remove extra spaces, normalize line breaks | - |
| π Find & Replace | Advanced search with regex support | - |
| βΆ Undo/Redo | 50-state history tracking | Ctrl+Z/Ctrl+Y |
| π¨ Autocomplete | Context-aware code suggestions | - |
| π Smart Select | Word/line/paragraph selection | - |
- β±οΈ Active Timer: Tracks real writing time (pauses during inactivity)
- π Daily Statistics: Words written and time spent today
- π Session History: Long-term productivity tracking with graphs
- π― Goal Setting: Customizable daily/weekly writing goals
- π Achievement System: Milestone rewards and progress badges
flowchart TD
A[Text Input] --> B{Size Check}
B -->|Small < 1k| C[Traditional URL]
B -->|Large > 1k| D[SmartCompress]
D --> E[Strategy Test]
E --> F[LU: LZ URI-safe]
E --> G[LB: LZ + Base64]
E --> H[W1: Dictionary + LZ]
F --> I[Best Strategy]
G --> I
H --> I
I --> J[Compressed URL]
J --> K[Share Link]
SmartCompress Technology:
- π 5-10x Compression: Revolutionary text compression for URLs
- π§ Adaptive Strategies: AI-driven strategy selection (lu, lb, w1)
- π Real-time Analysis: Compression statistics and performance metrics
- π Backward Compatible: Legacy links continue working
- π Learning System: Improves compression over time with telemetry
Execute Python code directly in your browser:
# Example: Fibonacci sequence
def fibonacci(n):
if n <= 1:
return n
return fibonacci(n-1) + fibonacci(n-2)
print([fibonacci(i) for i in range(10)])
# Output: [0, 1, 1, 2, 3, 5, 8, 13, 21, 34]| Language | Features |
|---|---|
| π HTML | Tag indentation, attribute formatting |
| π¨ CSS | Rule organization, property alignment |
| β‘ JavaScript | Function spacing, bracket alignment |
| π Python | PEP8 compliance, indentation validation |
| π JSON | Syntax validation, key sorting |
| π§ XML | Hierarchical structure, namespace handling |
- Minification: JS, CSS, HTML compression
- Validation: Syntax checking with suggestions
- Template Generation: Boilerplate code for multiple languages
- Lua Processing: Advanced obfuscation and formatting
graph LR
A[Input Text] --> B[Encryption]
A --> C[Formatting]
A --> D[Processing]
A --> E[Conversion]
B --> B1[MD5/SHA-256]
B --> B2[Base64 Encode/Decode]
B --> B3[URL Encode/Decode]
C --> C1[Discord Format]
C --> C2[Unicode Normalize]
C --> C3[Case Conversion]
D --> D1[Regex Testing]
D --> D2[Hashtag Extract]
D --> D3[Mention Extract]
E --> E1[CSV β JSON]
E --> E2[Date β Epoch]
E --> E3[JWT Decode]
Note: AI features require Puter.js authentication for full functionality
- π§ Smart Summarization: Intelligent content condensation
- π Code Conversion: Transform between programming languages
- β¨ Text Enhancement: Grammar, style, and tone improvements
- π Translation: Multi-language support with context awareness
- π Documentation: Automatic code documentation generation
- π¬ Interactive Chat: AI assistant for writing and coding help
- π± Mobile: β€768px (touch-optimized)
- π Tablet: 769px-1024px (hybrid interface)
- π₯οΈ Desktop: β₯1025px (full features)
- π₯οΈ Ultra-wide: β₯1440px (enhanced layout)
- π Touch-Friendly: 44px minimum touch targets
- π± Full-Screen Panels: Better space usage on mobile
- π€ Scalable Fonts: 16px minimum to avoid iOS zoom
- β‘ Performance: Effects disabled on mobile devices
- π Battery Optimization: Reduced resource usage
- β‘ Hardware Acceleration: GPU-optimized animations
- π― Throttled Events: RequestAnimationFrame with FPS capping
- π¦ Lazy Loading: Progressive feature activation
- βΏ Accessibility: Respects reduced motion preferences
- π Smart Debouncing: Intelligent update timing
- πΎ Memory Management: Efficient history and caching
graph TB
A[Frontend] --> B[Alpine.js 3.x]
A --> C[TailwindCSS]
A --> D[Vanilla JavaScript]
E[Libraries] --> F[LZ-String]
E --> G[Prism.js]
E --> H[TensorFlow.js]
I[Storage] --> J[LocalStorage]
I --> K[SessionStorage]
I --> L[IndexedDB]
Core Technologies:
- Alpine.js 3.x: Reactive functionality and state management
- TailwindCSS: Modern utility-first styling framework
- LZ-String: Compression library for URL optimization
- Vanilla JavaScript: High-performance core features
- TensorFlow.js: On-device ML for adaptive features
- Prism.js: Syntax highlighting for multiple languages
Visit: https://fl2on.github.io/Hexa
# Pre-fill content
?text=Hello%20World&title=My%20DocumentDrag & Drop: TXT, HTML, CSS, JS, JSON, MD, PY, SQL, XML (up to 10MB)
| Content Type | Original Size | Compressed | Ratio | Strategy |
|---|---|---|---|---|
| JavaScript | 15.2KB | 8.1KB | 47% | w1 |
| JSON Data | 23.7KB | 4.8KB | 80% | lb |
| Markdown | 8.9KB | 6.7KB | 25% | lu |
| HTML | 12.4KB | 7.2KB | 42% | w1 |
| Plain Text | 18.3KB | 11.1KB | 39% | w1 |
- π Local-first Architecture: All processing happens in your browser
- π« Zero Data Collection: No analytics, tracking, or personal data storage
- π Secure AI Integration: Optional authenticated features with Puter.js
- π‘οΈ Privacy by Design: GDPR compliant, no cookies required
# Clone the repository
git clone https://github.com/fl2on/Hexa.git
cd Hexa
# Start local server
python -m http.server 3000
# or
npx serve .
# Open in browser
open http://localhost:3000This project is licensed under the MIT License - see the LICENSE file for details.

