mikomagni / alfrello Goto Github PK
View Code? Open in Web Editor NEWAlfred Workflow for creating cards on a Trello board
License: MIT License
Alfred Workflow for creating cards on a Trello board
License: MIT License
I'm struggling to understand how to install this with Alfred 2, the instructions seem to assume too much user knowledge. Could you tell me how or where I'm supposed to 'use the keyword Jello...' etc?
Thanks!
J
Hey Miko, thanks so much for updating your trello workflow. Unfortunately I can´t get it to work: using a prompt like "Trello Testtask; this is a description" won´t create a card on my trello board. I won't get an error message either, nothing happens.
I set an api key, authorized the workflow and added the Trello Board-ID into the settings.
Do you have any idea how to fix that?
Best regards
Lars
Hy there
I keep getting logs of the following error:
[ 07:36:14] Curl error: URL rejected: Malformed input to a URL function
[ 07:44:13] Curl error: URL rejected: Malformed input to a URL function
[ 08:32:07] Curl error: URL rejected: Malformed input to a URL function
I followed the instructions when setting up the workflow. (Using Alfred 5.1.1 [2138])
Any way to help with this?
Much appreciated!
I install the workflow step by step, but it not work for me when I use 'trello' commend.
I'm sure the 'bin/bash' have configured。
Environmental information:
masOS mojave 10.14
Trello have logged in
Please give me some advice,TKS.
Because the /bin/bash
node of the workflow directly calls php
, the workflow breaks on Monterey with the following error:
/bin/bash: line 8: php: command not found
This is true even if the user has manually re-installed php
via brew
, per this guidance.
The fix I found in the Alfred forums was to add the PATH
into the top of the script, like so:
Added at top of script (see screenshot):
export PATH="/opt/homebrew/bin:/usr/local/bin:${PATH}"
This fixed it, since Alfred's php upgrades don't reach into the script contents themselves.
Can you incorporate this into an updated version of workflow?
Hi! I'm trying to get the id for the board, but keep getting the 404 error. The board is private, tho. Does this work only for public boards?
I can't seem to get this workflow to push to Trello. I have entered my personal token, and the boardid. However, I keep getting the "List not found." result. The only edits I've made to the file are those required in the /bin/bash.
Any thoughts?
Thanks!
Hi there, unable to create new cards after supplying valid token, api key, and board ID. The logs provided via Alfred. Using Alfred 3.8.1 Build 961 - reach out if you need any clarification.
Starting debug for 'Trello Worklfow for Alfred v.1.6.1'
[2019-04-04 14:20:34][input.keyword] Processing output of 'action.script' with arg 'this is a test'
[2019-04-04 14:20:35][action.script] Processing output of 'output.notification' with arg '
Warning: Invalid argument supplied for foreach() in /Users/jeffrep/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.CCFA8AA6-CC90-450A-9665-52139CC50589/trello.php on line 49
List not found'
[2019-04-04 14:20:35][action.script] Processing output of 'output.playsound' with arg '
Warning: Invalid argument supplied for foreach() in /Users/jeffrep/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.CCFA8AA6-CC90-450A-9665-52139CC50589/trello.php on line 49
List not found'
Hi!
The download link for Alfred-for-Trello in dropbox has a 403 error. ):
Can't download. ):
Miko,
I am an old school programmer that moved into management so I am new to the Github and web services paradigm. Love my Mac and love Alfred so your Alfred-for-Trello is very useful to me.
I kept getting an 'invalid token' error when I first started. After much poking and digging, it appears that the application key is required. I modified the bash script to include the application key (peeked into jello to find it), passed in as first parameter, and modified the PHP to include its use. Now it works for me!
The key could be hardcoded in the PHP but this approach lets the code be reused more easily for other applications.
PHP Mods:
$trello_key = $data[0];
$trello_member_token = $data[1];
$trello_board_id = $data[2];
$list_name = $data[3];
$name = (isset($data[4])) ? stripslashes(trim($data[4])) : 'Untitled card';
$desc = (isset($data[5])) ? stripslashes(trim($data[5])) : '';
BASH Addition:
key='1433c6977ccb78cd82e29a5455a24815'
BASH Mod:
php -f /Applications/tscript.php -- "${key};${token};${boardid};${listname};{query}"
Let me know if this makes sense or if I fixed something that wasn't broken (and I was the one who broke it). ;-)
For example, I have one board for my work and one for my personal project (Or even multiple board for multiple projects). Right now, everytime I need switch (Ex. Going to office from home) I have to edit the config file to edit the board ID.
I just woundering if its possible to put board ID into command or make it easier to change/switch
Referencing the labels here:
http://help.trello.com/article/797-adding-labels-to-cards
I am able to create cards using the label color names in the link above for 1-6 (green - blue), however the remaining ones do not seem to work...
Any thoughts?
Have you considered adding the ability to assign the card to a person?
For example, if I want to assign myself, I’d append ;me
Where me is my Trello username
I’d use this for sure.
I’d also like the ability to automatically assign the card to myself every time I make one.
Often I need to put an item to a specific list but don't need to put a label or due date. It would be nice to do card;description;list - but it always goes to the first list on the board.
Inline Trello search would've been awesome. :)
After removing spaces after the semicolons, the workflow worked perfectly well.
Cf. http://www.alfredforum.com/topic/1132-create-card-in-trello/#entry34336
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.