{"id":28591139,"url":"https://github.com/mojixcoder/otpgen","last_synced_at":"2025-06-11T09:13:19.317Z","repository":{"id":262793051,"uuid":"888369725","full_name":"mojixcoder/otpgen","owner":"mojixcoder","description":"A CLI apps to generate TOTP keys","archived":false,"fork":false,"pushed_at":"2024-11-14T09:34:05.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-25T05:43:57.683Z","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/mojixcoder.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-11-14T09:30:24.000Z","updated_at":"2024-11-14T09:34:09.000Z","dependencies_parsed_at":"2024-11-14T10:31:21.958Z","dependency_job_id":"9d7d8279-ce0a-4b22-9a90-ab71d1406e94","html_url":"https://github.com/mojixcoder/otpgen","commit_stats":null,"previous_names":["mojixcoder/otpgen"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mojixcoder%2Fotpgen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mojixcoder%2Fotpgen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mojixcoder%2Fotpgen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mojixcoder%2Fotpgen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mojixcoder","download_url":"https://codeload.github.com/mojixcoder/otpgen/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mojixcoder%2Fotpgen/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259236399,"owners_count":22826309,"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":"2025-06-11T09:13:14.036Z","updated_at":"2025-06-11T09:13:19.310Z","avatar_url":"https://github.com/mojixcoder.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# otpgen\n\nIn the company where I work at, I need OTP code to login almost everywhere.  \nI was tired of the Google Authenticator app, so I decided to write this small project to be able to generate OTPs on my laptop without having to check my phone.\n\n\n## Installing\n\nClone the project\n\n```bash\n  git clone https://github.com/mojixcoder/otpgen\n```\n\nGo to the project directory\n\n```bash\n  cd otpgen\n```\n\nBuild the project\n\n```bash\n  go build\n```\n\nMake it executable\n\n```bash\n  sudo mv ./otpgen /usr/local/bin    \n  sudo chmod +x /usr/local/bin/otpgen\n```\n\nPlace your configs at `/etc/otpgen/config.yaml`.  \nYou can add as many keys as you like.\n\n```yaml\nkeys:\n  gitlab:\n    secret: \"totp_secret_for_gitlab\"\n  vpn:\n    secret: \"totp_secret_for_vpn\"\n```\n\nGenerate an OTP for your VPN\n```bash\n$ otpgen vpn\n123456\n```\n\n## Exporting secrets from Google Authenticator \n\nTo export TOTP secrets from Google Authenticator, please follow the instructions in this [repo](https://github.com/krissrex/google-authenticator-exporter).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmojixcoder%2Fotpgen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmojixcoder%2Fotpgen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmojixcoder%2Fotpgen/lists"}