Skip to Content
Back to Portfolio

PasteRich

Author
RamonRiosJr
Repository Author
PasteRich Logo

PasteRich

A lightweight, cross-platform background daemon for converting raw Markdown to Rich Text on the fly.

License: MIT Version Platform Python Changelog


โšก Overview

PasteRich solves a massive friction point for developers: copying Markdown documentation, snippets, or AI outputs, and needing to paste them into enterprise applications (Microsoft Word, Outlook, Teams, Google Docs) without losing formatting.

Instead of running a heavy Electron application, PasteRich operates as an ultra-lightweight background system daemon. Copy any raw markdown text, hit your global hotkey, and PasteRich will instantly convert it to HTML/RTF, inject it into your OS clipboard, and seamlessly paste it directly into your active window.


โœจ Features

  • ๐Ÿ–ฅ๏ธ Cross-Platform Native Clipboards: Supports Windows (CF_HTML), macOS (NSPasteboard via RTF), and Linux (xclip/xsel).
  • ๐Ÿชถ Zero-Overhead Daemon: Runs silently in the system tray. Absolutely no heavy frontend frameworks.
  • โŒจ๏ธ Dynamic Hotkey GUI: Change your global shortcut instantly via a native UI popup. No app restarts required!
  • ๐Ÿ”„ Auto-Updates: Built-in update checker directly from GitHub releases with seamless one-click downloads.
  • ๐Ÿš€ First-Run Welcome Screen: Clean UI on first launch showing your current hotkey and instructions.
  • ๐Ÿš€ Auto-Start: Built-in support to register itself to run on system boot.
  • ๐ŸŽจ Smart CSS Styling: Uses GitHub's aesthetic for tables, blockquotes, and text.
  • ๐Ÿง‘โ€๐Ÿ’ป Code Highlighting: Full syntax highlighting for code blocks via Pygments (Defaults to Monokai).
  • ๐Ÿง  Smart Pass-Through: If the clipboard doesn't contain Markdown, the hotkey acts exactly like a normal paste!

๐Ÿš€ Installation & Usage

The easiest way to use PasteRich is to download the standalone compiled executable from the Releases page. No installation required!

1. Run the Executable

Launch PasteRich. A purple clipboard icon will appear in your system tray/menu bar.

2. Copy Markdown

Copy any text containing Markdown elements (e.g. **bold**, # headers, or ```python).

3. Hit the Hotkey!

Switch to your target application (Word, Outlook, etc.) and press the global hotkey:

  • Windows & Linux: F8 (Default)
  • macOS: F8 (Default)

The markdown will be rendered as beautiful rich text instantly!


โš™๏ธ Configuration

You can dynamically change your hotkey by right-clicking the tray icon and selecting Change Hotkey. You can also manually Check for Updates or Refresh Hotkey from this menu.

For advanced configuration, PasteRich creates a config.json in the same directory as the executable.

{
    "hotkey": "f8",
    "theme": "monokai"
}

Custom Styling (style.css)

Want to customize how your pasted tables, fonts, or blockquotes look? Simply create a file named style.css in the same directory as PasteRich. If detected, PasteRich will automatically use your custom CSS instead of the default GitHub theme!


๐Ÿ› ๏ธ Building from Source

If you want to compile the executable yourself, PasteRich is built entirely in Python using PyInstaller.

  1. Clone the repository and setup your environment:
git clone https://github.com/RamonRiosJr/PasteRich.git
cd PasteRich
python -m venv venv
  1. Activate the virtual environment:
  • Windows: .\venv\Scripts\activate
  • macOS/Linux: source venv/bin/activate
  1. Install requirements and compile:
pip install -r requirements.txt
python build.py

The compiled, standalone binary will be generated in the /dist directory.


๐Ÿค Contributing & Architecture

PasteRich is written in strictly-typed Python (pasterich.py). We welcome pull requests for new themes, extended markdown support, or OS-specific optimizations!

๐Ÿ“œ License

Distributed under the MIT License. See LICENSE for more information.

Recent Activity

docs: Add CHANGELOG and update README badge2026-08-25
Ramon Rios
chore: Bump version to 1.2.52026-08-25
Ramon Rios
Add Restart App button to tray menu for quick refresh2026-08-24
Ramon Rios

About Ramon Rios Jr's Tech Stack

As a Senior Systems Architect and Full Stack Developer, I specialize in building scalable, enterprise-grade applications. My expertise spans across modern backend frameworks using Python, comprehensive ERP deployments with Odoo, and highly interactive frontend architectures. The open-source GitHub repositories listed above demonstrate my proficiency in API development, database optimization, system integrations, and automation. Whether crafting custom business logic or designing sleek glassmorphic user interfaces, I am committed to delivering high-performance software solutions.