{"id":42397586,"url":"https://github.com/igrybkov/alfred-pj","last_synced_at":"2026-03-09T11:06:23.951Z","repository":{"id":223410853,"uuid":"744853666","full_name":"igrybkov/alfred-pj","owner":"igrybkov","description":"Alfred workflow for quickly opening projects in their appropriate editor, terminal, or Finder with automatic project type detection","archived":false,"fork":false,"pushed_at":"2026-03-06T22:18:27.000Z","size":618,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-07T02:52:17.100Z","etag":null,"topics":["alfred-workflow","developer-tools","macos","productivity","python"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/igrybkov.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-01-18T06:17:19.000Z","updated_at":"2026-03-06T22:18:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"9beb3792-27eb-403a-ac16-f69c5469fac8","html_url":"https://github.com/igrybkov/alfred-pj","commit_stats":null,"previous_names":["igrybkov/alfred-pj"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/igrybkov/alfred-pj","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igrybkov%2Falfred-pj","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igrybkov%2Falfred-pj/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igrybkov%2Falfred-pj/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igrybkov%2Falfred-pj/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/igrybkov","download_url":"https://codeload.github.com/igrybkov/alfred-pj/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igrybkov%2Falfred-pj/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30291857,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T02:57:19.223Z","status":"ssl_error","status_checked_at":"2026-03-09T02:56:26.373Z","response_time":61,"last_error":"SSL_read: 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":["alfred-workflow","developer-tools","macos","productivity","python"],"created_at":"2026-01-28T01:09:35.291Z","updated_at":"2026-03-09T11:06:23.928Z","avatar_url":"https://github.com/igrybkov.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PJ Alfred Workflow\n\nAlfred workflow to quickly open projects in the appropriate editor, terminal, or Finder.\n\nInspired by Oh-My-ZSH's [pj plugin](https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/pj).\n\n## Screenshot\n\n![PJ Screenshot](.github/screenshot.png)\n\n## Features\n\n- **Smart editor detection** - Automatically opens projects in the right editor based on project type\n- **Multiple project directories** - Scan multiple directories for projects\n- **Customizable editors** - Configure preferred editors per language\n- **Keyboard shortcuts** - Quickly open in terminal, Finder, VS Code, or GitHub\n- **Usage tracking** - Frequently used projects appear first\n\n## Requirements\n\n- macOS\n- [Alfred](https://www.alfredapp.com/) with Powerpack\n\n## Installation\n\n1. Download the latest `.alfredworkflow` file from [GitHub Releases](https://github.com/igrybkov/alfred-pj/releases)\n2. Double-click to install in Alfred\n3. Configure your project directories (see [Configuration](#configuration))\n\n## Usage\n\nInvoke Alfred and type `pj` to see your projects.\n\n### Keyboard Shortcuts\n\n| Modifier | Action |\n|----------|--------|\n| _(none)_ | Open in detected editor |\n| ⌥ Option | Open in VS Code |\n| ⌃ Control | Open GitHub page |\n| ⇧ Shift | Open in Finder |\n| ⌘ Command | Open in terminal |\n\n## Configuration\n\nOpen Alfred Preferences → Workflows → PJ → Configure Workflow (top right).\n\n### Project Paths\n\nSet the `paths` variable to a comma-separated list of directories to scan:\n\n```\n~/Projects,~/Work,~/Personal\n```\n\n### Editor Preferences\n\nConfigure your preferred editors using environment variables. Editors are comma-separated, and the first available one is used.\n\n| Variable | Project Type | Default |\n|----------|--------------|---------|\n| `DEFAULT_EDITOR` | Fallback for unknown types | `code` |\n| `EDITORS_OBSIDIAN` | Obsidian vaults | `obsidian-opener,obsidian` |\n| `EDITORS_PYTHON` | Python projects | `pycharm,idea,code` |\n| `EDITORS_JAVASCRIPT` | JavaScript projects | `webstorm,phpstorm,idea,code` |\n| `EDITORS_TYPESCRIPT` | TypeScript projects | `webstorm,code` |\n| `EDITORS_GO` | Go projects | `goland,idea,code` |\n| `EDITORS_RUST` | Rust projects | `rustrover,idea,code` |\n| `EDITORS_JAVA` | Java projects | `idea` |\n| `EDITORS_PHP` | PHP projects | `phpstorm,idea,code` |\n| `EDITORS_RUBY` | Ruby projects | `rubymine,code` |\n| `EDITORS_CPP` | C/C++ projects | `clion,code` |\n| `EDITORS_JUPYTER` | Jupyter notebooks | `pycharm,idea,code` |\n\n## Editor Detection\n\nThe workflow detects project types by looking for specific files and directories:\n\n| Project Type | Detection | Default Editor |\n|--------------|-----------|----------------|\n| Obsidian vault | `.obsidian/` directory | Obsidian |\n| VS Code project | `.vscode/` (without `.idea/`) | VS Code |\n| Java | `pom.xml`, `build.gradle` | IntelliJ IDEA |\n| PHP | `composer.json`, `*.php` | PHPStorm |\n| Python | `pyproject.toml`, `requirements.txt`, `.venv/` | PyCharm |\n| TypeScript | `tsconfig.json` | WebStorm |\n| JavaScript | `package.json`, `*.js` | WebStorm |\n| Go | `go.mod`, `*.go` | GoLand |\n| Rust | `Cargo.toml`, `*.rs` | RustRover |\n| Ruby | `Gemfile`, `*.rb` | RubyMine |\n| C/C++ | `CMakeLists.txt`, `Makefile` | CLion |\n\nDetection order matters - the first match wins.\n\n## Development\n\n```bash\n# Link workflow to Alfred for development\npython bin/release.py link\n\n# Unlink workflow from Alfred\npython bin/release.py unlink\n\n# Package into .alfredworkflow file\npython bin/release.py package\n\n# Get or set version\npython bin/release.py version          # show current\npython bin/release.py version 1.2.3    # set specific\npython bin/release.py version patch    # bump patch/minor/major\n\n# Create a release (bumps version, creates tag, pushes to GitHub)\npython bin/release.py release patch    # or: minor, major\n\n# Run tests\nuv run pytest\n```\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\n## License\n\nThis project is licensed under the MIT License - see the `LICENSE` file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figrybkov%2Falfred-pj","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Figrybkov%2Falfred-pj","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figrybkov%2Falfred-pj/lists"}