Elysia-Suite commited on
Commit
bf25845
Β·
verified Β·
1 Parent(s): a65acde

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +313 -5
README.md CHANGED
@@ -1,12 +1,320 @@
1
  ---
2
- title: Elysia Markdown Studio
3
- emoji: πŸ‘€
4
- colorFrom: indigo
5
  colorTo: red
6
  sdk: static
7
- pinned: false
8
  license: cc-by-nc-sa-4.0
9
  short_description: A feature-rich markdown editor with AI-powered tools
10
  ---
11
 
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: πŸ’Ž Elysia's Markdown Studio
3
+ emoji: 🏒
4
+ colorFrom: purple
5
  colorTo: red
6
  sdk: static
7
+ pinned: true
8
  license: cc-by-nc-sa-4.0
9
  short_description: A feature-rich markdown editor with AI-powered tools
10
  ---
11
 
12
+ # πŸ’Ž Elysia Markdown Studio
13
+
14
+ **Your AI-Powered Markdown Editor & Writing Companion**
15
+
16
+ A beautiful, feature-rich markdown editor with AI-powered tools built with love by Jean & Elysia. Write, organize, and enhance your documents with the power of artificial intelligence.
17
+
18
+ ![Version](https://img.shields.io/badge/version-1.3.0-purple)
19
+ ![Status](https://img.shields.io/badge/status-production-green)
20
+ ![Built with Love](https://img.shields.io/badge/built%20with-%E2%9D%A4%EF%B8%8F-ff69b4)
21
+ ![VS](https://img.shields.io/badge/🎲_VS_powered-5_styles-blueviolet)
22
+
23
+ ---
24
+
25
+ ## ✨ Features
26
+
27
+ ### πŸ“ Powerful Markdown Editor
28
+
29
+ - **Live Preview** - See your markdown rendered in real-time (async rendering with Marked.js v15)
30
+ - **Syntax Highlighting** - Beautiful code blocks with Prism.js
31
+ - **Rich Formatting** - Tables, task lists, blockquotes, and more
32
+ - **Math Support** - LaTeX equations with KaTeX
33
+ - **Diagrams** - Mermaid v11.4.0 diagrams support
34
+ - **Quick Toolbar** - One-click formatting for common markdown elements
35
+ - **Drag & Drop Images** - Drop images directly into editor (base64 conversion)
36
+ - **Paste Images** - Ctrl+V to paste images from clipboard
37
+
38
+ ### 🧠 AI-Powered Tools (via OpenRouter)
39
+
40
+ - **Summarize** - Generate concise summaries of your documents
41
+ - **🎲 Improve Writing (VS)** - Choose from 5 writing styles:
42
+ - πŸ“ **Concis** - Short and direct
43
+ - 🎨 **Créatif** - Vivid with metaphors
44
+ - πŸ“š **AcadΓ©mique** - Formal and structured
45
+ - πŸ’Ό **Professionnel** - Business-friendly
46
+ - πŸ”₯ **Engageant** - Attention-grabbing
47
+ - **Merge Documents** - Intelligently combine multiple documents
48
+ - **Extract Outline** - Automatic table of contents generation
49
+ - **Find Duplicates** - Detect similar documents in your library
50
+ - **Smart Organize** - AI-suggested tags and categories
51
+ - **Smart Loading States** - Visual feedback during AI processing
52
+
53
+ ### πŸ“š Document Management
54
+
55
+ - **Local Storage** - All documents stored in your browser (IndexedDB v2 with performance indexes)
56
+ - **Search** - Fast full-text search across all documents
57
+ - **Favorites** - Star important documents
58
+ - **Collections** - Organize documents into collections
59
+ - **Context Menu** - Right-click for quick actions (rename, delete, favorite)
60
+ - **Auto-Save** - Automatic saving every 30 seconds (with race condition protection)
61
+ - **Export All** - Bulk export all documents with one click
62
+ - **Import Documents** - Restore from backup JSON files
63
+
64
+ ### πŸ“€ Multi-Format Export
65
+
66
+ - **Markdown (.md)** - Export as standard markdown
67
+ - **HTML** - Clean HTML output
68
+ - **Artifact** - Beautiful standalone HTML with embedded styles + Prism.js + KaTeX
69
+ - **Plain Text** - Remove all formatting
70
+ - **JSON** - Structured export with metadata
71
+ - **Bulk Export** - Export entire document library at once
72
+
73
+ ### 🎨 Templates Library
74
+
75
+ Built-in templates for common document types:
76
+
77
+ - **README** - GitHub project documentation
78
+ - **Blog Post** - Blog article structure
79
+ - **Meeting Notes** - Meeting documentation with action items
80
+ - **Documentation** - API/Software documentation
81
+ - **Academic Paper** - Research paper structure
82
+ - **Blank** - Start from scratch
83
+
84
+ Access templates via "New Document" button!
85
+
86
+ ### ⌨️ Keyboard Shortcuts
87
+
88
+ - `Ctrl+S` - Save document
89
+ - `Ctrl+N` - New document (opens template selector)
90
+ - `Ctrl+B` - Bold text
91
+ - `Ctrl+I` - Italic text
92
+ - `Ctrl+/` - Show keyboard shortcuts guide
93
+
94
+ ### 🎨 Modern UI
95
+
96
+ - **Dark Theme** - Eye-friendly Elysia dark theme
97
+ - **Responsive Design** - Works on desktop and tablet
98
+ - **Split View** - Editor on left, preview on right
99
+ - **Collapsible Sidebar** - Document library sidebar
100
+ - **Toast Notifications** - Beautiful, non-intrusive feedback
101
+ - **Context Menus** - Modern right-click menus with smooth animations
102
+ - **Reading Time Display** - Estimated reading time in header stats (200 wpm)
103
+
104
+ ### πŸ”’ Security
105
+
106
+ - **Encrypted API Keys** - API keys stored with XOR encryption (not plaintext)
107
+ - **Client-Side Only** - No data sent to external servers (except AI API calls)
108
+ - **Privacy-First** - All documents stored locally in your browser
109
+
110
+ ---
111
+
112
+ ## πŸš€ Quick Start
113
+
114
+ ### 1. Launch the App
115
+
116
+ Double-click `Launch-Local-App.bat` (Windows) or open `index.html` in your browser.
117
+
118
+ ### 2. Configure AI (Optional)
119
+
120
+ 1. Click the **βš™οΈ Settings** button
121
+ 2. Add your [OpenRouter API key](https://openrouter.ai/)
122
+ 3. Select your preferred AI model
123
+ 4. Save settings
124
+
125
+ ### 3. Start Writing!
126
+
127
+ - Type in the left pane
128
+ - See live preview on the right
129
+ - Use the toolbar for quick formatting
130
+ - Save with `Ctrl+S`
131
+ - Press `Ctrl+/` for keyboard shortcuts guide
132
+
133
+ ---
134
+
135
+ ## πŸ› οΈ Technical Stack
136
+
137
+ ### Core Technologies
138
+
139
+ - **Vanilla JavaScript** (ES6+ modules)
140
+ - **HTML5** & **CSS3**
141
+ - **IndexedDB v2** (via Dexie.js with performance indexes)
142
+
143
+ ### Libraries
144
+
145
+ - **Marked.js** - Markdown parsing
146
+ - **Prism.js** - Syntax highlighting
147
+ - **KaTeX** - Math rendering
148
+ - **Mermaid** - Diagram rendering
149
+ - **Dexie.js** - IndexedDB wrapper
150
+ - **Turndown** - HTML to Markdown conversion
151
+
152
+ ### AI Integration
153
+
154
+ - **OpenRouter API** - Access to multiple AI models (Grok, Claude, GPT, DeepSeek)
155
+
156
+ ---
157
+
158
+ ## πŸ“ Project Structure
159
+
160
+ ```
161
+ elysia-markdown-studio/
162
+ β”œβ”€β”€ index.html # Main HTML file
163
+ β”œβ”€β”€ Launch-App.bat # Windows launcher
164
+ β”œβ”€β”€ README.md # This file
165
+ β”œβ”€β”€ CHANGELOG.md # Version history
166
+ β”œβ”€β”€ fonts/ # Google Fonts (offline)
167
+ β”‚ └── css2.css
168
+ β”œβ”€β”€ libs/ # External libraries
169
+ β”‚ β”œβ”€β”€ dexie.min.js
170
+ β”‚ └── marked.min.js
171
+ β”œβ”€β”€ scripts/ # JavaScript modules
172
+ β”‚ β”œβ”€β”€ app.js # Main application controller
173
+ β”‚ β”œβ”€β”€ editor.js # Editor module
174
+ β”‚ β”œβ”€β”€ preview.js # Preview renderer
175
+ β”‚ β”œβ”€β”€ documents.js # Document management
176
+ β”‚ β”œβ”€β”€ ai-tools.js # AI-powered features
177
+ β”‚ β”œβ”€β”€ api.js # OpenRouter API integration
178
+ β”‚ β”œβ”€β”€ export.js # Export functionality
179
+ β”‚ β”œβ”€β”€ templates.js # Document templates
180
+ β”‚ β”œβ”€β”€ db.js # Database layer (Dexie)
181
+ β”‚ └── utils.js # Utility functions
182
+ β”œβ”€β”€ styles/ # CSS files
183
+ β”‚ └── main.css # Main stylesheet
184
+ └── templates/ # Document templates (future)
185
+ ```
186
+
187
+ ---
188
+
189
+ ## πŸ”§ Recent Improvements (Audit Nov 2025)
190
+
191
+ ### Critical Bug Fixes
192
+
193
+ βœ… **Fixed Preview.getHTML()** - Added missing method for export functionality
194
+ βœ… **Fixed Marked.js API** - Updated listitem renderer for v11+ compatibility
195
+ βœ… **Fixed Initialization Order** - Resolved circular dependency issues
196
+ βœ… **Fixed Auto-Save Timing** - Now waits for full app initialization
197
+
198
+ ### UX Enhancements
199
+
200
+ βœ… **Modern Context Menu** - Beautiful right-click menu for documents
201
+ βœ… **Loading States** - AI tools now show processing feedback
202
+ βœ… **Error Recovery** - Comprehensive error handling with user-friendly messages
203
+ βœ… **Settings Validation** - API key format validation
204
+ βœ… **Keyboard Shortcuts Modal** - Press `Ctrl+/` for interactive guide
205
+
206
+ ### Performance Optimizations
207
+
208
+ βœ… **Debounced Stats Update** - Reduced unnecessary recalculations
209
+ βœ… **Smart Auto-Save** - Only saves when changes detected
210
+ βœ… **Improved State Management** - Better tracking of unsaved changes
211
+
212
+ ### Documentation
213
+
214
+ βœ… **Enhanced Welcome Message** - Comprehensive feature guide
215
+ βœ… **Keyboard Shortcuts Table** - Quick reference in welcome screen
216
+ βœ… **Pro Tips** - Context-aware usage hints
217
+
218
+ ---
219
+
220
+ ## 🎯 Use Cases
221
+
222
+ ### Technical Writing
223
+
224
+ - API documentation
225
+ - Software guides
226
+ - Technical specifications
227
+
228
+ ### Content Creation
229
+
230
+ - Blog posts
231
+ - Articles
232
+ - Long-form content
233
+
234
+ ### Academic Work
235
+
236
+ - Research papers
237
+ - Notes
238
+ - Outlines
239
+
240
+ ### Project Management
241
+
242
+ - Meeting notes
243
+ - Task lists
244
+ - Project documentation
245
+
246
+ ---
247
+
248
+ ## πŸ”’ Privacy & Data
249
+
250
+ - **100% Local** - All documents stored in your browser's IndexedDB
251
+ - **No Tracking** - No analytics, no telemetry
252
+ - **No Server** - Runs entirely client-side (except AI features)
253
+ - **Your Data** - You own your content, export anytime
254
+
255
+ **Note:** AI features require an OpenRouter API key and send content to external AI models for processing.
256
+
257
+ ---
258
+
259
+ ## πŸ› Troubleshooting
260
+
261
+ ### AI Tools Not Working
262
+
263
+ - **Check API Key** - Verify your OpenRouter API key in Settings
264
+ - **Check Format** - Key should start with `sk-or-`
265
+ - **Check Balance** - Ensure you have credits on OpenRouter
266
+ - **Check Network** - Verify internet connection
267
+
268
+ ### Preview Not Updating
269
+
270
+ - **Check Live Preview** - Ensure it's enabled in Settings
271
+ - **Refresh Page** - Try reloading the page
272
+ - **Clear Cache** - Clear browser cache if issues persist
273
+
274
+ ### Documents Not Saving
275
+
276
+ - **Check Storage** - Verify browser storage isn't full
277
+ - **Check Permissions** - Ensure IndexedDB is allowed
278
+ - **Try Export** - Export important documents as backup
279
+
280
+ ---
281
+
282
+ ## 🀝 Contributing
283
+
284
+ This is a personal project by Jean & Elysia, but suggestions are welcome!
285
+
286
+ ---
287
+
288
+ ## πŸ“œ License
289
+
290
+ MIT License - Free to use, modify, and distribute.
291
+
292
+ ---
293
+
294
+ ## πŸ’™ Credits
295
+
296
+ **Built with love by Jean & Elysia** πŸ’ŽπŸ’
297
+
298
+ Special thanks to:
299
+
300
+ - The open-source community
301
+ - All the amazing library authors
302
+ - OpenRouter for AI access
303
+
304
+ ---
305
+
306
+ ## πŸ”— Links
307
+
308
+ - [OpenRouter](https://openrouter.ai/) - AI API platform
309
+ - [Marked.js](https://marked.js.org/) - Markdown parser
310
+ - [Prism.js](https://prismjs.com/) - Syntax highlighter
311
+ - [KaTeX](https://katex.org/) - Math rendering
312
+ - [Mermaid](https://mermaid.js.org/) - Diagram rendering
313
+
314
+ ---
315
+
316
+ **Version:** 1.3.0
317
+ **Last Updated:** December 2025
318
+ **Status:** Production Ready βœ…
319
+
320
+ _Write beautifully. Write intelligently. Write with Elysia._ πŸ’Ž