Quick package/plugin/component (repo) lookup for your favourite package managers

Overview

Package Managers (Download latest release)

Package Repo Search

Quick package/plugin/component (repo) lookup for your favourite package managers. Currently supports Alcatraz to Yeoman Generators.

Commands

Action Modifiers

  • default: open README page url
  • cmd: copy name/id to frontmost app
  • shift: copy config file name/id and version to frontmost app

Additional Notes

All workflows require constant internet connection.

Workflows can break from time to time due to changes by the provider of the repo. If you notice a workflow stops working, post it at https://github.com/willfarrell/alfred-pkgman-workflow/issues.

All repos have caching enabled to speed up common queries. These caches are refreshed after 14 days and may take longer than expected to return results during update. You can force a cache refresh by running pkgman cachedb to re-download the databases (applies to alcatraz, grunt, cocoa). Alternatively you can run pkgman cleardb to remove all stored cache, but this isn't recommended. Clearing your cache is recommended after an update if the package manager you use had a bug previously.

The Python Package Index is very slow due to a lack on API and pagination. A min query length has been put in place to help speed this up. You can change it in the script, $min_query_length = 3. Perhaps someone with a python background can improve this.

![][metacran]

Featured on Smashing Magazine

Comments
  • Fix php for macOS Monterey

    Fix php for macOS Monterey

    Checks for PHP location to handle differences between Intel/M1 macs running Monterey.

    Instead of running things like this:

    php ./bin/index.php bower {query}
    

    we now do:

    if [ -f "/opt/homebrew/bin/php" ]; then
    	/opt/homebrew/bin/php ./bin/index.php bower {query}
    elif [ -f "/usr/local/bin/php" ]; then
        /usr/local/bin/php ./bin/index.php bower {query}
    elif [ -f "/usr/bin/php" ]; then
        /usr/bin/php ./bin/index.php bower {query}
    fi
    

    Not sure if this is the best way but fixes the problem.

    willfarrell/alfred-pkgman-workflow/issues/157

    UPDATE After @jeffbyrnes comments I decide to do it simpler, now all php calls use env $PHP_BIN, each user can set it as needed. I test it locally and works great.

    $PHP_BIN ./bin/index.php bower {query}
    
    image
    opened by elalemanyo 19
  • NPM script crashes

    NPM script crashes

    1. type npm connect-redis into alfred
    2. see the npm results stop showing around npm connect-red

    This issue happens with many packages at random. MacOS: 12.3.1 PHP: 8.3.1 Alfred: 4.6.5

    Debug logs
    [10:25:08.579] Package Managers[Script Filter] Queuing argument 'connect-redis'
    [10:25:08.620] Package Managers[Script Filter] Script with argv '(null)' finished
    [10:25:08.622] STDERR: Package Managers[Script Filter] PHP Warning:  Undefined property: stdClass::$description in [...]/Alfred.alfredpreferences/workflows/user.workflow.A50FBF87-D010-480E-850B-7C3795388B88/src/Npm.php on line 32
    [10:25:08.623] Package Managers[Script Filter] Warning: Undefined property: stdClass::$description in [...]/Alfred.alfredpreferences/workflows/user.workflow.A50FBF87-D010-480E-850B-7C3795388B88/src/Npm.php on line 32
    {"items":[{"arg":"connect-redis|https:\/\/www.npmjs.com\/package\/connect-redis|connect-redis: 6.1.3","icon":{"path":"icon-cache\/npm.png"},"subtitle":"Redis session store for Connect","title":"connect-redis","uid":"npm-connect-redis-6.1.3","valid":"yes"},{"arg":"@sailshq\/connect-redis|https:\/\/www.npmjs.com\/package\/%40sailshq%2Fconnect-redis|@sailshq\/connect-redis: 3.2.1","icon":{"path":"icon-cache\/npm.png"},"subtitle":"Redis session store for your Sails app.","title":"@sailshq\/connect-redis","uid":"npm-@sailshq\/connect-redis-3.2.1","valid":"yes"},{"arg":"connect-redis-crypto|https:\/\/www.npmjs.com\/package\/connect-redis-crypto|connect-redis-crypto: 4.0.5","icon":{"path":"icon-cache\/npm.png"},"subtitle":"Redis session store for Connect","title":"connect-redis-crypto","uid":"npm-connect-redis-crypto-4.0.5","valid":"yes"},{"arg":"@scriptollc\/connect-redis|https:\/\/www.npmjs.com\/package\/%40scriptollc%2Fconnect-redis|@scriptollc\/connect-redis: 2.3.2","icon":{"path":"icon-cache\/npm.png"},"subtitle":"Redis session store for Connect","title":"@scriptollc\/connect-redis","uid":"npm-@scriptollc\/connect-redis-2.3.2","valid":"yes"},{"arg":"connect-smart-redis|https:\/\/www.npmjs.com\/package\/connect-smart-redis|connect-smart-redis: 1.1.0","icon":{"path":"icon-cache\/npm.png"},"subtitle":"Like connect-redis, but smarter.","title":"connect-smart-redis","uid":"npm-connect-smart-redis-1.1.0","valid":"yes"},{"arg":"@tadashi\/connect-redis|https:\/\/www.npmjs.com\/package\/%40tadashi%2Fconnect-redis|@tadashi\/connect-redis: 2.2.0","icon":{"path":"icon-cache\/npm.png"},"subtitle":"Simplifying Redis connection","title":"@tadashi\/connect-redis","uid":"npm-@tadashi\/connect-redis-2.2.0","valid":"yes"},{"arg":"@lowdefy\/connection-redis|https:\/\/www.npmjs.com\/package\/%40lowdefy%2Fconnection-redis|@lowdefy\/connection-redis: 4.0.0-alpha.6","icon":{"path":"icon-cache\/npm.png"},"title":"@lowdefy\/connection-redis","uid":"npm-@lowdefy\/connection-redis-4.0.0-alpha.6","valid":"yes"},{"arg":"connect-redis-vctr|https:\/\/www.npmjs.com\/package\/connect-redis-vctr|connect-redis-vctr: 3.3.4","icon":{"path":"icon-cache\/npm.png"},"subtitle":"Redis session store for Connect","title":"connect-redis-vctr","uid":"npm-connect-redis-vctr-3.3.4","valid":"yes"},{"arg":"connect-redis-session|https:\/\/www.npmjs.com\/package\/connect-redis-session|connect-redis-session: 1.0.2","icon":{"path":"icon-cache\/npm.png"},"subtitle":"Redis session store for Express","title":"connect-redis-session","uid":"npm-connect-redis-session-1.0.2","valid":"yes"},{"arg":"connect-redis-sessions|https:\/\/www.npmjs.com\/package\/connect-redis-sessions|connect-redis-sessions: 2.1.1","icon":{"path":"icon-cache\/npm.png"},"subtitle":"Session store using redis-sessions for Connect","title":"connect-redis-sessions","uid":"npm-connect-redis-sessions-2.1.1","valid":"yes"},{"arg":"redis-connection|https:\/\/www.npmjs.com\/package\/redis-connection|redis-connection: 5.4.0","icon":{"path":"icon-cache\/npm.png"},"subtitle":"Re-use a single or pool of redis connections across several modules\/files in your app.","title":"redis-connection","uid":"npm-redis-connection-5.4.0","valid":"yes"},{"arg":"redis-url|https:\/\/www.npmjs.com\/package\/redis-url|redis-url: 1.2.1","icon":{"path":"icon-cache\/npm.png"},"subtitle":"Connect to redis using a fully-qualified URL","title":"redis-url","uid":"npm-redis-url-1.2.1","valid":"yes"},{"arg":"redis-connection-pool|https:\/\/www.npmjs.com\/package\/redis-connection-pool|redis-connection-pool: 2.0.2","icon":{"path":"icon-cache\/npm.png"},"subtitle":"a redis client connection pool","title":"redis-connection-pool","uid":"npm-redis-connection-pool-2.0.2","valid":"yes"},{"arg":"redis-sessions-anywhere|https:\/\/www.npmjs.com\/package\/redis-sessions-anywhere|redis-sessions-anywhere: 1.2.8","icon":{"path":"icon-cache\/npm.png"},"subtitle":"Use redis sessions, anywhere","title":"redis-sessions-anywhere","uid":"npm-redis-sessions-anywhere-1.2.8","valid":"yes"},{"arg":"sessionstore|https:\/\/www.npmjs.com\/package\/sessionstore|sessionstore: 1.3.7","icon":{"path":"icon-cache\/npm.png"},"subtitle":"Sessionstore is a node.js module for multiple databases. It can be very useful if you work with express or connect.","title":"sessionstore","uid":"npm-sessionstore-1.3.7","valid":"yes"},{"arg":"redis-url-plus|https:\/\/www.npmjs.com\/package\/redis-url-plus|redis-url-plus: 0.0.3","icon":{"path":"icon-cache\/npm.png"},"subtitle":"Redis Connect URL parser aligned with Redis-CLI commands","title":"redis-url-plus","uid":"npm-redis-url-plus-0.0.3","valid":"yes"},{"arg":"hapi-redis-connection|https:\/\/www.npmjs.com\/package\/hapi-redis-connection|hapi-redis-connection: 1.0.1","icon":{"path":"icon-cache\/npm.png"},"subtitle":"[![Build Status](https:\/\/travis-ci.org\/dwyl\/hapi-redis-connection.svg?branch=master)](https:\/\/travis-ci.org\/dwyl\/hapi-redis-connection) [![codecov](https:\/\/codecov.io\/gh\/dwyl\/hapi-redis-connection\/branch\/master\/graph\/badge.svg)](https:\/\/codecov.io\/gh\/dwyl","title":"hapi-redis-connection","uid":"npm-hapi-redis-connection-1.0.1","valid":"yes"},{"arg":"qcloud-connect-redis|https:\/\/www.npmjs.com\/package\/qcloud-connect-redis|qcloud-connect-redis: 4.0.4","icon":{"path":"icon-cache\/npm.png"},"subtitle":"Redis session store for Connect","title":"qcloud-connect-redis","uid":"npm-qcloud-connect-redis-4.0.4","valid":"yes"},{"arg":"loopback-connector-redis|https:\/\/www.npmjs.com\/package\/loopback-connector-redis|loopback-connector-redis: 3.0.0","icon":{"path":"icon-cache\/npm.png"},"subtitle":"The official Redis connector for the LoopBack Framework.","title":"loopback-connector-redis","uid":"npm-loopback-connector-redis-3.0.0","valid":"yes"},{"arg":"@nsfilho\/redis-connection|https:\/\/www.npmjs.com\/package\/%40nsfilho%2Fredis-connection|@nsfilho\/redis-connection: 0.1.10","icon":{"path":"icon-cache\/npm.png"},"subtitle":"A very simple and small services to simplify process to connect a redis host or cluster and provide some sugars and environments flavors.","title":"@nsfilho\/redis-connection","uid":"npm-@nsfilho\/redis-connection-0.1.10","valid":"yes"},{"arg":"redis-memory-server|https:\/\/www.npmjs.com\/package\/redis-memory-server|redis-memory-server: 0.5.0","icon":{"path":"icon-cache\/npm.png"},"subtitle":"Redis Server for testing. The server will allow you to connect your favorite client library to the Redis Server and run parallel integration tests isolated from each other.","title":"redis-memory-server","uid":"npm-redis-memory-server-0.5.0","valid":"yes"},{"arg":"node-redis-connection-pool|https:\/\/www.npmjs.com\/package\/node-redis-connection-pool|node-redis-connection-pool: 3.1.0","icon":{"path":"icon-cache\/npm.png"},"subtitle":"Simplistic node redis connection pool ready can scale with generic-pool support","title":"node-redis-connection-pool","uid":"npm-node-redis-connection-pool-3.1.0","valid":"yes"},{"arg":"outputcache|https:\/\/www.npmjs.com\/package\/outputcache|outputcache: 5.4.0","icon":{"path":"icon-cache\/npm.png"},"subtitle":"Cache api responses, react and more using redis, memcached or any other cache provider.","title":"outputcache","uid":"npm-outputcache-5.4.0","valid":"yes"},{"arg":"loopback-connector-kv-redis|https:\/\/www.npmjs.com\/package\/loopback-connector-kv-redis|loopback-connector-kv-redis: 4.0.0","icon":{"path":"icon-cache\/npm.png"},"subtitle":"The official Redis KeyValue connector for LoopBack","title":"loopback-connector-kv-redis","uid":"npm-loopback-connector-kv-redis-4.0.0","valid":"yes"},{"arg":"redis-pool-connection|https:\/\/www.npmjs.com\/package\/redis-pool-connection|redis-pool-connection: 1.4.0","icon":{"path":"icon-cache\/npm.png"},"subtitle":"Re-use a single or pool of redis connections across several modules\/files in your app.","title":"redis-pool-connection","uid":"npm-redis-pool-connection-1.4.0","valid":"yes"},{"arg":"https:\/\/npms.io\/","icon":{"path":"icon-cache\/npm.png"},"subtitle":"https:\/\/npms.io","title":"Go to the website","uid":"npm-www-1652711108","valid":"yes"}]}
    [10:25:08.625] ERROR: Package Managers[Script Filter] JSON error: JSON text did not start with array or object and option to allow fragments not set. around line 1, column 0. in JSON:
    Warning: Undefined property: stdClass::$description in [...]/Alfred.alfredpreferences/workflows/user.workflow.A50FBF87-D010-480E-850B-7C3795388B88/src/Npm.php on line 32
    {"items":[{"arg":"connect-redis|https:\/\/www.npmjs.com\/package\/connect-redis|connect-redis: 6.1.3","icon":{"path":"icon-cache\/npm.png"},"subtitle":"Redis session store for Connect","title":"connect-redis","uid":"npm-connect-redis-6.1.3","valid":"yes"},{"arg":"@sailshq\/connect-redis|https:\/\/www.npmjs.com\/package\/%40sailshq%2Fconnect-redis|@sailshq\/connect-redis: 3.2.1","icon":{"path":"icon-cache\/npm.png"},"subtitle":"Redis session store for your Sails app.","title":"@sailshq\/connect-redis","uid":"npm-@sailshq\/connect-redis-3.2.1","valid":"yes"},{"arg":"connect-redis-crypto|https:\/\/www.npmjs.com\/package\/connect-redis-crypto|connect-redis-crypto: 4.0.5","icon":{"path":"icon-cache\/npm.png"},"subtitle":"Redis session store for Connect","title":"connect-redis-crypto","uid":"npm-connect-redis-crypto-4.0.5","valid":"yes"},{"arg":"@scriptollc\/connect-redis|https:\/\/www.npmjs.com\/package\/%40scriptollc%2Fconnect-redis|@scriptollc\/connect-redis: 2.3.2","icon":{"path":"icon-cache\/npm.png"},"subtitle":"Redis session store for Connect","title":"@scriptollc\/connect-redis","uid":"npm-@scriptollc\/connect-redis-2.3.2","valid":"yes"},{"arg":"connect-smart-redis|https:\/\/www.npmjs.com\/package\/connect-smart-redis|connect-smart-redis: 1.1.0","icon":{"path":"icon-cache\/npm.png"},"subtitle":"Like connect-redis, but smarter.","title":"connect-smart-redis","uid":"npm-connect-smart-redis-1.1.0","valid":"yes"},{"arg":"@tadashi\/connect-redis|https:\/\/www.npmjs.com\/package\/%40tadashi%2Fconnect-redis|@tadashi\/connect-redis: 2.2.0","icon":{"path":"icon-cache\/npm.png"},"subtitle":"Simplifying Redis connection","title":"@tadashi\/connect-redis","uid":"npm-@tadashi\/connect-redis-2.2.0","valid":"yes"},{"arg":"@lowdefy\/connection-redis|https:\/\/www.npmjs.com\/package\/%40lowdefy%2Fconnection-redis|@lowdefy\/connection-redis: 4.0.0-alpha.6","icon":{"path":"icon-cache\/npm.png"},"title":"@lowdefy\/connection-redis","uid":"npm-@lowdefy\/connection-redis-4.0.0-alpha.6","valid":"yes"},{"arg":"connect-redis-vctr|https:\/\/www.npmjs.com\/package\/connect-redis-vctr|connect-redis-vctr: 3.3.4","icon":{"path":"icon-cache\/npm.png"},"subtitle":"Redis session store for Connect","title":"connect-redis-vctr","uid":"npm-connect-redis-vctr-3.3.4","valid":"yes"},{"arg":"connect-redis-session|https:\/\/www.npmjs.com\/package\/connect-redis-session|connect-redis-session: 1.0.2","icon":{"path":"icon-cache\/npm.png"},"subtitle":"Redis session store for Express","title":"connect-redis-session","uid":"npm-connect-redis-session-1.0.2","valid":"yes"},{"arg":"connect-redis-sessions|https:\/\/www.npmjs.com\/package\/connect-redis-sessions|connect-redis-sessions: 2.1.1","icon":{"path":"icon-cache\/npm.png"},"subtitle":"Session store using redis-sessions for Connect","title":"connect-redis-sessions","uid":"npm-connect-redis-sessions-2.1.1","valid":"yes"},{"arg":"redis-connection|https:\/\/www.npmjs.com\/package\/redis-connection|redis-connection: 5.4.0","icon":{"path":"icon-cache\/npm.png"},"subtitle":"Re-use a single or pool of redis connections across several modules\/files in your app.","title":"redis-connection","uid":"npm-redis-connection-5.4.0","valid":"yes"},{"arg":"redis-url|https:\/\/www.npmjs.com\/package\/redis-url|redis-url: 1.2.1","icon":{"path":"icon-cache\/npm.png"},"subtitle":"Connect to redis using a fully-qualified URL","title":"redis-url","uid":"npm-redis-url-1.2.1","valid":"yes"},{"arg":"redis-connection-pool|https:\/\/www.npmjs.com\/package\/redis-connection-pool|redis-connection-pool: 2.0.2","icon":{"path":"icon-cache\/npm.png"},"subtitle":"a redis client connection pool","title":"redis-connection-pool","uid":"npm-redis-connection-pool-2.0.2","valid":"yes"},{"arg":"redis-sessions-anywhere|https:\/\/www.npmjs.com\/package\/redis-sessions-anywhere|redis-sessions-anywhere: 1.2.8","icon":{"path":"icon-cache\/npm.png"},"subtitle":"Use redis sessions, anywhere","title":"redis-sessions-anywhere","uid":"npm-redis-sessions-anywhere-1.2.8","valid":"yes"},{"arg":"sessionstore|https:\/\/www.npmjs.com\/package\/sessionstore|sessionstore: 1.3.7","icon":{"path":"icon-cache\/npm.png"},"subtitle":"Sessionstore is a node.js module for multiple databases. It can be very useful if you work with express or connect.","title":"sessionstore","uid":"npm-sessionstore-1.3.7","valid":"yes"},{"arg":"redis-url-plus|https:\/\/www.npmjs.com\/package\/redis-url-plus|redis-url-plus: 0.0.3","icon":{"path":"icon-cache\/npm.png"},"subtitle":"Redis Connect URL parser aligned with Redis-CLI commands","title":"redis-url-plus","uid":"npm-redis-url-plus-0.0.3","valid":"yes"},{"arg":"hapi-redis-connection|https:\/\/www.npmjs.com\/package\/hapi-redis-connection|hapi-redis-connection: 1.0.1","icon":{"path":"icon-cache\/npm.png"},"subtitle":"[![Build Status](https:\/\/travis-ci.org\/dwyl\/hapi-redis-connection.svg?branch=master)](https:\/\/travis-ci.org\/dwyl\/hapi-redis-connection) [![codecov](https:\/\/codecov.io\/gh\/dwyl\/hapi-redis-connection\/branch\/master\/graph\/badge.svg)](https:\/\/codecov.io\/gh\/dwyl","title":"hapi-redis-connection","uid":"npm-hapi-redis-connection-1.0.1","valid":"yes"},{"arg":"qcloud-connect-redis|https:\/\/www.npmjs.com\/package\/qcloud-connect-redis|qcloud-connect-redis: 4.0.4","icon":{"path":"icon-cache\/npm.png"},"subtitle":"Redis session store for Connect","title":"qcloud-connect-redis","uid":"npm-qcloud-connect-redis-4.0.4","valid":"yes"},{"arg":"loopback-connector-redis|https:\/\/www.npmjs.com\/package\/loopback-connector-redis|loopback-connector-redis: 3.0.0","icon":{"path":"icon-cache\/npm.png"},"subtitle":"The official Redis connector for the LoopBack Framework.","title":"loopback-connector-redis","uid":"npm-loopback-connector-redis-3.0.0","valid":"yes"},{"arg":"@nsfilho\/redis-connection|https:\/\/www.npmjs.com\/package\/%40nsfilho%2Fredis-connection|@nsfilho\/redis-connection: 0.1.10","icon":{"path":"icon-cache\/npm.png"},"subtitle":"A very simple and small services to simplify process to connect a redis host or cluster and provide some sugars and environments flavors.","title":"@nsfilho\/redis-connection","uid":"npm-@nsfilho\/redis-connection-0.1.10","valid":"yes"},{"arg":"redis-memory-server|https:\/\/www.npmjs.com\/package\/redis-memory-server|redis-memory-server: 0.5.0","icon":{"path":"icon-cache\/npm.png"},"subtitle":"Redis Server for testing. The server will allow you to connect your favorite client library to the Redis Server and run parallel integration tests isolated from each other.","title":"redis-memory-server","uid":"npm-redis-memory-server-0.5.0","valid":"yes"},{"arg":"node-redis-connection-pool|https:\/\/www.npmjs.com\/package\/node-redis-connection-pool|node-redis-connection-pool: 3.1.0","icon":{"path":"icon-cache\/npm.png"},"subtitle":"Simplistic node redis connection pool ready can scale with generic-pool support","title":"node-redis-connection-pool","uid":"npm-node-redis-connection-pool-3.1.0","valid":"yes"},{"arg":"outputcache|https:\/\/www.npmjs.com\/package\/outputcache|outputcache: 5.4.0","icon":{"path":"icon-cache\/npm.png"},"subtitle":"Cache api responses, react and more using redis, memcached or any other cache provider.","title":"outputcache","uid":"npm-outputcache-5.4.0","valid":"yes"},{"arg":"loopback-connector-kv-redis|https:\/\/www.npmjs.com\/package\/loopback-connector-kv-redis|loopback-connector-kv-redis: 4.0.0","icon":{"path":"icon-cache\/npm.png"},"subtitle":"The official Redis KeyValue connector for LoopBack","title":"loopback-connector-kv-redis","uid":"npm-loopback-connector-kv-redis-4.0.0","valid":"yes"},{"arg":"redis-pool-connection|https:\/\/www.npmjs.com\/package\/redis-pool-connection|redis-pool-connection: 1.4.0","icon":{"path":"icon-cache\/npm.png"},"subtitle":"Re-use a single or pool of redis connections across several modules\/files in your app.","title":"redis-pool-connection","uid":"npm-redis-pool-connection-1.4.0","valid":"yes"},{"arg":"https:\/\/npms.io\/","icon":{"path":"icon-cache\/npm.png"},"subtitle":"https:\/\/npms.io","title":"Go to the website","uid":"npm-www-1652711108","valid":"yes"}]}
    
    bug 
    opened by reediculous456 10
  • Can't seem to run the workflow correctly - macbook pro m1 max

    Can't seem to run the workflow correctly - macbook pro m1 max

    Hi, I'm running MacOS 12.3.1 on a M1 mac && running Alfred 4.6.4.

    It seems like I cant run the workflow correctly. When I run the "debug mode", here's what it says : image

    JSON error: JSON text did not start with array or object and option to allow fragments not set. around line 1, column 0. in JSON:

    image

    I looked up the error but I can't seem to find the answer I'm looking for.

    opened by bangelischan 10
  • DRY up all searches/classes, simplify addition of new repos

    DRY up all searches/classes, simplify addition of new repos

    ~~DO NOT MERGE this is still a work-in-progress.~~

    ~~@willfarrell I've been working on this for a while, but after your recent tweaks, figured I'd give you a heads-up. I'll be updating this PR as I finish the last few search classes, and then I'll clean up this description & give you a heads-up.~~

    Primary impetus for this work is to simplify things, and make it much easier to add a new search. I've updated the template to reflect these changes as well.

    As these are very much breaking changes, the version has been increased to v3.00.

    Big stuff:

    • Establish the use of namespacing, mostly as a matter of course, but also to promote stronger adherence to current PHP code guidelines (e.g., PSR).
    • DRY up each of the previously duplicated, but differently-named, Repo classes into a single WillFarrell\AlfredPkgMan\Repo class, moving all shared methods into this single, parent, class.
    • Each search now has its own class, which inherits WillFarrell\AlfredPkgMan\Repo.

    Additional fixes:

    • Properly declare visibilities in WillFarrell\AlfredPkgMan\Cache
    • Cocoapods results were erratic, at best. They should now be correct.
    • Chef Supermarket was returning no results to Alfred, should be good now.
    • Puppet now searches their JSON API instead of scraping their site.
    • Maven & Gradle searches were clearly the same thing, they’re now identical.
      • This might be further simplified by having both point to the same search PHP class
    • Alcatraz search now actually works; previously, the returned object wasn't properly parsed
    • Update Docker RegEx to provide more complete results.
    • Fix Grunt search to iterate over correct section of results.
    • Fix Gulp search to iterate over correct section of results.

    Misc:

    • Dropped the v1 code. If you really want to keep it, that change can be reverted, but as this is all version control, I don’t see much point; just refer to the old code in git/GitHub.
    • Simplified the Raspbian search to avoid hard-coding array keys & use objects.
    opened by jeffbyrnes 9
  • docker does not do search

    docker does not do search

    Hi, I have neverrrr seen the docker part of this plugin work. It ALWAYS just returns the same list, without doing anything with the query. Whatever you type, the nginx repo comes on top.

    opened by Morriz 8
  • Rubygems search errors out

    Rubygems search errors out

    Hi there,

    I'm seeing a problem with the rubygems.org package search included with this amazing workflow. Whenever I search for a gem, it immediately fails on the first character submitted, and falls back to web search.

    I've switched on debugging, and here's the output that shows the error. I'm unfortunately not a PHP developer, so I really have no clue on how to go about fixing this.

    I hope you can help... This is my most used workflow :) Thank you for it.

    [13:47:45.845] Package Managers[Script Filter] Queuing argument ''
    [13:47:45.869] Package Managers[Script Filter] Script with argv '(null)' finished
    [13:47:45.872] Package Managers[Script Filter] {"items":[{"arg":"https:\/\/rubygems.org\/","icon":{"path":"icon-cache\/gems.png"},"subtitle":"https:\/\/rubygems.org","title":"Go to the website","uid":"gems-www-1665488865","valid":"yes"}]}
    [13:47:47.657] Package Managers[Script Filter] Queuing argument 'x'
    [13:47:47.702] Package Managers[Script Filter] Script with argv '(null)' finished
    [13:47:47.705] STDERR: Package Managers[Script Filter] PHP Warning:  foreach() argument must be of type array|object, null given in /Users/gabrielf/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.4540627A-E3A0-491B-9076-63437332DB56/src/Gems.php on line 24
    [13:47:47.706] Package Managers[Script Filter] Warning: foreach() argument must be of type array|object, null given in /Users/gabrielf/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.4540627A-E3A0-491B-9076-63437332DB56/src/Gems.php on line 24
    {"items":[{"arg":"https:\/\/rubygems.org\/search?utf8=%E2%9C%93&query=x","icon":{"path":"icon-cache\/gems.png"},"subtitle":"Click to see the results for yourself","title":"No gems were found that matched \"x\"","uid":"gems-search","valid":"yes"},{"arg":"https:\/\/rubygems.org\/","icon":{"path":"icon-cache\/gems.png"},"subtitle":"https:\/\/rubygems.org","title":"Go to the website","uid":"gems-www-1665488867","valid":"yes"}]}
    [13:47:47.707] ERROR: Package Managers[Script Filter] JSON error: JSON text did not start with array or object and option to allow fragments not set. around line 1, column 0. in JSON:
    Warning: foreach() argument must be of type array|object, null given in /Users/gabrielf/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.4540627A-E3A0-491B-9076-63437332DB56/src/Gems.php on line 24
    {"items":[{"arg":"https:\/\/rubygems.org\/search?utf8=%E2%9C%93&query=x","icon":{"path":"icon-cache\/gems.png"},"subtitle":"Click to see the results for yourself","title":"No gems were found that matched \"x\"","uid":"gems-search","valid":"yes"},{"arg":"https:\/\/rubygems.org\/","icon":{"path":"icon-cache\/gems.png"},"subtitle":"https:\/\/rubygems.org","title":"Go to the website","uid":"gems-www-1665488867","valid":"yes"}]}
    
    opened by gee-forr 7
  • Gulp search no longer returns results

    Gulp search no longer returns results

    Found while checking out #63.

    It seems that the Gulp.js registry has changed slightly, and is no longer being searched by the workflow.

    Looking at the code for that search, it seems that page is now querying a (mirror?) Node.js repository with a set of keywords to filter for Gulp stuff:

    return $http.get("http://registry.gulpjs.com/_search", {
        params: {
            q: "keywords:gulpplugin,gulpfriendly",
            fields: fields.join(","),
            from: start,
            size: size
        },
        transformResponse: $http.defaults.transformResponse.concat([formatData])
    })
    

    We’ll need to tweak the cache that’s created for Gulp (or, perhaps, stop using said cache).

    bug Update Needed 
    opened by jeffbyrnes 6
  • Npm versions

    Npm versions

    I have used your workflow many times and my most valuable feature is to quickly know which is the current version of a node module. But since a month or 2 it is not showing like you show (in the image) on your github-page.

    I am only seeing for "npm send":

    screen shot 2014-04-16 at 13 29 50

    What is the cause? Is it npmjs.org?

    opened by joeyvandijk 6
  • Detect Homebrew-installed PHP

    Detect Homebrew-installed PHP

    With the removal of PHP in macOS 12, this Workflow no longer works out of the box. By using export PATH="/opt/homebrew/bin:/usr/local/bin:${PATH}" before calling php, we return that experience to people who installed PHP via Homebrew. The two paths are Homebrew’s default install locations on Apple Silicon and Intel, respectively.

    bug 
    opened by vitorgalvao 5
  • MacOS 12 doesn't work.

    MacOS 12 doesn't work.

    [01:41:29.436] Logging Started... [01:41:35.550] Package Managers[Script Filter] Queuing argument '' [01:41:35.556] Package Managers[Script Filter] Script with argv '(null)' finished [01:41:35.556] ERROR: Package Managers[Script Filter] Code 127: /bin/bash: php: command not found

    opened by chooin 5
  • Remove useless default (first) search result if found something

    Remove useless default (first) search result if found something

    Maybe I missing something, but I can't find a way to remove this: search on npmjs com issue 85 willfarrell alfred-pkgman-workflow 2016-02-04 07-13-20 So instead of just hit Enter I must use ⌘+2, that's annoying. BTW, I believe nobody ever use 'Go to rubygems/npm/others' - this can be done by Alfred itself, w/o any workflows :) This is the example of behaviour I'm looking for: http://www.packal.org/workflow/npm-repo Is it possible to simply check/uncheck something to accomplish that task, or it will lead to much more complex changes? Thanks!

    opened by qd3v 5
