Skip to content

SteelSocket/texc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

texc

A ascii text expander program written in pure c for windows and linux. Inspired by espanso.

Features

  • Fast and lightweight
  • Supports both windows and linux
  • CLI Support
  • HTTP Rest Api

Building

cmake -S . -B build
cmake --build build --config Release

If you are on linux you need to install the following packages: libx11-dev, libxtst-dev.
on debian:

sudo apt install libx11-dev libxtst-dev

Usage

Starting

To start the texc app run,

texc --port {port}

Adding a Text Expansion

To add a text expansion do,

texc add {match} {expanded}

Example:

texc add hello world

Now if we type 'hello' it will be replaced by 'world'

Removing a Text Expansion

To remove a existing text expansion do,

texc remove {match}

For example if we want to remove the 'hello' text expansion we do,

texc remove hello

Closing the Server

Do the following to close the server

texc close

Other Info

See info.md for more info. See settings.md for app settings.