Giter Site home page Giter Site logo

small-workflows's Introduction

Alfred

Alfred workflows I use

Workflows

  • Search websites - Searches on popular websites. I use Web Searches and Searchio for all other searches.
  • Search Files - A lot of file filters to find files quickly
  • Search Selection - Search selected text on various websites with hotkeys.
  • Search Content - Actions to search through the insides of PDF and MindNode documents as well as Contacts.
  • WiFi Tools - Check WiFi connection / Restart WiFi / Toggle it on/off.
  • Go play - Create Go Playground from selected Go code for sharing.
  • Useful utilities - Only has one utility, to search selected text in Alfred.
  • Month numbers - Search for a month and copy the month number to your clipboard.
  • Clean Folders - Trash items from Desktop and clean certain folders.
  • Folder Search - Search folders from Alfred and open them in Finder/iTerm/Editor.
  • File Actions - Various file actions I made to operate on files and folders.
  • Go to Subreddit - Go to a subreddit that you specify. For searching subreddits, use this.
  • Focus - Start Focus blocking for some time that you specify.
  • Local host - Open port that you specify at local host.
  • Objects library - Useful premade objects for workflows.
  • Open with app - File actions to quickly open file/folder in the application without going to Open with... menu.
  • TODO Task - Write a task and display it on TouchBar, in middle of screen or menu bar.
  • Birthday - See time passed since your birthday.
  • Dropbox Upload - Upload and share files with Dropbox.

Workflow Augmentations

Below are workflows that were not made by me, I just augmented them in my own way to make them 'better' (for me).

I often propose these changes to the workflow author so that the change is merged but sometimes the author does not want to accept the change so I am left with my own fork until then. Credit goes to the authors of these awesome workflows

Take a look at the original workflows first, it will most probably work for you well.

  • GitHub Jump - Quickly jump to GitHub repositories you made/starred. (My modification)
    • I added many modifiers to do different things such as go directly to issues of the workflow, pull requests of it or even clone the repo to a specified directory.
    • I use this workflow many many times a day and it saved me a lot of time. My modification has over 7,300 repos I starred that are within 1 second access from you.
  • Alfred Workflow Directory - Quickly open any Alfred Workflow directory in your Terminal, Finder. (My modification)
    • I changed it so that by default it will cd to the workflow in my current iTerm tab but also it can export workflow to ~/Desktop (you can change location) or it will open the workflow with an editor (VS Code or Sublime in my case).
  • Directory watches - Search insides of directories and action on things. (My modification)
    • I modified a script he once shared to quickly see insides of various directories and action on items of them to do various things opening the path in iTerm or moving the file somewhere.
  • Recent Downloads - View ~/Downloads folder from Alfred and action on contents of it. (My modification)
    • I modified it by adding few actions like opening the path in iTerm. Or opening the file/folder in VS Code.

Personal workflows

Below is a list of workflows that were made for my own personal use and will most certainly not work on your systems unless you change many things in the workflow.

You can take some inspiration or ideas from these workflows if you wish.

Fixing permission issues

Some workflows here are written with Go. See here for instructions on fixing permissions in macOS refusing to run Go binary.

Run

Most workflows here are small enough that everything is done with Alfred blocks with minimal code. You can also open the contents of workflow. Like this:

Sometimes the workflows are written in Go and use AwGo library for all Alfred related things.

You can run those workflows like so. Assumes you have Alfred command installed.

  1. Clone repo
  2. cd to folder with workflow you want to edit
  3. Run alfred link (makes symbolic link of workflow directory)
  4. Running alfred build will build workflow and place binary inside workflow directory.
  5. Make changes to code or modify Alfred objects to do what you want! Open debugger in Alfred or run the workflow with workflow:log passed in as argument to see the logs Alfred produces.

Other workflows

See Alfred Gallery and this list.

Contribute

Always open to useful ideas or fixes in form of issues or PRs.

Can open new issue (search existing issues first) or start discussion.

It's okay to submit draft PR as you can get help along the way to make it merge ready.

Join Discord for more indepth discussions on this repo and others.

🖤

Support on GitHub or look into other projects.

Discord X nikiv.dev

small-workflows's People

Contributors

nikitavoloboev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

small-workflows's Issues

birthday” cannot be opened because the developer cannot be verified.

Hey I tried accessing the macOS user guide but couldn't get it to override.

Not sure why your workflow app has this issue, all the others i download work fine.

Open an app by overriding security settings

You can open an app that isn’t allowed to open by manually overriding the settings in Security & Privacy preferences.

In the Finder on your Mac, locate the app you want to open.

Most apps can be found in the Applications folder.

Control-click the app icon, then choose Open from the shortcut menu.

Click Open.

The app is saved as an exception to your security settings, and you can open it in the future by double-clicking it, just as you can any authorized app.

For more information about protecting your Mac from harmful software, see Protect your Mac from malware.

Add Unfocus feature to "Focus" workflow

Sometimes it is necessary to disable Focus which is not possible to achieve from the workflow.
I propose to add unfocus feature that will execute open focus://unfocus

Not returning results even with updated directories

Hi @nikitavoloboev 👋

Totally fine to ignore this if you'd prefer but I was trying to use your Manage Notes workflow to set up a similar notes workflow as yours (which I love, by the way).

For some reason, even after I've updated the directory in the Scope section of the swiki and swikifold file filter actions to my directory of .md files, results aren't getting returned when I try to search. As in, typing swiki typescript into Alfred doesn't return my note titled typescript.md. Same thing with folders.

Anyway, no obligation to offer a fix for this if you don't want to, but figured I'd file an issue here just in case :-)

local host: View currently used ports

Say I have something running on port 8000 and 3000.

When you run the workflow, it will show 8000 and 3000 as one of Alfred's items you can pick. You can instead also just write another port.

Have to see how I can get the ports that are taken that are ran from iTerm.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.