{"id":13484693,"url":"https://github.com/d0c-s4vage/pfp-vim","last_synced_at":"2025-07-21T18:36:53.315Z","repository":{"id":65436753,"uuid":"38887962","full_name":"d0c-s4vage/pfp-vim","owner":"d0c-s4vage","description":"A vim hex-editor plugin that uses 010 templates to parse binary data using pfp","archived":false,"fork":false,"pushed_at":"2019-09-21T13:50:38.000Z","size":22,"stargazers_count":58,"open_issues_count":4,"forks_count":10,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-12T15:57:05.646Z","etag":null,"topics":["010editor","binary-data","hex","parse","pfp","vim-plugin"],"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/d0c-s4vage.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":"2015-07-10T15:35:10.000Z","updated_at":"2024-07-01T06:10:28.000Z","dependencies_parsed_at":"2023-01-23T14:35:12.357Z","dependency_job_id":null,"html_url":"https://github.com/d0c-s4vage/pfp-vim","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/d0c-s4vage/pfp-vim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d0c-s4vage%2Fpfp-vim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d0c-s4vage%2Fpfp-vim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d0c-s4vage%2Fpfp-vim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d0c-s4vage%2Fpfp-vim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/d0c-s4vage","download_url":"https://codeload.github.com/d0c-s4vage/pfp-vim/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d0c-s4vage%2Fpfp-vim/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266353141,"owners_count":23915900,"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","status":"online","status_checked_at":"2025-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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":["010editor","binary-data","hex","parse","pfp","vim-plugin"],"created_at":"2024-07-31T17:01:30.187Z","updated_at":"2025-07-21T18:36:53.286Z","avatar_url":"https://github.com/d0c-s4vage.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# pfp-vim\n\nA vim hex-editor plugin that uses \n[010 templates](http://www.sweetscape.com/010editor/templates/) to parse binary\ndata using [pfp](https://github.com/d0c-s4vage/pfp). Tested to work with\nvim versions that support python2 or python3.\n\n- [Install pfp](#install-pfp)\n- [Install Plugin](#install-plugin)\n  * [Pathogen](#pathogen)\n  * [Vim Plug](#vim-plug)\n- [Usage](#usage)\n- [Notes](#notes)\n- [TODO](#todo)\n\n## Install pfp\n\nInstall [pfp](https://github.com/d0c-s4vage/pfp):\n\n```bash\npip install --upgrade pfp\n```\n\nIf you see errors that mention not being able to locate `Python.h`, install\nthe `python-dev` package and try again:\n\n```bash\nsudo apt-get install python-dev\n```\n\n## Install Plugin\n\n### Pathogen\n\nClone this repo into `~/.vim/bundle`:\n\n    git clone https://github.com/d0c-s4vage/pfp-vim.git ~/.vim/bundle/pfp-vim\n\nUse your vim plugin manager (pathogen, etc) to load the plugin (you probably\nalready have this setup in your `~/.vimrc` or something:\n\n\tcall pathogen#infect()\n\n### Vim Plug\n\nAdd `Plug 'd0c-s4vage/pfp-vim'` to your plug section\n\n## Usage\n\nWith a binary file loaded in the current window, the `PfpParse` command\nwill parse the file.\n\nYou may be asked to specify a directory that contains your 010 templates\n(looks for `*.bt` files).\n\nYou will also be asked which template should be used to parse the binary\nfile.\n\nAfter choosing a template to use, a hex-view of the binary file will\nbe displayed in a new tab on the left, with the parsed-out fields\ndisplayed on the right.\n\nNavigating the data structure on the right will highlight the relevant\nbytes in the hex-view on the left\n\n![demo.gif](https://user-images.githubusercontent.com/5090146/65373814-4cb8c400-dc37-11e9-8d2a-a1c3de2e0c94.gif)\n\n## Notes\n\nA `PfpInit` command also exists. This can be used to add additional\ndirectories within which 010 templates will be searched for.\n\n## TODO\n\n* Editing\n* Saving\n* Packed/Nested fields\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd0c-s4vage%2Fpfp-vim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fd0c-s4vage%2Fpfp-vim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd0c-s4vage%2Fpfp-vim/lists"}