Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/berkaygediz/richspan

📝✨ A supercharged word processor with AI integration, supporting real-time computing and advanced formatting.
https://github.com/berkaygediz/richspan

ai async cross-platform docx formatting llm multilingual office-suite power-saving printing python qt word-processor

Last synced: 3 months ago
JSON representation

📝✨ A supercharged word processor with AI integration, supporting real-time computing and advanced formatting.

Awesome Lists containing this project

README

        

# RichSpan - A Supercharged Word Processor


RichSpan Banner



GitHub release


GitHub repo size


GitHub license

RichSpan is a supercharged word processor offering a powerful alternative to traditional software. Built with Python and PySide6, it ensures cross-platform compatibility on Windows, macOS, and Linux. RichSpan features offline AI chat for content generation, while respecting your privacy by processing all interactions locally on your device.

## Features

- [x] **Cross-Platform**: Fully compatible with Windows, macOS, and Linux.
- [x] **Document Statistics**: Provides key statistical information about the document.
- [x] **Find & Replace**: Search and replace text within your document.
- [x] **Printing & Exporting**: Print or export documents to PDF format.
- [x] **File Format Support**: Supports .txt, .html, .docx (partial), and .rsdoc (RichSpan) file formats.
- [x] **Text Formatting**: Customize text with options like color, background color, bold, italic, underline, font style, size, and alignment.
- [x] **Undo & Redo**: Easily undo or redo any edits made in the document.
- [x] **User Experience**: Drag and drop functionality, dark mode support, and alerts for unsaved changes.
- [x] **Base64 Image Support**: Embed images in documents using Base64 encoding.
- [x] **Customizable Toolbar**: Personalize the user interface toolbar to suit your workflow.
- [x] **Performance**: Fast and lightweight with threading support and hardware acceleration.
- [x] **Multilingual Support**: Available in multiple languages including English, Deutsch, Español, Türkçe, Azərbaycanca, Uzbek, 中文 (Chinese), 한국어 (Korean), 日本語 (Japanese), العربية (Arabic), Русский (Russian), Français, Ελληνικά (Greek).
- [x] **Lists**: Create numbered or bulleted lists.
- [x] **Adaptive Power Saving**: Optimized for power efficiency with hybrid ultra and standard power saving modes.
- [x] **Offline AI Chat**: Offline AI chat powered by a local language model, enabling direct interaction for questions and content generation, with automatic language detection, assisted by a context menu for enhanced user experience.

## Prerequisites

- Python 3.12+
- PySide6
- mammoth
- chardet
- psutil
- langdetect
- pyinstaller
- llama-cpp-python
- torch

## Installation

1. Clone the repository:

```bash
git clone https://github.com/berkaygediz/RichSpan.git
```

2. Install requirements:

```bash
pip install -r requirements.txt
```

3. Creating a executable file (Unsigned):

```bash
pyinstaller --noconfirm --onefile --windowed --icon ".\richspan_icon.ico" --name "RichSpan" --clean --optimize "2" "RichSpan.py"
```

- Command for CUDA Support

```bash
pyinstaller --noconfirm --onefile --windowed --icon ".\richspan_icon.ico" --name "RichSpan" --clean --optimize "2" --add-data "path\RichSpan\.venv\Lib\site-packages\llama_cpp\lib\;." ".\RichSpan.py"

```

## Usage

Launch RichSpan from the command line:

```bash
python RichSpan.py
```

## Contributing

Contributions to the RichSpan project are welcomed. Please refer to [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to contribute and our code of conduct.

## License

This project is licensed under GNU GPLv3, GNU LGPLv3, and Mozilla Public License Version 2.0.