Skip to content
silver-zzZPublic

About

A lightweight Windows text expander for snippets, dates, times, quick search, and tray-based typing automation.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

SheraType

SheraType is a lightweight Windows text expander for snippets, date/time shortcuts, and quick typing automation.

SheraType 是一款 Windows 本地快捷短语工具。常用回复、邮件签名、日期时间、代码片段和剪贴板文本,可以通过短触发词或 Win+/ 搜索栏快速插入到当前应用。

Preview

SheraType main window

SheraType search

SheraType settings

Features

  • Win+/ 打开搜索栏,搜索片段后按 Enter 插入。
  • 输入触发词后按空格、Enter 或 Tab 展开,例如:
    • ;date → 今天日期
    • ;time → 当前时间
    • ;now → 日期时间
    • ;sig → 邮件签名示例
    • ;brb → 常用回复
  • 日期、时间和日期时间是内置片段,支持在界面里切换输出格式。
  • 自定义片段支持启用、置顶、复制、逐条设置展开键。
  • {{cursor}} 可以指定展开后的光标位置。
  • 短文本使用 SendInput 直接输入,不碰剪贴板。
  • 长文本和多行文本使用临时剪贴板注入,并恢复原剪贴板文本。
  • 托盘图标、暂停/恢复、开机启动、忽略进程和数据位置设置。
  • 数据默认保存在本机 JSON 文件中。

Quick Start

  1. 启动 SheraType。
  2. 在主窗口新增或编辑片段。
  3. 使用 Win+/ 打开搜索栏,输入关键词,按 Enter 插入。
  4. 或在任意文本框输入触发词,例如 ;date,再按空格展开。

默认数据目录:

%LOCALAPPDATA%\SheraType

更多使用细节见 docs/USAGE.md。

Development

要求:

  • Windows 10/11
  • .NET 8 SDK
  • .NET 8 Windows Desktop Runtime
dotnet restore SheraType.sln
dotnet build SheraType.sln
dotnet run --project src/SheraType.App/SheraType.App.csproj

发布单文件:

dotnet publish src/SheraType.App/SheraType.App.csproj -c Release -r win-x64 --self-contained true -p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true -o release

License

MIT License。

About

A lightweight Windows text expander for snippets, dates, times, quick search, and tray-based typing automation.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages