{"id":3625,"url":"https://github.com/JakeWharton/pidcat","last_synced_at":"2025-08-03T20:32:50.709Z","repository":{"id":8911910,"uuid":"10637255","full_name":"JakeWharton/pidcat","owner":"JakeWharton","description":"Colored logcat script which only shows log entries for a specific application package.","archived":false,"fork":false,"pushed_at":"2024-05-10T13:57:53.000Z","size":3852,"stargazers_count":4839,"open_issues_count":67,"forks_count":500,"subscribers_count":112,"default_branch":"master","last_synced_at":"2024-12-03T15:08:55.951Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JakeWharton.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","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":"2013-06-12T05:59:37.000Z","updated_at":"2024-12-02T06:59:03.000Z","dependencies_parsed_at":"2023-02-10T10:16:02.830Z","dependency_job_id":"1cb15ead-fdf8-4d3c-8c73-81a19a32f0d9","html_url":"https://github.com/JakeWharton/pidcat","commit_stats":{"total_commits":105,"total_committers":40,"mean_commits":2.625,"dds":0.6285714285714286,"last_synced_commit":"61cd1ee1beabfa14eb5fbe21eb90c192d96aebc5"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JakeWharton%2Fpidcat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JakeWharton%2Fpidcat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JakeWharton%2Fpidcat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JakeWharton%2Fpidcat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JakeWharton","download_url":"https://codeload.github.com/JakeWharton/pidcat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228567009,"owners_count":17937983,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-01-05T20:16:46.779Z","updated_at":"2024-12-07T05:30:44.132Z","avatar_url":"https://github.com/JakeWharton.png","language":"Python","funding_links":[],"categories":["Logger","CN","Command Line","Python","Libraries","Awesome Mobile Application Penetration Testing  ![awesome](https://awesome.re/badge.svg)","CLI Tool"],"sub_categories":["[Jake Wharton](https://github.com/JakeWharton)","Dependency Management","Debugging Tools","Android Application Penetration Testing"],"readme":"PID Cat\n=======\n\nAn update to Jeff Sharkey's excellent [logcat color script][1] which only shows\nlog entries for processes from a specific application package.\n\nDuring application development you often want to only display log messages\ncoming from your app. Unfortunately, because the process ID changes every time\nyou deploy to the phone it becomes a challenge to grep for the right thing.\n\nThis script solves that problem by filtering by application package. Supply the\ntarget package as the sole argument to the python script and enjoy a more\nconvenient development process.\n\n    pidcat com.oprah.bees.android\n\n\nHere is an example of the output when running for the Google Plus app:\n\n![Example screen](screen.png)\n\n\nInstall\n-------\n\nGet the script:\n\n *  OS X: Use [Homebrew][2].\n\n         brew install pidcat\n\n    If you need to install the latest development version\n\n        brew unlink pidcat\n        brew install --HEAD pidcat\n\n * Arch Linux : Install the package called `pidcat-git` from the [AUR][4].\n\n * Others: Download the `pidcat.py` and place it on your PATH.\n\n\nMake sure that `adb` from the [Android SDK][3] is on your PATH. This script will\nnot work unless this is that case. That means, when you type `adb` and press\nenter into your terminal something actually happens.\n\nTo include `adb` and other android tools on your path:\n\n    export PATH=$PATH:\u003cpath to Android SDK\u003e/platform-tools\n    export PATH=$PATH:\u003cpath to Android SDK\u003e/tools\n\nInclude these lines in your `.bashrc` or `.zshrc`.\n\n*Note:* `\u003cpath to Android SDK\u003e` should be absolute and not relative.\n\n`pidcat` requires at least version 8.30 of `coreutils`. Ubuntu 20.04 LTS already ships\nwith it, for 18.04 and below, `coreutils` can be upgraded from the `focal` repo by running\nthe following:\n\n```shell\nsudo add-apt-repository 'deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse'\nsudo apt-get update\nsudo apt-get -t focal install coreutils\n```\n\n [1]: http://jsharkey.org/blog/2009/04/22/modifying-the-android-logcat-stream-for-full-color-debugging/\n [2]: http://brew.sh\n [3]: http://developer.android.com/sdk/\n [4]: https://aur.archlinux.org/packages/pidcat-git/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJakeWharton%2Fpidcat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJakeWharton%2Fpidcat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJakeWharton%2Fpidcat/lists"}