Metadata-Version: 2.1
Name: twofas-cli
Version: 0.0.2
Summary: Unofficial CLI tool for 2FAS using the browser extension api
Home-page: https://packages.python.org/twofas-cli
Author: dspd
Author-email: inmost-chimps-0j@icloud.com
License: BSD
Keywords: 2fas twofas
Classifier: Development Status :: 4 - Beta
Classifier: Topic :: Utilities
Classifier: License :: OSI Approved :: BSD License
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE

# An unofficial command line interface for 2FAS

twofas-cli is an unofficial client for [2FAS](https://2fas.com) written in Python that can retrieve 2fa codes from your mobile device by
registering itself as a browser extensions. You can use it for scripting automatic logins to services that require a
second factor via TOTPs.

## Installation

Install via pip from PyPi:

```shell
pip install twofas-cli
```

## Usage

In order to use twofas-cli you need to have the 2FAS app installed on your mobile device.
Head over to [2fas.com](https://2fas.com) for instructions and a download link for your app store.

After installing 2fas on your mobile device and PC, register twofas-cli as a browser extension by running:

```shell
twofas-cli register
```

After running this command successfully you should see a directory containing a QR code image called 
`barcode.png`. Open it and scan it using your 2FAS app.

Afterward, you can type `twofas-cli get --help` to see the available options for retrieving 2fa codes.
