{"id":15771750,"url":"https://github.com/trstringer/psqlcm","last_synced_at":"2026-02-01T22:31:44.900Z","repository":{"id":237655621,"uuid":"794978143","full_name":"trstringer/psqlcm","owner":"trstringer","description":"Local connection manager for PostgreSQL","archived":false,"fork":false,"pushed_at":"2024-05-09T01:57:06.000Z","size":18,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-25T19:43:11.030Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/trstringer.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":"2024-05-02T10:44:29.000Z","updated_at":"2025-06-22T16:19:39.000Z","dependencies_parsed_at":"2024-05-12T01:00:29.192Z","dependency_job_id":null,"html_url":"https://github.com/trstringer/psqlcm","commit_stats":null,"previous_names":["trstringer/psqlcm"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/trstringer/psqlcm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trstringer%2Fpsqlcm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trstringer%2Fpsqlcm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trstringer%2Fpsqlcm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trstringer%2Fpsqlcm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trstringer","download_url":"https://codeload.github.com/trstringer/psqlcm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trstringer%2Fpsqlcm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28993253,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T22:01:47.507Z","status":"ssl_error","status_checked_at":"2026-02-01T21:58:37.335Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":"2024-10-04T15:04:55.756Z","updated_at":"2026-02-01T22:31:44.883Z","avatar_url":"https://github.com/trstringer.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# psqlcm (psql connection manager)\n\nManage your PostgreSQL connections locally.\n\n## Build\n\n```\n$ make build\n```\n\nCopy `./bin/psqlcm` to a path dir.\n\nBecause `psqlcm` encrypts the password before storing it, you must set `PSQLCM_KEY` prior to running `login` and `show`.\n\n## Usage\n\n```\nNAME:\n   psqlcm - psql connection manager\n\nUSAGE:\n   psqlcm [global options] command [command options] \n\nCOMMANDS:\n   new                  New connection\n   list, ls             List all available connections\n   show                 Show a connection string\n   delete, del, remove  Remove a cached connection\n   set-current          Set a connection as current\n   help, h              Shows a list of commands or help for one command\n\nGLOBAL OPTIONS:\n   --help, -h  show help\n```\n\n### Add a connection\n\n```\n$ psqlcm new\n🖥️  Hostname [localhost]: 127.0.0.1\n🌐 Port [5432]: \n📝 Database [postgres]: mydb1\n🔨 User [postgres]: myuser1\n🔑 Password: \n🔒 SSL mode [require]: disable\n\n📕 Connection name [pg1715219721581]: my-connection1\n⚡ Test connection [Y/n]: n\nConnection saved!\n```\n\n*Note: The password is encrypted and cached locally. The plaintext password is never stored.*\n\n### List all connections\n\n```\n$ psqlcm ls\nnew-connection1\n```\n\n### Show a connection string\n\n```\n$ psqlcm show new-connection1\npostgresql://user1:mysecretpassword@host1:5432/db1\n```\n\n### Delete a connection\n\n```\n$ psqlcm delete new-connection1\nConnection \"new-connection1\" deleted\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrstringer%2Fpsqlcm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrstringer%2Fpsqlcm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrstringer%2Fpsqlcm/lists"}