Jump to content

Get Safari Tabs Workflow

Recommended Posts

I've been working on a project that required me to copy a lot of Safari tabs and I built a workflow to help with that. Features:


- Copy current tab or all

- Choose which of the pages to copy if copying all

- Copy as:

    - Markdown

    - Markdown list

    - Titles only 

    - Links only

    - Titles and links


It's a bit of a specific use case but might come in handy to other people.


Download: https://github.com/rknightuk/alfred-workflows/tree/main/workflows/safari-tabs-markdown



Link to comment
4 hours ago, rknightuk said:

I've been working on a project


On the page, you say (emphasis mine):



I'd been toying with the idea of making a Tumblr-like blog for little snippets and ideas that don't deserve a full blog post but it always seemed overkill.


Allow me to quote, in full, “Atomic Blog Posts” by Mike Crittenden:



There’s no law that says a blog post needs more than one idea or more than one sentence.


He posts every day.

As to the Workflow, a few suggestions:

  • Fill the “About this Workflow” field. Even the information you posted above would be a good start. You never know how people will find your Workflow.
  • Link directly to the download or at least a page that explains how to do it. Many people don’t use GitHub and will have a hard time understanding how to download from that page.
  • If you want to add auto-update capabilities, OneUpdater would fit your Workflow. Disclaimer: I’m the author, and I’m available for questions. In your specific case, the configuration would be:

readonly remote_info_plist="https://raw.githubusercontent.com/rknightuk/alfred-workflows/main/workflows/safari-tabs-markdown/src/info.plist"
readonly workflow_url="https://github.com/rknightuk/alfred-workflows/raw/main/workflows/safari-tabs-markdown/safari-tabs-markdown.alfredworkflow"
readonly download_type='direct'
readonly frequency_check='4'

Link to comment

Thanks for the feedback @vitor I think I should be checking my own checklist that I wrote for workflows (which I totally didn't this time). Updated to include the about workflow information, link now has the readme like it should with more information as well as the download link and I added OneUpdater.


As for the blog post thing that an interesting thought and I'll consider where I might post some stuff in the future.





Link to comment

For some reason, when I activate it and press on any of the results, the next list filter never shows up. No error in debugger either. I made a screencast of it:



It only appears if I also add a large type object, for some reason.


I have a feeling it's not an issue with your workflow though @rknightuk but a bug in Alfred. Perhaps I need to reinstall Alfred @Andrew


Also love your wiki, it's really well made. ♥️

Link to comment

That is really odd @nikivi, I can't imagine what would be causing that. Does it work if you disconnect OneUpdater block? I can't imagine it's that but I can't think what else it could be and I can't replicate on my machine.


2 hours ago, nikivi said:

Also love your wiki, it's really well made. ♥️


Thanks very kind of you to say, yours was a big inspiration and help in making mine.

Link to comment

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...