{"id":28372675,"url":"https://github.com/explosion-scratch/p","last_synced_at":"2026-01-27T06:31:48.231Z","repository":{"id":270623584,"uuid":"910950580","full_name":"Explosion-Scratch/p","owner":"Explosion-Scratch","description":"Pop - A smarter cd command","archived":false,"fork":false,"pushed_at":"2025-01-16T13:26:43.000Z","size":33,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-23T08:47:56.448Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Explosion-Scratch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2025-01-01T22:04:10.000Z","updated_at":"2025-01-16T13:26:45.000Z","dependencies_parsed_at":"2025-01-01T23:21:02.065Z","dependency_job_id":"666126ea-99fb-4279-a087-35dbcf757170","html_url":"https://github.com/Explosion-Scratch/p","commit_stats":null,"previous_names":["explosion-scratch/p"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Explosion-Scratch/p","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Explosion-Scratch%2Fp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Explosion-Scratch%2Fp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Explosion-Scratch%2Fp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Explosion-Scratch%2Fp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Explosion-Scratch","download_url":"https://codeload.github.com/Explosion-Scratch/p/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Explosion-Scratch%2Fp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28806301,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T06:25:51.065Z","status":"ssl_error","status_checked_at":"2026-01-27T06:25:50.640Z","response_time":168,"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":[],"created_at":"2025-05-29T16:30:13.122Z","updated_at":"2026-01-27T06:31:48.226Z","avatar_url":"https://github.com/Explosion-Scratch.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# p (Pop) - A Smarter `cd` Command\n\nhttps://github.com/user-attachments/assets/473ffaca-b015-4e62-8c79-af6561d1f189\n\n\n`p` is a smarter `cd` command. It searches recursively and uses fzf when needed. See below for details.\n\n## Features\n\n- **Fuzzy Matching**: Navigate to directories using partial or approximate names.\n- **Ignore Rules**: Automatically ignores common directories like `node_modules`, `.git`, and more.\n- **Depth Control**: Limit the search depth to avoid traversing too deep into the directory tree.\n- **Shell Integration**: Seamlessly integrate with popular shells like `bash`, `zsh`, and `fish`.\n- **Interactive Selection**: Use `fzf` for interactive directory selection when multiple matches are found.\n- **Verbose Logging**: Enable detailed logging for debugging and understanding the matching process.\n\n## Installation\n\n1. **Install `bun`**: Ensure you have `bun` installed on your system. Follow the instructions on the [Bun website](https://bun.sh/).\n\n2. **Download `p`**: Download the file `p` and save it somewhere in `$PATH`.\n\n3. **Install `fzf`**: `p` uses `fzf` for interactive selection. Install it using your package manager:\n\n    ```sh\n    # On macOS\n    brew install fzf\n\n    # On Ubuntu\n    sudo apt-get install fzf\n\n    # On Arch Linux\n    sudo pacman -S fzf\n    ```\n\n## Usage\n\n```sh\np [options] \u003cdirectory-pattern\u003e\n```\n\n### Options\n\n- `-h, --help`: Show the help message.\n- `--completion [shell]`: Generate shell completion script (bash, zsh, fish).\n- `--init [shell]`: Generate shell initialization script (bash, zsh, fish).\n- `-t, --threshold \u003cnumber\u003e`: Set minimum score threshold (default: 0).\n- `-v, --verbose`: Enable verbose logging.\n- `--more`: Show all matches without filtering.\n- `--first`: Always go to the first match.\n\n### Examples\n\n- `p proj`: Fuzzy search for directories matching 'proj'.\n- `p web/src`: Search for 'web' then 'src' within matches.\n- `p --threshold 5`: Only show matches with score \u003e= 5.\n- `p --more`: Show all matches without filtering.\n- `p --first`: Always go to the first match.\n\n## Shell Integration\n\nTo enable directory changing, you must add shell integration to your RC file. Run `p --init [shell]` to generate the necessary script and add it to your shell configuration file. Otherwise p just logs the output.\n\n## Contributing\n\nContributions are welcome! Feel free to open issues or submit pull requests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexplosion-scratch%2Fp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexplosion-scratch%2Fp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexplosion-scratch%2Fp/lists"}