{"id":29969464,"url":"https://github.com/gabocapo/gdkg","last_synced_at":"2025-08-04T04:08:01.015Z","repository":{"id":306726757,"uuid":"1026928548","full_name":"GaboCapo/gdkg","owner":"GaboCapo","description":"Go Deploy Key Gen - Secure deploy key generator built with Go","archived":false,"fork":false,"pushed_at":"2025-07-27T07:00:18.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-27T09:04:40.184Z","etag":null,"topics":["cli","deploy-keys","github","go"],"latest_commit_sha":null,"homepage":"","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/GaboCapo.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,"zenodo":null}},"created_at":"2025-07-26T23:33:14.000Z","updated_at":"2025-07-27T07:00:21.000Z","dependencies_parsed_at":"2025-07-27T09:04:42.571Z","dependency_job_id":"fc4a23af-a1e8-4ce1-916e-b00bb9e997d0","html_url":"https://github.com/GaboCapo/gdkg","commit_stats":null,"previous_names":["gabocapo/gdkg"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/GaboCapo/gdkg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaboCapo%2Fgdkg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaboCapo%2Fgdkg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaboCapo%2Fgdkg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaboCapo%2Fgdkg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GaboCapo","download_url":"https://codeload.github.com/GaboCapo/gdkg/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaboCapo%2Fgdkg/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268648067,"owners_count":24284176,"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-08-04T02:00:09.867Z","response_time":79,"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":["cli","deploy-keys","github","go"],"created_at":"2025-08-04T04:08:00.337Z","updated_at":"2025-08-04T04:08:01.004Z","avatar_url":"https://github.com/GaboCapo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg width=\"1280\" height=\"640\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/33d54d7a-bf54-499c-87ed-b138971503da\" /\u003e\n\n# 🔐 gdkg - Go Deploy Key Generator\n\n`gdkg` is a lightweight Go CLI tool for securely generating, managing, and revoking **SSH Deploy Keys** for GitHub repositories.\nIt automates deploy key workflows and ensures a clean, secure setup.\n\n---\n\n## ✨ Features\n\n- ✅ Generate SSH deploy keys with a single command\n- 🔁 Cleanly revoke deploy keys (including SSH config cleanup)\n- 🔒 Uses modern `ed25519` keys\n- 🧰 CLI mode and interactive TUI\n- 📦 Small, portable binary with no dependencies\n- ⚙️ Compatible with CI/CD pipelines and personal projects\n\n---\n\n## 📦 Installation / Run\n\n### From source (if you want to develop or test it)\n\n\u003e Requires Go 1.20\n\n```\ngit clone https://github.com/GaboCapo/gdkg.git\n```\n\n```\ncd gdkg\n```\n\n```\n./build.sh\n```\n\nBinary will be available as `./gdkg`.\n\n### Run from Releases (if you want to use it right away without development)\n\nDownload the appropriate binary for your platform from the [Releases](https://github.com/GaboCapo/gdkg/releases) section and place it in a directory of your choice.\n\n\u003e **Note:** This is a console-based CLI tool and must be executed from a terminal or command prompt. Double-clicking will not work.\n\n#### Example (Linux):\n\n1. **Make the binary executable:**\n\n```bash\nchmod +x gdkg-v1.0.0-linux-amd64\n```\n\n2. **Run the application via terminal:**\n\n```bash\n./gdkg-v1.0.0-linux-amd64\n```\n\n3. **Console output will look like this:**\n\n```text\n=== GitHub Deploy Key Generator ===\n1: Generate deploy key\n2: Remove deploy key\n3: Quit\nPlease select an option:\n```\n\n\n---\n\n## 🚀 Usage\n\n### Interactive mode\n\n```\n./gdkg\n```\n\nMenu guides you through:\n\n- [1] Generate new deploy key\n- [2] Revoke existing key\n- [3] Exit\n\n\n## 📁 File structure\n\nDefault storage: `~/.ssh/gdkg`\n\n```\n~/.ssh/gdkg/\n├── config                   # SSH config file with host entries\n├── my-repo_deploy-key       # Private key\n└── my-repo_deploy-key.pub   # Public key (for GitHub)\n```\n\n`config` updates automatically on key creation.\n\n---\n\n## 🔐 Security\n\n- Ed25519 keys\n- Deploy keys separated from main SSH folder\n- SSH config only updated with necessary entries\n- No data sent externally\n\n---\n\n## 📜 License\n\nMIT License © [GaboCapo](https://github.com/GaboCapo)\n\n---\n\n## 🧠 Credits\n\nBuilt to automate GitOps workflows no manual copy-paste needed. \n\n🔐 This repo is pushed with a deploy key generated by this tool\n\nMade with ❤️ in Go.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabocapo%2Fgdkg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgabocapo%2Fgdkg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabocapo%2Fgdkg/lists"}