Skip to content

Generate .alfredsnippets files by pasting .tsv content (i.e. from Google Sheets) into a textarea.

License

Notifications You must be signed in to change notification settings

dhoulb/alfred-snippet-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alfred Snippet Generator

Alfred Snippet Generator lets you transform a spreadsheet (e.g. Google Sheets or Excel) into an .alfredsnippets file, which you can then be imported into Alfred 3.

Entirely cross-platformly browser-based (new browsers). Provides a textarea that triggers a conversion/download when you paste TSV content (just select all your cells and copy from your sheet):

Try Alfred Snippet Generator!

Here is an example spreadsheet if you just want to try it out immediately.

Spreadsheet format

Alfred Snippet Generator uses tab-separated format (TSV) because it's easy to copy+paste it directly from Google Sheets or Excel. Create a sheet with the following columns and add as many rows as you need. This is designed for helping maintain long lists of snippets like emoji or HTML entities, or importing snippets from other systems.

  1. Keyword(s): e.g. fox or fox,foxface,fox face (required)
  2. Snippet: e.g. 🦊 (required)
  3. Name: e.g. Fox Face (optional)

Recommend not to hard-code prefixes or suffixes in keywords, as Alfred now includes the ability to customise these per snippet group. Locking them in means other users of your snippets can't edit them :(

Include multiple keywords for the same snippet by separating the words with commas. Don't add spaces around the commas or the spaces will be included in the keywords!

This demo spreadsheet for Emoji and HTML character entities shows an example of what you need. To try it out just highlight+copy all cells, then paste into Alfred Snippet Generator.

About

Generate .alfredsnippets files by pasting .tsv content (i.e. from Google Sheets) into a textarea.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published