Releases(6.0.3)
Owner
will Farrell
will Farrell
DiscordLookup | Get more out of Discord with Discord Lookup! Snowflake Decoder, Guild List with Stats, Invite Info and more...

DiscordLookup Get more out of Discord with Discord Lookup! Snowflake Decoder, Guild List with Stats, Invite Info and more... Website Getting Help Tool

Felix 69 Dec 23, 2022
This is a Native PHP MVC. If you will build your own PHP project in MVC with router, you can clone this ready to use MVC pattern repo.

Welcome to PHP-Native-MVC-Pattern ?? If you will build your own PHP project in MVC with router, you can clone this ready to use MVC pattern repo. Work

null 2 Jun 6, 2022
Supper quick use Aliyun OSS or Tencent COS or Qiniu Koa to get、put、delete Object.

An SDK integrating Alibaba cloud, Tencent cloud and qiniu cloud object storage

null 6 Sep 26, 2021
A quick naked theme to demonstrate how easy it is to support Gutenberg using ACF blocks

ACF Gutenberg Demo Theme A quick naked theme to demonstrate how easy it is to support Gutenberg using ACF blocks demo.mp4 Files I have found a useful

Stirtingale 1 Oct 28, 2021
Phalcon Builder - is a packaging system that make it easy and quick to build Phalcon packages such as rpms, debs, etc. Phalcon's distribution that hosted at PackageCloud.

