y1lichen / Expander

text expander

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Expander - simple snippet application for macos 11.3+

(Expander v1.3 is compatible for macos 10.15 but contains serveral bugs.)


Usage showcase

normal mode

normal mode showcase

passive mode

passive mode showcase

extra - emoji snippets

just type \cool (normal mode) and you will get 😎

TODOs

key detection

  • remove sandbox for [AXIsProcessTrustedWithOptions]
  • handle CGEvent to detect key pressing

snippet

  • add
  • delete
  • edit
  • delete by pressing delete-key when tableview selection is available
  • change sort method
  • search snippets
  • passive mode

default snippets

  • date snippet
  • timestamp snippet
  • public IP snippet
  • private (local) IP snippet

UI design

  • toolbar that supports system under Big Sur (macos 11.0+)
  • statusbar menu
  • dynamic statusbar icon
  • hide dock icon

others

  • reload data when core data changed
  • temporarily disable expander
  • notification for toggling
  • optional expand-key for passive mode

Long Snippet with format

Expander will read the text files in specific directory and paste it.

long snippet demo searchbar folder

The name in the quick-search bar will be the file name of the files in the directory stores the snippets.


Dependencies

More

About

text expander


Languages

Language:Swift 100.0%