{"id":15377741,"url":"https://github.com/paulovitin/twofa","last_synced_at":"2025-09-20T23:32:53.327Z","repository":{"id":57382997,"uuid":"127676884","full_name":"paulovitin/twofa","owner":"paulovitin","description":"Two Factor Authentication Generator for CLI","archived":false,"fork":false,"pushed_at":"2020-10-22T20:19:43.000Z","size":23,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-03T13:06:52.810Z","etag":null,"topics":["cli","cli-app","javascript","nodejs","qrcode","two-factor-authentication","twofactor"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/paulovitin.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}},"created_at":"2018-04-01T22:35:52.000Z","updated_at":"2024-04-11T01:56:55.000Z","dependencies_parsed_at":"2022-09-26T19:52:32.909Z","dependency_job_id":null,"html_url":"https://github.com/paulovitin/twofa","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulovitin%2Ftwofa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulovitin%2Ftwofa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulovitin%2Ftwofa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulovitin%2Ftwofa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paulovitin","download_url":"https://codeload.github.com/paulovitin/twofa/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233694812,"owners_count":18715506,"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":["cli","cli-app","javascript","nodejs","qrcode","two-factor-authentication","twofactor"],"created_at":"2024-10-01T14:13:39.348Z","updated_at":"2025-09-20T23:32:48.061Z","avatar_url":"https://github.com/paulovitin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# twofa\n\u003e Two Factor Authentication Generator for CLI\n\n[![npm version](https://img.shields.io/npm/v/twofa.svg?style=flat-square)](https://www.npmjs.com/package/twofa)\n[![Build Status](https://img.shields.io/travis/paulovitin/twofa/master.svg?style=flat-square)](https://travis-ci.org/paulovitin/twofa)\n[![AppVeyor](https://img.shields.io/appveyor/ci/paulovitin/twofa.svg?style=flat-square\u0026logo=appveyor)](https://ci.appveyor.com/project/paulovitin/twofa)\n[![Coverage Status](https://img.shields.io/coveralls/paulovitin/twofa/master.svg?style=flat-square)](https://coveralls.io/github/paulovitin/twofa?branch=master)\n\n## Install\n\n```\n$ npm install -g twofa\n```\n\n## Usage\n\n```\n$ twofa --help\n\nUsage: twofa [options] [command]\n\n  Options:\n\n    -h, --help               output usage information\n\n  Commands:\n\n    add [options] \u003cservice\u003e  Add a new service to generate authentication code\n    del \u003cservice\u003e            Delete a service registered\n    gen [service]            Generate authentication code\n    qrcode \u003cservice\u003e         Generate qrcode from a service\n```\n\n## Commands\n\n\n### add service-name [--image=qrcode]\n\nRegister a new service using a screencapture or pass optionaly a image path\n\n```shell\n$ twofa add github # use the mouse to capture a qrcode area\n```\nOr\n```\n$ twofa add github --image githubqrcode.png\n```\n\n### del service-name\n\nDelete a registered service\n\n```shell\n$ twofa del github\n```\n\n### gen [service-name]\n\nGenerate the Authentication code from a service\n\n```shell\n$ twofa gen github // the code goes to your clipboard\n```\n\nOr generate a list of registered codes omitting the service-name\n\n```shell\n$ twofa gen\n```\n\n### qrcode service-name\n\nGenerate a qrcode from a service. This can be helpful to register the same qrcode in another application for generate authentication codes\n\n```shell\n$ twofa qrcode github\n```\n\nThats it...","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaulovitin%2Ftwofa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaulovitin%2Ftwofa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaulovitin%2Ftwofa/lists"}