Skip to content

A WebSocket extension for Textractor

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

kuroahna/textractor_websocket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

textractor_websocket

Description

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.

Build

If you want to build the DLL yourself, you can follow the instructions below. Otherwise, skip to the Install section.

Ensure you have Rust installed. The installation instructions can be found here. Then you can build the DLL with

# For x64
cargo build --release --target i686-pc-windows-gnu

# For x86
cargo build --release --target x86_64-pc-windows-gnu

Install

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 at ws://localhost:6677

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

About

A WebSocket extension for Textractor

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published