Skip to content

๐Ÿ” Simple Alfred unicode search workflow with preferential treatment to your often used characters

Notifications You must be signed in to change notification settings

adamkiss/alfred-utf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

56 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Alfred-UTF: Unicode Character Search Version badge

Alfred-utf - workflow screenshot

Simple workflow to replace now defunct Python 2 workflow. Uses pure SQLite3 - with fts5 and json1 extensions - which is still packaged with MacOS, unlike PHP or Python 2 in versions of MacOS 13+.

Usage

Search/show:

  • utf right arr - Search for a Unicode character by full-text matched name, alternative name, html entity or hexadecimal code
  • utf !<character> - Get details for a single exact character, except
  • utf !h - get HELP!
  • utf9 - Your top 9 Unicode characters

Result Actions:

  • Default action: copy the character (e.g. !)
  • Cmd - copy the HTML version (e.g. &excl;)
  • Option - copy the Unicode point for js/python/โ€ฆ (e.g. \u0021)
  • OptionCmd - copy the Unicode point for PHP (e.g. \u{0021})
  • Ctrl - copy the hex value(e.g. 21)
  • OptionCtrl - copy the full code point (e.g. 0021)
  • Use Copy result (Cmd+C) to copy the character name (e.g. exclamation mark)

โ†ณ Result actions (except Copy result Cmd+C) also paste to the frontmost app

Tips

  • utf u0027 - you can prefix the full codepoint with u, and the matcher will mostly match this to the character's json value (\u0027), which means you get "find a Unicode codepoint" function for free
  • utf larr - one of the fields matched are html entities - use this for a precise and quick matching
  • utf :raw* query* - if you prefix your query with a colon, you'll gain access to the underlying technology - and you get to write raw SQLite FTS5 Match Query. Use this power for good

Installation

  1. Download the workflow
  2. Use the workflow

License

MIT License - see LICENSE ยฉ 2022 Adam Kiss. Databased was sourced with Uni by Martin Tournoij

About

๐Ÿ” Simple Alfred unicode search workflow with preferential treatment to your often used characters

Topics

Resources

Stars

Watchers

Forks