willfarrell / alfred-github-workflow Goto Github PK
View Code? Open in Web Editor NEWSearching Github repos.
License: MIT License
Searching Github repos.
License: MIT License
Once set (with github proxy myproxy
, how do I unset this when I don't want to use a proxy any more?
Since the Github API isn't all that fast it would be great if things like "git my" would default to local results and update once the results are loaded. Right now I'm looking at the "please wait" screen for about 2-3 seconds while I only rarely create/update my list of repo's (i.e. once every month or so)
For repositories that have been extensively forked (or just things like "spring" that have been used as names in multiple languages), it's useful to be able to see who the owner is in Github's results.
I'm proposing to show the results as "holman/dotfiles" rather than just "dotfiles".
Github returns these results paginated, so it needs to run through all the pages in order for this feature to be fully implemented ๐
I'll take a look and see if I can submit a PR to fix this soon
It would be nice to have this workflow in Packal in order to do proper updates. Any plans?
I am aware this workflow was published a long time ago, and potentially could not work in Alfred 4 but when I searched in my workflows collection a workflow that could help me interact with my gists this is the only one I found.
After updating the workflow to the latest version (1.7) and successfully setting my username and password, none of my gists appeared the results after typing the keyword "gist".
Here is the message I get from the Alfred debug console:
[04:21:03.346] ZZ Web Dev Github[Hotkey] Processing complete
[04:21:03.350] ZZ Web Dev Github[Hotkey] Passing output '' to Script Filter
[04:21:03.392] ZZ Web Dev Github[Script Filter] Queuing argument ''
[04:21:04.137] ZZ Web Dev Github[Script Filter] Script with argv '(null)' finished
[04:21:04.142] STDERR: ZZ Web Dev Github[Script Filter] 2020-08-08 04:21:04.032 defaults[85816:893118]
The domain/default pair of (/Users/politicus/Library/Application Support/Alfred 2/Workflow Data/com.farrell.github.alfredworkflow/settings.plist, github.proxy) does not exist
[04:21:04.143] ZZ Web Dev Github[Script Filter] <?xml version="1.0"?>
<items><item uid="git-" arg="" valid="yes" autocomplete=""><title></title><subtitle></subtitle><icon>gist.png</icon></item></items>
I would love to see this workflow support github issues, including issues assigned to me and issues that mention me.
Thanks.
Either i missed it or there is no enterprise support yet. This would make my day...
Is there (or plans to add) the ability to search repositories that belong to an organizations that my GitHub user is a part of?
This workflow seems great, but when I try running it in Alfred 3 (debug mode), I get the error message mkdir: /Users/kjarnet/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data: No such file or directory
. It would be really great if this got an update for Alfred 3.
It always gives me no result no matter what. Username and password token are set.
I got the workflow working fine on my personal comp (OSX 10.9) but on my work computer (OSX 10.6.8), it refuses to take my credentials whether I set them or not. I did make a new application key for the different computers so that I could revoke the one when I leave this job. I also tried with my normal password and nothing has worked.
Testing the connection, it says neither my name nor my password/key is set.
If the password has certain special characters, Alfred shows the default web search instead (those characters are probably confusing the script filter).
It would be really useful if there was a way to trigger a copy of a gist into the clipboard rather than opening the gist in the browser.
I will look over the code and see if I can send you a pull request.
It would be nice to have a way to work from behind proxy:
github proxy proxy.host:8080
It would be nice to have a keyword to only see gists that I have starred (similar to the starred repos).
gist star
https://github.com/willfarrell/alfred-github-workflow#setup step 3 indicates a Github personal access token should be used. However, this step does not describe what scope the access token should be granted.
Using Github 1.7 + Alfred 3 on macOS 10.12.6 Sierra
Hi Will, I've probably done something wrong, but when I type git my
, all I see is entries for Google, Amazon and Wikipedia. I've setup the credentials with github username <username>
and github password <password>
and I've entered github test
and got the message saying the test was successful. I've double checked on the github.com
website that my credentials are correct so I don't know what the problem is. Can you help?
Looking more closely at the other issues, I think it's because I'm using Alfred 3. Any idea when a version for A3 will be ready? Thanks.
I have successfully authenticated with an access token for which I've given "repo" access ("Full control of private repositories"), however the workflow only finds public repositories when I use the git my {query}
command.
Have I overlooked something in the permissions or does the workflow not support private repositories?
when i use the webset, search is fast. But the workfow search is slow. why?
Hey,
trying to add this workflow to Alfred, but running into some issues.. After setting my username and a personal access token, when I try and read my repos, I get the error "Github Limit: not found" in the alfred search bar. I checked my github api limit and I still have 4k+ requests available.
I was unsure what scopes to select on the auth token, so I didn't select any. I want minimal amounts of access to be granted to this app. Do I need to select any specific scopes?
Also, my account uses two-factor auth. I don't know if this is a problem for this workflow or not.
Thanks for any input. :) ๐
In v1.4, when doing gist {query}
and selecting a returned Gist the workflow opens an incorrect URL. The input step for for a Gist search returns the full Gist URL, the action step then appends that to 'https://gist.github.com/`. This results in the following URL.
https://gist.github.com/https%3A%2F%2Fgist.github.com%2F7890146
However, removing the https://gist.github.com/
from the action step breaks the 'New Gist' input. As the New Gist input doesn't return any data the URL is required in the action.
The solution I used was to modify the workflow file to use one 'action' for each 'input', like so.
Hope that helps.
Tom
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.