bkunat / AlfredSnippetConverter

A macOS utility that converts Alfred Text Snippets into macOS Text Replacements

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Alfred Snippet Converter

Easily convert Alfred Text Snippets into macOS Text Replacements.

Features

  • Simple conversion of Alfred snippets to macOS format.
  • Command Line Interface (CLI) for advanced users.
  • User-friendly macOS app for straightforward conversions.

Requirements

  • macOS 13 (Ventura)

Getting Started

You can either build the project from source using Xcode or download one of the pre-built packages from the Releases tab.

Building CLI from the Command Line

  1. Navigate to the project's package directory:
    cd Packages
  2. Build and run the snippet converter:
    swift run snippet-converter path-to-exported-snippets-collection-from-alfred
    • Tip: Execute swift run snippet-converter to view all available options and arguments.

Usage

Exporting Snippets from Alfred

  1. Export a Snippets Collection from Alfred.
  2. Extract the .zip archive using macOS Archive Utility app.

Alfred Text Snippets are exported as .zip archives.

Converting with the CLI

Run the following command in the terminal:

./snippet-converter-cli path-to-exported-snippets-collection-from-alfred

Converting with the macOS App

  1. Open the macOS Snippet Converter app.
  2. Select the directory containing the exported Snippets Collection from Alfred.
  3. Click "Convert".

About

A macOS utility that converts Alfred Text Snippets into macOS Text Replacements

License:MIT License


Languages

Language:Swift 100.0%