Phalcon Builder - is a packaging system that make it easy and quick to build Phalcon packages such as rpms, debs, etc. Phalcon's distribution that hos

The Phalcon PHP Framework 26 Oct 7, 2022
BreadBooru is a light, quick, and easy to setup imageboard with themes, images, and video support

BreadBooru a bad imageboard, that has nothing to do with (dan/gel)booru, and yet still has booru in the name BreadBooru is a light, quick, and easy to

bread 2 Jan 22, 2022
Quick start -d/reload/restart/stop hyperf(~2.1.0 & ~2.2.0) server

hyperf-helper 1. quick start -d/reload/restart/stop server 2. support hyperf ~2.1.0 & ~2.2.0 3. support CentOS7+, Ubuntu 18.0.4+, macOS 4. support swo

lobtao 8 Dec 16, 2022
Quick start Symfony 5 project via docker-compose

Quick Docker Symfony This repository will allow you to start a Symfony project very quickly with PostgreSQL 14, pgAdmin 4 and one of three php version

null 2 Aug 7, 2022
ATVController for android devices running with RDM > POGO > ATLAS. Quick, simple and dirty add controls with a GUI view

ATVController - WIP - Much to add and fix. ATVController for android devices running with RDM > POGO > ATLAS. Quick, simple and dirty adb controls wit

