Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

A Python3 script to convert Alfred snippets to markdown format

Notifications You must be signed in to change notification settings

djw4/alfred-to-md

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Alfred-To-MD

A script to convert Alfred snippets to markdown format.

Summary

In my opinion, Alfred has to be one of the most useful desktop applications for Mac OS and I use it hundreds of times daily to pull out 'snippets'. My snippets contain information that's very useful and time-saving in my daily work, however I loose access to those snippets when not in the office. I use Gitbook to keep track of my notes and documentation, but the glaring omission was access to my Alfred snippets when off-site or working remotely.

This Python script will convert a directory full of Alfred snippets, into one markdown file that can be then easily imported into any documentation collation tool (such as Gitbook).

Installation

  1. Set up Alfred so that you have your preferences synced to a directory on your computer. You can extract the snippets directly from the application itself but this method is cleaner.
  2. Clone this repository onto your computer

Usage

Run the script in this format: python3 alfred-to-md.py /Users/dw/Sync/Alfred/Alfred.alfredpreferences/snippets/

By default it will output all content into a new (or newly emptied) file named alfred.md in the script directory.

About

A Python3 script to convert Alfred snippets to markdown format

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages