{"id":17492159,"url":"https://github.com/chunkhang/simple-totp","last_synced_at":"2026-01-31T15:00:54.636Z","repository":{"id":57467705,"uuid":"340939263","full_name":"chunkhang/simple-totp","owner":"chunkhang","description":"A simple TOTP CLI","archived":false,"fork":false,"pushed_at":"2024-10-13T16:40:06.000Z","size":84,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T20:07:43.010Z","etag":null,"topics":["cli","otp","python","totp"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/simple-totp/","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/chunkhang.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2021-02-21T15:51:01.000Z","updated_at":"2024-10-13T16:40:10.000Z","dependencies_parsed_at":"2024-12-08T06:33:12.469Z","dependency_job_id":null,"html_url":"https://github.com/chunkhang/simple-totp","commit_stats":{"total_commits":41,"total_committers":1,"mean_commits":41.0,"dds":0.0,"last_synced_commit":"d3fddb4676a29da878af17e675e676db6690c9f1"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/chunkhang/simple-totp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chunkhang%2Fsimple-totp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chunkhang%2Fsimple-totp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chunkhang%2Fsimple-totp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chunkhang%2Fsimple-totp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chunkhang","download_url":"https://codeload.github.com/chunkhang/simple-totp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chunkhang%2Fsimple-totp/sbom","scorecard":{"id":282089,"data":{"date":"2025-08-11","repo":{"name":"github.com/chunkhang/simple-totp","commit":"d3fddb4676a29da878af17e675e676db6690c9f1"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-17T16:09:41.676Z","repository_id":57467705,"created_at":"2025-08-17T16:09:41.676Z","updated_at":"2025-08-17T16:09:41.676Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28946049,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T14:26:55.697Z","status":"ssl_error","status_checked_at":"2026-01-31T14:26:52.545Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["cli","otp","python","totp"],"created_at":"2024-10-19T08:23:34.648Z","updated_at":"2026-01-31T15:00:54.354Z","avatar_url":"https://github.com/chunkhang.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# simple-totp\n\n\u003e A simple TOTP CLI\n\nTired of fumbling around with Google Authenticator just to generate a simple\n[TOTP](https://en.wikipedia.org/wiki/Time-based_One-Time_Password) token? Well,\n`simple-totp` is the simplest TOTP CLI you will ever need. Just set it up once,\nand you are ready to go. `simple-totp` offers nothing fancy beyond printing out\nTOTP tokens on the terminal.\n\n## Demonstration\n\n![demonstration](./img/demo.gif)\n\n## Installation\n\nIt should be quite easy to install `simple-totp`, provided you have python \u003e= 3.\n\n```\npip install simple-totp\n```\n\n## Usage\n\nRunning `simple-totp` cannot be simpler.\n\n```\notp\n```\n\n## Configuration\n\n`simple-totp` reads from the configuration file in `~/.otp.yml` to\ngenerate TOTP tokens. All secrets are stored there as plain text, so\njust be mindful about it.\n\nHere is the minimal configuration needed to verify that `simple-totp`\nis working properly:\n\n```yaml\ntotp:\n  - secret: 7TO66UM5PZ2M5CB2GWZMYZX5YAVWATQX\n```\n\nTo generate multiple TOTP tokens with proper namespacing:\n\n```yaml\ntotp:\n  - issuer: google\n    name: test@example.com\n    secret: 7TO66UM5PZ2M5CB2GWZMYZX5YAVWATQX\n  - issuer: facebook\n    name: test@example.com\n    secret: HXDMVJECJJWSRB3HWIZR4IFUGFTMXBOZ\n```\n\nBy default, `simple-totp` generates 6-digit TOTP tokens where the\nrefresh interval is every 30 seconds. If you need to override this\nbehavior, you may try the following:\n\n```yaml\ntotp:\n  - issuer: google\n    name: test@example.com\n    secret: 7TO66UM5PZ2M5CB2GWZMYZX5YAVWATQX\n    digits: 10\n    interval: 60\n```\n\n\n## Development\n\nBefore developing, make sure [just](https://github.com/casey/just) is\ninstalled. This project uses `just` as the command runner instead of the\nusual `make`.\n\nStart a [virtualenv](https://pypi.org/project/virtualenv/) if needed. It is\nhighly recommended for development.\n\nInstall the dependencies for the project:\n\n```\njust setup\n```\n\nAfter that, install `simple-totp` in editable mode:\n\n```\njust install\n```\n\nNow, you can start developing. You can run the CLI directly:\n\n```\notp\n```\n\nDistribution can be done with:\n\n```\njust publish\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchunkhang%2Fsimple-totp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchunkhang%2Fsimple-totp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchunkhang%2Fsimple-totp/lists"}