{"id":22610771,"url":"https://github.com/himidori/pm","last_synced_at":"2025-07-26T12:07:33.077Z","repository":{"id":57509140,"uuid":"141292240","full_name":"himidori/pm","owner":"himidori","description":null,"archived":false,"fork":false,"pushed_at":"2020-05-13T11:06:21.000Z","size":36,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T08:26:15.431Z","etag":null,"topics":["go","golang","password-manager"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/himidori.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":"2018-07-17T13:17:27.000Z","updated_at":"2020-09-18T05:32:38.000Z","dependencies_parsed_at":"2022-09-08T21:52:24.940Z","dependency_job_id":null,"html_url":"https://github.com/himidori/pm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/himidori/pm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himidori%2Fpm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himidori%2Fpm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himidori%2Fpm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himidori%2Fpm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/himidori","download_url":"https://codeload.github.com/himidori/pm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himidori%2Fpm/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267162851,"owners_count":24045537,"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-26T02:00:08.937Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["go","golang","password-manager"],"created_at":"2024-12-08T16:08:04.673Z","updated_at":"2025-07-26T12:07:33.042Z","avatar_url":"https://github.com/himidori.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pm\n\n[Difrex's perl password manager](https://github.com/difrex/pm) rewritten in go\n\n# install\n\nFrom AUR\n```\npacaur -S pm\n```\n\n# usage\n\n## gpg key\n\ngenerate a gpg key if you don't have one\n\n```\ngpg --gen-key\n```\n\nset your gpg key as the default one in ~/.gnupg/gpg.conf\n\nor use a custom key instead\n\n```\n# Create file with key email\ncat \u003e ~/.PM/.key \u003c\u003c EOF\nkey_email@example.com\nEOF\n```\n\n## first run\n\n```\n$ ./pm\ncreating configuration directory...\ncreating database scheme...\nencrypting database...\n```\n\n## check help\n\n```\n$ ./pm -h\nSimple password manager written in Go\n\n-s                      show password\n-n [Name of resource]   name of resource\n-g [Group name]         group name\n-o                      open link\n-t                      show passwords as table\n-w                      store new password\n-I                      interactive mode for adding new password\n-l [Link]               link to resource\n-u                      username\n-c                      comment\n-p [Password]           password\n                        (if password is omitted PM will\n                        generate a secure password)\n-L [Length]             length of generated password\n-r                      remove password\n-i                      password ID\n-m                      show dmenu\n-R                      show rofi\n-h                      show help\n```\n\n# examples\n\n## adding a new password\n\n### store your own password\n\n```\n./pm -wn porn -l coolpornsite.com -u john -p coolpassword -c 'my favorite site!'\n```\n\n### let pm generate a password by omitting the -p flag\n\n```\n./pm -wn porn -l coolpornsite.com -u john -c 'my favorite site!'\n```\n\n### choose the length of a generated password with the -L flag\n\n```\n./pm -wn porn -l coolpornsite.com -u john -L 32 -c 'my favorite site!'\n```\n\n### adding a password in the interactive way\n```\n./pm -wI\n```\n\n## showing passwords\n\n### show passwords in dmenu\n\n```\n./pm -m\n```\n\n### show passwords in rofi\n```\n./pm -R\n```\n\n### print all passwords\n\n```\n$ ./pm -sn all\nid: 1\nname: porn\nresource: coolpornsite.com\nusername: john\ncomment: my favorite site!\ngroup:\n```\n\n### print all passwords related to the group 'work'\n\n```\n./pm -sg work\n```\n\n### print passwords in a nice formatted table by using the -t flag\n\n```\n$ ./pm -stn all\nid name resource         username comment           group\n----------------------------------------------------------\n1  porn coolpornsite.com john     my favorite site!\n```\n\n### find password by name and copy it in the clipboard\n\n```\n$ ./pm -sn porn\npassword was copied to the clipboard!\nURL: coolpornsite.com\nUser: john\nGroup:\n```\n\n### copy password in the clipboard and follow the link in the browser\n\n```\n./pm -son porn\n```\n\n## removing a password\n\n```\n$ ./pm -ri 13\nsuccessfuly removed password with id 13\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhimidori%2Fpm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhimidori%2Fpm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhimidori%2Fpm/lists"}