Introduction

An extension for Textractor written in Rust that opens a WebSocket locally on port 6677 and sends the text from Textractor to all the connected clients.

A WebSocket client such as texthooker-ui can stream the text by the server and display it to your browser.

The source code is available on GitHub

Installation

Pre-compiled binaries are available in the Releases page

  1. Download, unzip, and copy the x86 DLL file into your Textractor/x86 folder
  2. Download, unzip, and copy the x64 DLL file into your Textractor/x64 folder
  3. Open up Textractor/x86/Textractor.exe, click Extensions, right click inside the Extensions dialog box, click Add extension, change the file extension in the file picker dialog from *.xdll to *.dll, and select textractor_websocket_x86.dll inside the Textractor/x86 folder from Step 1.
  4. Open up Textractor/x64/Textractor.exe, click Extensions, right click inside the Extensions dialog box, click Add extension, change the file extension in the file picker dialog from *.xdll to *.dll, and select textractor_websocket_x64.dll inside the Textractor/x64 folder from Step 2.

Expected file structure

Textractor
├── x64
    └── Textractor.exe
    └── textractor_websocket_x64.dll
    └── ...
├── x86
    └── Textractor.exe
    └── textractor_websocket_x86.dll
    └── ...

Usage

After installing the extension, when you start Textractor and have selected a text thread, Textractor will automatically start the server and is available at ws://localhost:6677

You will need a WebSocket client such as texthooker-ui to stream the text and display it to your browser

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

[0.2.0] - 2025-02-08

Changed

  • Upgrade to stable Rust 1.84.0.
  • Upgrade widestring dependency to 1.1.0.
  • Replace deprecated winapi dependency with windows-sys.

Security

[0.1.0] - 2023-09-12

Added

  • Textractor WebSocket extension.