null 7 Nov 21, 2022
A quick,easy and safe way of accessing Mysql-like databases from within a PHP program

Mysqli-Safe A simple, easy-to-use and secure way of accessing a Mysql database from within your PHP programs Mysqli-safe is a wrapper around the mysql

Anthony Maina Njoroge 2 Oct 9, 2022
[READ-ONLY] CakePHP Utility classes such as Inflector, Text, Hash, Security and Xml. This repo is a split of the main code that can be found in https://github.com/cakephp/cakephp

CakePHP Utility Classes This library provides a range of utility classes that are used throughout the CakePHP framework What's in the toolbox? Hash A

CakePHP 112 Feb 15, 2022
Repo do vídeo do youtube de Design Patterns - Decorator

DesignPatternsPHP-Decorator Repo do vídeo do Youtube de Design Patterns - Decorator Link do vídeo Decorator em PHP 8 Imagem de exemplo Link do cadastr

Leonardo Tumadjian 10 Aug 18, 2022
Repo for OSWE related video content for @SecAura Youtube Channel

OSWE@SecAura A repository for related OSWE contents referenced in SecAura's YouTube Channel @SecAura SecAura Blog | PHP Web App ?? YouTube Playlist Li

null 21 Dec 13, 2022
Repo pour la Nuit de l'Info 2021, équipe Passage Python

