{"id":13587554,"url":"https://github.com/willfarrell/alfred-debugger","last_synced_at":"2026-03-06T15:32:12.850Z","repository":{"id":142528621,"uuid":"13277830","full_name":"willfarrell/alfred-debugger","owner":"willfarrell","description":"A little script to help you write your Alfred Workflows.","archived":false,"fork":false,"pushed_at":"2013-12-05T19:50:31.000Z","size":188,"stargazers_count":23,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-06T23:33:46.594Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/willfarrell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-10-02T17:34:14.000Z","updated_at":"2021-11-28T17:40:34.000Z","dependencies_parsed_at":"2023-03-14T01:15:50.319Z","dependency_job_id":null,"html_url":"https://github.com/willfarrell/alfred-debugger","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/willfarrell/alfred-debugger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willfarrell%2Falfred-debugger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willfarrell%2Falfred-debugger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willfarrell%2Falfred-debugger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willfarrell%2Falfred-debugger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/willfarrell","download_url":"https://codeload.github.com/willfarrell/alfred-debugger/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willfarrell%2Falfred-debugger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30183469,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T14:42:24.748Z","status":"ssl_error","status_checked_at":"2026-03-06T14:42:14.925Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T15:06:15.835Z","updated_at":"2026-03-06T15:32:12.819Z","avatar_url":"https://github.com/willfarrell.png","language":"Shell","readme":"alfred-debugger\n===============\n\nA little script to help you write your Alfred Workflows. In the case your script has an error, Alfred defautls to searching your query in a search engine. To catch these errors you can run them in Terminal, and see what the errors are quickly and easily. \n\n## Install\n```bash\ncp alfred /usr/local/bin/alfred\nchmod +x /usr/local/bin/alfred\n\n# Add `alias alfred=/usr/local/bin/alfred` to `~/.bashrc`\n# or\n# Add `/usr/local/bin` to `$PATH`, if you use homebrew it should already be there\n```\n\n## Options\n```bash\nalfred [options] [-f] \u003cfile\u003e [-q] \u003cquery\u003e\nalfred \u003cfile\u003e \u003cquery\u003e\n\n  -f  --file     Filename of php file (ex 'script.php')\n  -h  --help     Show help options (what you're viewing now)\n  -q  --query    Value to replace {query} with\n  -v  --version  Return version of script\n```\n\n## Running\nJust run `alfred \u003cfile\u003e \u003cquery\u003e`.\n\n## Sample\nIn Alfred create a `Script Filter` with the following code.\n```php\n// PHP\n$query = urlencode(\"{query}\");\nrequire(\"sample.php\");\n```\n\nRight-click the workflow in Alfred, click `Show in Finder`. Create a new file `sample.php` that will be include by the code above.\n\n```php\n\u003c?php\n// sample.php\n\n//error_reporting(0); // uncomment to hide all errors\nrequire_once('workflows.php');\n$w = new Workflows();\n\nif (!isset($query)) {\n\t$query = \u003c\u003c\u003cEOD\n{query}\nEOD;\n}\n\n$w-\u003eresult( 'debug', $query, \"Your query was '$query'\", '', 'icon.png', 'yes' );\n\necho $w-\u003etoxml();\n?\u003e\n```\n\nOpen terminal to the open folder and run `$ alfred -f sample.php -q helloworld`. If all works ok you can be sure your Alfred Workflow will too. Go ahdea and try it out now, and have fun making new workflows.\n","funding_links":[],"categories":["Shell"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillfarrell%2Falfred-debugger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwillfarrell%2Falfred-debugger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillfarrell%2Falfred-debugger/lists"}