Jump to content

Miko

Member
  • Posts

    11
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Miko

  1. After almost four years, I have returned to using Trello daily and decided to recode my old Trello Workflow with many of the requested features. 

     

      █████╗ ██╗     ███████╗██████╗ ███████╗██╗     ██╗      ██████╗    ██████████╗ 
     ██╔══██╗██║     ██╔════╝██╔══██╗██╔════╝██║     ██║     ██╔═══██╗   ██╔═██╔═██║ 
     ███████║██║     █████╗  ██████╔╝█████╗  ██║     ██║     ██║   ██║   ██║ ██║ ██║ 
     ██╔══██║██║     ██╔══╝  ██╔══██╗██╔══╝  ██║     ██║     ██║   ██║   ██║ ██████║
     ██║  ██║███████╗██║     ██║  ██║███████╗███████╗███████╗╚██████╔╝   ██████████║
     ╚═╝  ╚═╝╚══════╝╚═╝     ╚═╝  ╚═╝╚══════╝╚══════╝╚══════╝ ╚═════╝    ╚═════════╝

     

    What's New

    • Made for Alfred 5.1
    • Support for all Trello Labels and Custom Labels
    • Assign a card to yourself and or other members
    • Use natural language for due dates. For example, use terms like 'today', 'tomorrow', or 'next week'.
    • Pick your Date format (m/d/Y or d/m/Y)
    • Personalise the Workflow and rearrange all fields based on how you use Trello!
    • Use default overwrites so you don't have to type the same fields repeatedly.
    • All settings are managed within the Workflow configuration
    • Enable the Debug Log to see and record helpful error messages into log.txt and your clipboard
    • Path overwrite (I never had this issue, but some users asked for it)

     

    I have tried to document all functionality as clearly as possible here, I have extensively tested the Workflow with a couple of friends, but I'm sure there may still be some bugs. 
    If you have any issues, please open an issue in Github.

    You can download the Workflow here https://github.com/MikoMagni/Alfrello
     

    alfrello.png

  2. Super late reply, but this is no longer an issue with Alfred and the workflow

    Alfred will automatically search for PHP install in the following directories.

     

    /opt/homebrew/bin/php
    /usr/local/bin/php

     

    Alternatively, you can still define your path in the script as suggested.
     

    export PATH="/opt/homebrew/bin:/usr/local/bin:${PATH}"

     

    Tested with macOS Monterey 12.5 on Apple Silicon, PHP and PHP@7.4 installed with Brew

    Edit: Tested using Alfred 5.0.1

  3. Dark Mode Workflow for Alfred v.0.5

    light-dark-sm

     

    Enable Dark Mode or Light Mode on macOS Mojave using Alfred

     

    Download Dark Mode WorkFlow

     

    Or

     

    Download Dark Mode WorkFlow (Alfred Theme + macOS Mojave)

    This version includes the ability to switch Alfred theme to Alfred Mac OS and Alfred MacOS Dark.

     

    Install

    1. Double click on the "Dark Mode Workflow for Alfred 0.5.alfredworkflow" workflow that you have just downloaded.
      More info: https://www.alfredapp.com/help/workflows/

     

    Usage

    1. use darkmode to enable Dark Mode

    2. use lightmode to enable Light Mode

    3. use togglemode to toggle between Dark Mode and Light Mode

     

    Optional

    Within the WorkFlow settings in Alfred, you can add your custom Hotkey to trigger the three commands

     

    License

    MIT © 2018 Miko Magni

  4. On 8/14/2018 at 2:50 PM, gamell said:

    First of all, thanks to @Miko and co. for this amazing workflow.

    Just wanted lo let you all know that I made a small change to it to allow users to set defaults via environment variables for List, Label, Due date and Position. So, for example, if you want to always create your cards in the same list as I do, you can set it once and forget it. If you pass any list via the query, that will override the default as expected.

    You can find this version here.

    And I also opened a Pull Request to get this functionality in the original workflow by @Miko , which also has some instructions as to how to set the defaults.
     

    Thanks!!

     

     

    Thank you @gamell

     

    I merged your pull request. Added you to the credit, your instructions and increased the version number across everything. 

     

    Really liking those default variables :)

     

    Cheers

     

  5. Hi Gabrielle,

     

    Did you generate your Trello Developer API Key and then authorised the workflow to work with Trello and entered the correct Board ID?

     

    The only way that I was able to replicate the error was by entering the credential incorrectly. 

     

    Make sure that each preference in the bash file is within '' example below 

     

    key='00000000000'
    token='0000000000000000000000000000000' 
    boardid='0000000'
     

     

  6. On 3/31/2017 at 12:51 AM, chcameron said:


    I'm trying to use this workflow and yesterday I was using it just fine. However today I'm getting an error.
     

     

     

     

    I have just posted an update that should fix your problem.

     

    Please make sure to delete the old version before installing the new Trello Workflow. 

     

    Follow the installation instructions and generate your API KEY and Token. 

     

    Thanks, 

    Miko

  7. Trello Workflow for Alfred App v.1.6.1

    Create cards in Trello using Alfred App https://www.alfredapp.com/

    Download Trello WorkFlow 1.6.1

    Install

    1. Double click on the "Trello Workflow for Alfred v.1.6.1" workflow that you have just downloaded.
      More info: https://www.alfredapp.com/help/workflows/

      Note: if you have version 1.5 installed, remove it before installing the new version.

    Setup

    1. Generate your Trello Developer API Key
      Use the keyword "get trello key" to generate your Trello Developer API Key.
      More information: https://developers.trello.com/docs/api-introduction.

      Note: Make sure to be logged in Trello in your default browser before generating your API Key.
      39163817-68b8092a-47bb-11e8-939e-62cdfff

    2. Copy your API Key

    3. Authorize Trello Workflow
      Use the keyword "get trello token" plus your "API Key" to authorize the Trello Workflow to use your Trello account

      Example: get trello token 00000000000000000000
      More information: https://developers.trello.com/docs/api-introduction
      39280550-2a5bdb0e-493f-11e8-96de-81a64ce

    4. Allow Trello Workflow to use your account

      39164571-364a56b0-47bf-11e8-92f3-3c2a08f

    5. Copy your Token

    6. Your Trello board id
      Choose the Trello board that you wish to use with Trello Workflow and copy the board id
      You can get the board id by simply going to your board and add .json at the end of the URL.

      Example: Go to the Trello developmemt Roadmap Board https://trello.com/b/nC8QJJoZ/trello-development-roadmap. To view the board id add .json at the end of the URL https://trello.com/b/nC8QJJoZ/trello-development-roadmap.json. You should now see the full JSON

      {"id":"4d5ea62fd76aa1136000000c","name":"Trello Development Roadmap","desc":"","descData"

      The board id in the example is: 4d5ea62fd76aa1136000000c

    7. Open the Trello Workflow for Alfred in Alfred app. Use the Keyword Alfred to Show Alfred Preferences. Navigate to Workflows and select Trello Workflow for Alfred v1.6 from the side column.

      39165421-86508e96-47c3-11e8-8f90-f06bc0a

    8. Double click on the /bin/bash script and enter your API Key, Your Token and your board id here:

      key='{YourAPIKey}'
      token='{YourPersonalToken}'
      boardid='{YourBoardId}'

      Make sure that each preference in the bash file is within single quotes:

      key='00000000000'
      token='0000000000000000000000000000000'
      boardid='0000000'

      Click Save

      39165568-388c8448-47c4-11e8-9864-fc32d2e

    Usage

    1. General usage trello {field} separate fields using ;

      You can choose to have spaces or not between fields. For example {field1}; {field2} and {field1};{field2} will work.

      Available fields: {Card Title}; {Card Description}; {Labels}; {Due Date}; {List Name}; {Card Position} 39163922-f2d0f252-47bb-11e8-9bba-4b53752

    Basic Usage

    Card Title

    trello make dinner reservation
    

    will create a card on your board on the first list with the title "make dinner reservation"

    sdsd

    sdsd

    Card Description

    trello make dinner reservation; table for 10 people at around 7:30pm
    

    will create a card on your board on the first list with the title "make dinner reservation" and description "table for 10 people at around 7:30pm"

    39225192-166199c8-488a-11e8-8f38-015befd

    39226879-638a9a1a-4894-11e8-8449-2ae9f97

    Labels

    trello make dinner reservation; table for 10 people at around 7:30pm; blue
    

    will create a card on your board on the first list with the title "make dinner reservation" and description "table for 10 people at around 7:30pm" with a "blue" label

    Available Labels

    • all (will add green, yellow, orange, red, purple and blue)
    • green
    • yellow
    • orange
    • red
    • purple
    • blue

    You can add more than one label by comma separating them.

    trello make dinner reservation; table for 10 people at around 7:30pm; blue,red,yellow
    

    Please note: Make sure not to have spaces between comma separated labels.
    Custom labels are not supported. If you find a way let me know :)

    39225416-6a59e25a-488b-11e8-8d0e-e7b6c2f

    39226897-84c4c976-4894-11e8-84d2-c11daa3

    39226930-b52e97ae-4894-11e8-92e3-37052ea

    Due Date

    trello make dinner reservation; table for 10 people at around 7:30pm; blue; 04/26/2018
    

    will create a card on your board on the first list with the title "make dinner reservation" and description "table for 10 people at around 7:30pm" with a "blue" label. The due date will be set as 04/26/2018

    39225889-2a305bf2-488e-11e8-82e2-4da85e9

    39226946-e22d4368-4894-11e8-8071-f7b7874

    List Name

    trello make dinner reservation; table for 10 people at around 7:30pm; blue; 04/26/2018; Today
    

    will create a card on your board on the list Today with the title "make dinner reservation" and description "table for 10 people at around 7:30pm" with a "blue" label. The due date will be set as 04/26/2018.

    Please note: List name are case sensitive today will not work if your list is named Today.

    The example will only work if you have a list named Today, otherwise the card will be created on your first list.

    39226075-44f065e4-488f-11e8-900c-b2474b7

    39226084-57dd980c-488f-11e8-93a5-ebdf397

    Card Position

    trello make dinner reservation; table for 10 people at around 7:30pm; blue; 04/26/2018; Today; top
    

    will create a card on your board on the list Today with the title "make dinner reservation" and description "table for 10 people at around 7:30pm" with a "blue" label. The due date will be set as 04/26/2018.

    Note: If you don't specify a card position, your new card will automatically be placed at the end of the list.

    Available options (case sensitive)

    • top
    • bottom

    39225889-2a305bf2-488e-11e8-82e2-4da85e9

    bottom

    39226984-280ab73a-4895-11e8-9892-541213e

    top

    39226985-283cb2bc-4895-11e8-9939-1a4bcdb

    Advanced Usage

    You can skip any of the available fields by simply adding ;  

    {Card Title}; {Card Description}; {Labels}; {Due Date}; {List Name}; {Card Position}

    For example if I wanted to post a card with Title, Label and a Due date i would use this syntax

    {Card Title}; ; {Labels}; {Due Date}

    trello Clean my car; ; red; 04/29/2018
    

    39227249-c4188d86-4896-11e8-9697-eff3576

    39227247-bef258aa-4896-11e8-8f2b-52e8e7d

    Or a card with title only but on a different list

    {Card Title}; ; ; ; {List Name}

    trello Clean my car; ; ; ; Upcoming
    

    39227342-4c118abc-4897-11e8-9486-4f008fd

    39227333-3f9a37a2-4897-11e8-81ae-7089f22

    Environment Variables by @gamell

    Given that some might want always to create the cards on the same list, or with the same label, or same due date, or same position by default, I added the ability to set those defaults via the environment variables trello.list_name, trello.label, trello.due and trello.position.

    One can conveniently add or edit those environment variables without programming knowledge through the Alfred Workflow editor, clicking on the [x] button on the top right (see screenshot below).

    Note: If you don't set the variable, the workflow will behave as it did before.

    44072791-96f57f66-9f45-11e8-9dbc-399744c

    44072799-9d4107b4-9f45-11e8-9444-4d71f7f

    FAQ

    Coming soon

    License

    MIT © Miko Magni

×
×
  • Create New...