Passage Python Repo pour la Nuit de l'Info 2021, équipe Passage Python Les membres de l'équipe sont : Florian Duzes, FloDarPie Theo Cavailles, igneefl

Florian Duzes 3 Dec 3, 2021
Php-gamer - A repo with PHP 8.1, Swoole and Laminas. And of course, Docker in the front.

PHP-Gamer Instructions for run this app: First time $ git clone [email protected]:fatorx/php-gamer.git $ cd php-gamer $ chmod +x docker-build.sh $ chmod

Fabio de Souza 6 Oct 6, 2022
This Repo is a storage of Postman collections for Magento

Magento Postman repository This Repository is a storage of Postman collections for Magento. If you have what to share, you are welcome to contribute a

Lyzun Oleksandr 14 May 17, 2022
Buat yang lagi nyari web cafe yang simple untuk mengelola transaksi jual-beli mungkin repo ini tepat

Buat yang lagi nyari web cafe yang simple untuk mengelola transaksi jual-beli mungkin repo ini tepat. Aplikasi ini juga bisa digunakan buat kamu yang lagi belajar React Js dan REST API

Khasrul 11 Aug 19, 2022
PSpec is a testing framework for PHP, influenced by RSpec and jest. 🧪 This repo is a MIRROR of the GitLab source repository.

PSpec PSpec is a testing framework for PHP, influenced by RSpec and jest. This project is experimental and still needs a lot of work. Example // src/C

CodingPaws 0 Mar 31, 2022