Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dkarter/alfred-magic-link
Magically insert links into markdown using Alfred
https://github.com/dkarter/alfred-magic-link
alfred alfred-workflow alfred5 macos markdown
Last synced: about 1 month ago
JSON representation
Magically insert links into markdown using Alfred
- Host: GitHub
- URL: https://github.com/dkarter/alfred-magic-link
- Owner: dkarter
- Created: 2022-11-08T04:00:34.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-01-09T04:13:25.000Z (10 months ago)
- Last Synced: 2024-08-05T06:06:21.764Z (3 months ago)
- Topics: alfred, alfred-workflow, alfred5, macos, markdown
- Language: Ruby
- Homepage:
- Size: 1010 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Alfred Magic Link Workflow
A magical workflow for copying a beautifully formatted Markdown link based on a
single search query! It's like "I'm feeling lucky" feature in your search engine
but for Markdown. :magic_wand:# Demo
https://user-images.githubusercontent.com/551858/200488916-b185bc58-8d37-4e36-86cc-d6363d0e0328.mp4
Works in any app!
https://user-images.githubusercontent.com/551858/200491514-03d953cf-ed81-447c-acb1-b0bc96660838.mp4
# Usage
Type `ml ` for example to get the page for ASDF Version Manager: `ml asdf vm`
OR
Use the hotkey ⌥ + [ and type a query
Then either:
- Press Enter to paste the markdown formatted link (+ copy it to clipboard)
- Hold ⌥ + Enter to copy a Markdown formatted link
- Hold ⌃ + Enter to copy the URL (no markdown)
- Hold ⌃ + ⇧ + Enter to copy the URL (no markdown)
- Hold ⌘ + Enter to open the URL# Prerequisites
- Ruby :gem:
- Alfred with PowerPack :tophat:# Installation
Download the [latest release](https://github.com/dkarter/alfred-magic-link/releases/latest) from GitHub and open it.
# Notes
This workflow is powered by [DuckDuckGo](https://duckduckgo.com).
If you overuse it, DuckDuckGo may temporarily flag you as a bot, and the workflow
will return no result. For most users and use cases that will not be an issue,
but I encountered this issue when I was developing and doing some heavy testing.If you want to use this feature in your browser add a `!` to any DuckDuckGo
search query `apple !`.# Release Instructions
1. Update the version in the "About This Workflow" section
2. Commit everything
3. Create a tag `git tag v1.x.x`
4. Push commits and tag
5. Workflow will be built and released automatically