{"id":27974371,"url":"https://github.com/hbldh/termauth","last_synced_at":"2025-09-20T01:49:43.555Z","repository":{"id":145584044,"uuid":"106539875","full_name":"hbldh/TermAuth","owner":"hbldh","description":"TOTP Authenticator with configurable storage of tokens","archived":false,"fork":false,"pushed_at":"2025-04-23T21:43:26.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-30T18:06:30.594Z","etag":null,"topics":["authentication","otpauth"],"latest_commit_sha":null,"homepage":null,"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/hbldh.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-10-11T10:28:41.000Z","updated_at":"2025-04-23T21:43:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"5356f3c0-b210-48d3-a9fb-dfda14b1367f","html_url":"https://github.com/hbldh/TermAuth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hbldh/TermAuth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hbldh%2FTermAuth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hbldh%2FTermAuth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hbldh%2FTermAuth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hbldh%2FTermAuth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hbldh","download_url":"https://codeload.github.com/hbldh/TermAuth/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hbldh%2FTermAuth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276033022,"owners_count":25573468,"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-09-19T02:00:09.700Z","response_time":108,"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":["authentication","otpauth"],"created_at":"2025-05-08T00:14:15.685Z","updated_at":"2025-09-20T01:49:43.496Z","avatar_url":"https://github.com/hbldh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `hbldh` Authenticator\n\nA small wrapper around `pyotp` to provide tailored\nstorage of Authenticator tokens.\n\nThe tokens are intended to be stored on an encrypted partition or similar,\nenabling this authenticator to be used as a backup for the mobile-based one.\nIt can also be used to provision a new\n## Installation\n\n```bash\n$ pip install git+https://github.com/hbldh/termauth.git@master\n```\n\n## Usage\n\nBy default, `termauth` looks for a config file at `~/.hbldhauth`,\ncontaining the path to the actual file containing the tokens to be\nused for Authenticator code generation.\n\nSample tokens file:\n```text\nGithub|account_name: abcdefghijklmnop\nDiscord|account_email: abcd efgh ijkl mnop\nSentry|account_email: ABCD EFGH IJKL MNOP QRST UVWX YZ23 4567\n```\n\n### `termauth` Usage\n\n`termauth` is a Textual application \nthat provides a terminal-based user interface for\ngetting TOTP codes.\n\n```powershell\ntermauth\n```\n\nThis will show a list of all tokens in the file, and you can see the\nTOTP codes for each token.\n\n### `hbldhauth` Usage\n\nRun `hbldhauth`:\n```bash\n$ hbldhauth\n--- hbldh Authenticator ---\nValid for 17 seconds...\n\nGithub (account_name): 998 725\nDiscord (account_email): 998 725\nSentry (account_email): 362 213\n```\n\n### Display QR codes\n\nTo display a web page with all QR codes for provisioning e.g. a new phone,\nrun\n\n```\n$ hbldhauth --qr\n--- hbldh Authenticator ---\nGenerating QR code page at C:\\Users\\henri\\AppData\\Local\\Temp\\tmpvyx1wlan.html...\nDeleted QR code web page.\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhbldh%2Ftermauth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhbldh%2Ftermauth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhbldh%2Ftermauth/lists"}