Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/adamkiss/alfred-utf

🔍 Simple Alfred unicode search workflow with preferential treatment to your often used characters
https://github.com/adamkiss/alfred-utf

alfred alfred-workflow sqlite3

Last synced: about 2 months ago
JSON representation

🔍 Simple Alfred unicode search workflow with preferential treatment to your often used characters

Lists

README

        

# Alfred-UTF: Unicode Character Search ![Version badge](https://shields.io/github/v/release/adamkiss/alfred-utf?display_name=tag&include_prereleases&sort=semver)

![Alfred-utf - workflow screenshot](https://repository-images.githubusercontent.com/583129173/ac6a122c-d1a4-4e7d-aaf8-cfaf4141997c)

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 !` - 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. `!`)
- 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](./LICENSE)
© 2022 Adam Kiss. Databased was sourced with [Uni by Martin Tournoij](https://github.com/arp242/uni)