Jump to content

Generate snippets from a spreadsheet


dhoulb

Recommended Posts

Hi everyone! I built something and wanted to let you know :D 

 

I wanted to make some snippets for HTML entities (I know there are some databases available, but I wanted to customise some of the keywords to my own liking).

 

I searched online for something that would let me maintain a spreadsheet and convert that into the .alfredsnippet format. Found a few Python scripts but I wanted something simpler, so I built a quick in-browser that lets you copy a bunch of spreadsheet cells (copied cells are in TSV format), paste it into a big ol' textarea, and it'll generate/download the .alfredsnippets file for you :)

 

The tool itself is here:

https://rawgit.com/dhoulb/alfred-snippet-generator/master/index.html

 

The source code etc is here if you're that kinda gal:

https://github.com/dhoulb/alfred-snippet-generator

 

Let me know if you find it useful. Should make it tonnes easier to build/maintain large sets of snippets. I'm thinking a full set of Emoji snippets (should be easy enough to pull from this database), and a full set of character entity characters.

 

In addition because TextExpander can export as CSV, this will make it easy to convert those to Alfred instead (no need to run a script, just copy/paste).

 

Dave

Link to post
  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...