|
1 | | -# Export to Excel |
| 1 | +# 📊 Export to Excel |
| 2 | + |
| 3 | +**Author:** [Fu-Jie](https://github.com/Fu-Jie/awesome-openwebui) | **Version:** 0.3.6 | **Project:** [Awesome OpenWebUI](https://github.com/Fu-Jie/awesome-openwebui) | **License:** MIT |
| 4 | + |
| 5 | +Export chat history to an Excel (.xlsx) file directly from the chat interface. |
| 6 | + |
| 7 | +## 🔥 What's New in v0.3.6 |
| 8 | + |
| 9 | +- **OpenWebUI-Style Theme**: Modern dark header (#1f2937) with light gray zebra striping for better readability. |
| 10 | +- **Zebra Striping**: Alternating row colors (#ffffff / #f3f4f6) for improved visual scanning. |
| 11 | +- **Smart Data Type Conversion**: Automatically converts columns to numeric or datetime types with fallback to string. |
| 12 | +- **Full Cell Bold/Italic**: Supports full cell Markdown bold (`**text**`) and italic (`*text*`) formatting in Excel. |
| 13 | +- **Partial Markdown Cleanup**: Removes partial Markdown formatting symbols for cleaner Excel output. |
| 14 | +- **Export Scope**: Added `EXPORT_SCOPE` to choose between the last message or all messages. |
| 15 | +- **Smart Sheet Naming**: Names sheets based on Markdown headers, AI titles, or message index. |
| 16 | +- **Multiple Tables Support**: Improved handling of multiple tables across messages. |
| 17 | +- **Smart Filename Generation**: Supports filenames based on chat title, AI summary, or Markdown headers. |
| 18 | +- **Configuration Options**: Added `TITLE_SOURCE` to control filename strategy. |
| 19 | +- **AI Title Generation**: Added `MODEL_ID` to use AI for filename generation with progress notifications. |
| 20 | + |
| 21 | +## ✨ Core Features |
| 22 | + |
| 23 | +- 🚀 **One-Click Export**: Adds an “Export to Excel” action button to the chat. |
| 24 | +- 🧠 **Automatic Header Extraction**: Intelligently identifies table headers from chat content. |
| 25 | +- 📊 **Multi-Table Support**: Handles multiple tables within a single chat session. |
| 26 | + |
| 27 | +## 🚀 How to Use |
| 28 | + |
| 29 | +1. **Install**: Search for “Export to Excel” in the Open WebUI Community and install. |
| 30 | +2. **Trigger**: In any chat, click the “Export to Excel” action button. |
| 31 | +3. **Download**: The .xlsx file will be automatically downloaded. |
| 32 | + |
| 33 | +## ⚙️ Configuration (Valves) |
| 34 | + |
| 35 | +| Parameter | Default | Description | |
| 36 | +| :--- | :--- | :--- | |
| 37 | +| `TITLE_SOURCE` | `chat_title` | Filename source: `chat_title`, `ai_generated`, or `markdown_title`. | |
| 38 | +| `EXPORT_SCOPE` | `last_message` | Export scope: `last_message` or `all_messages`. | |
| 39 | +| `MODEL_ID` | `""` | Model ID for AI title generation. Empty uses current chat model. | |
| 40 | +| `SHOW_STATUS` | `True` | Show operation status updates. | |
| 41 | +| `SHOW_DEBUG_LOG` | `False` | Print debug logs in the browser console (F12). | |
| 42 | + |
| 43 | +## ⭐ Support |
| 44 | + |
| 45 | +If this plugin has been useful, a star on [Awesome OpenWebUI](https://github.com/Fu-Jie/awesome-openwebui) is a big motivation for me. Thank you for the support. |
| 46 | + |
| 47 | +## Troubleshooting ❓ |
| 48 | + |
| 49 | +- **Plugin not working?**: Check if the filter/action is enabled in the model settings. |
| 50 | +- **Debug Logs**: Enable `SHOW_STATUS` and check the browser console (F12) if needed. |
| 51 | +- **Error Messages**: If you see an error, please copy the full error message and report it. |
| 52 | +- **Submit an Issue**: If you encounter any problems, please submit an issue on GitHub: [Awesome OpenWebUI Issues](https://github.com/Fu-Jie/awesome-openwebui/issues) |
| 53 | + |
| 54 | +## Changelog |
| 55 | + |
| 56 | +See the full history on GitHub: [Awesome OpenWebUI](https://github.com/Fu-Jie/awesome-openwebui)# Export to Excel |
2 | 57 |
|
3 | 58 | This plugin allows you to export your chat history to an Excel (.xlsx) file directly from the chat interface. |
4 | 59 |
|
|
0 commit comments