Skip to content

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

License

GPL-3.0 and 2 other licenses found

Licenses found

GPL-3.0
COPYING
LGPL-3.0
COPYING.LGPL
MPL-2.0
COPYING.MPL
Notifications You must be signed in to change notification settings

berkaygediz/RichSpan

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

  • Cross-Platform: Fully compatible with Windows, macOS, and Linux.
  • Document Statistics: Provides key statistical information about the document.
  • Find & Replace: Search and replace text within your document.
  • Printing & Exporting: Print or export documents to PDF format.
  • File Format Support: Supports .txt, .html, .docx (partial), and .rsdoc (RichSpan) file formats.
  • Text Formatting: Customize text with options like color, background color, bold, italic, underline, font style, size, and alignment.
  • Undo & Redo: Easily undo or redo any edits made in the document.
  • User Experience: Drag and drop functionality, dark mode support, and alerts for unsaved changes.
  • Base64 Image Support: Embed images in documents using Base64 encoding.
  • Customizable Toolbar: Personalize the user interface toolbar to suit your workflow.
  • Performance: Fast and lightweight with threading support and hardware acceleration.
  • 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).
  • Lists: Create numbered or bulleted lists.
  • Adaptive Power Saving: Optimized for power efficiency with hybrid ultra and standard power saving modes.
  • Offline AI Chat: Offline AI chat powered by a local language model, enabling direct interaction for questions and content generation, with automatic language detection.

Prerequisites

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

Installation

  1. Clone the repository:

    git clone https://github.com/berkaygediz/RichSpan.git
  2. Install requirements:

    pip install -r requirements.txt
  3. Creating a executable file (Unsigned):

    pyinstaller --noconfirm --onefile --windowed --icon "richspan_icon.ico" --name "RichSpan" --clean --optimize "2" --add-data "richspan_icon.png;."  "RichSpan.py"

Usage

Launch RichSpan from the command line:

python RichSpan.py

Contributing

Contributions to the RichSpan project are welcomed. Please refer to 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.