Authenticator/README.md

83 lines
2.1 KiB
Markdown
Raw Normal View History

[![Translation status](https://hosted.weblate.org/widgets/authenticator/-/svg-badge.svg)](https://hosted.weblate.org/engage/authenticator/?utm_source=widget) [![Version](https://img.shields.io/badge/version-0.2.1-green.svg)](https://github.com/bilelmoussaoui/Authenticator/releases)
2017-04-01 14:05:10 +03:00
2018-03-16 04:12:49 +01:00
# Authenticator
2018-03-16 04:14:36 +01:00
<img src="https://raw.githubusercontent.com/bilelmoussaoui/Authenticator/master/data/icons/hicolor/256x256/apps/com.github.bilelmoussaoui.Authenticator.png" width="128" height="128" />
2016-06-23 01:11:40 +02:00
<p>Two-factor authentication code generator for Gnome. Created with love using Python and Gtk.</p>
2017-04-01 14:02:11 +03:00
2018-03-19 23:17:41 +01:00
## Screenshots
<img src="data/screenshots/screenshot1.png" width="280" /> <img src="data/screenshots/screenshot2.png" width="280" /> <img src="data/screenshots/screenshot3.png" width="280" />
2018-03-19 23:17:41 +01:00
## Features
- QR code scanner
- Beautiful UI
- Huge database of (290+) websites/applications
## Installation
### Flatpak
You can install the flatpak package of the application from flathub using
2018-03-19 23:17:41 +01:00
```
flatpak install flathub com.github.bilelmoussaoui.Authenticator
```
### Building from source code
#### Dependecies
2017-04-01 14:02:11 +03:00
2016-05-27 14:56:58 +02:00
- `Python 3.3+`
2016-05-31 02:15:30 +02:00
- `Gtk 3.16+`
2017-09-16 13:35:18 +02:00
- `meson 0.38+`
- `ninja`
- `pyotp`
- `Pillow`
2018-03-16 20:28:49 +01:00
- `pyzbar` depends on `zbar`
2017-09-16 14:15:40 +02:00
- `libzbar-dev` on Ubuntu
- `zbar` on Arch
2018-03-16 14:01:30 +01:00
- `libsecret`
2016-06-21 03:19:50 +02:00
- `gnome-screenshot`
2016-05-27 14:56:58 +02:00
2016-05-27 14:31:04 +02:00
1 - Clone the repository
2017-09-16 14:15:40 +02:00
2016-05-27 14:31:04 +02:00
```bash
2018-03-16 04:12:49 +01:00
git clone https://github.com/bilelmoussaoui/Authenticator && cd ./Authenticator
2016-05-27 14:31:04 +02:00
```
2017-09-16 14:15:40 +02:00
2016-06-28 02:39:47 +02:00
2 - Install Python dependecies
2017-09-16 14:15:40 +02:00
2016-05-27 14:56:58 +02:00
```bash
2018-03-19 23:17:41 +01:00
sudo pip install pyotp pyzbar pyaml Pillow meson ninja
2016-05-27 14:56:58 +02:00
```
2017-09-16 14:15:40 +02:00
2016-05-27 20:33:00 +02:00
<sub>PS : In some distributions you will need to use `pip3` instead of `pip` to install the compatible version of the package with Python 3.</sub> <br>
2017-09-16 14:15:40 +02:00
2016-06-28 02:39:47 +02:00
3 - Afterwards
2017-09-16 14:15:40 +02:00
2016-05-27 14:31:04 +02:00
```bash
2017-09-16 14:15:40 +02:00
meson builddir
sudo ninja -C builddir install
2016-05-27 14:31:04 +02:00
```
2017-09-16 14:15:40 +02:00
2016-06-28 02:39:47 +02:00
4 - You can run the application from the desktop file or from terminal using
2016-05-27 14:56:58 +02:00
```bash
2018-03-16 04:12:49 +01:00
authenticator
2016-05-31 22:08:35 +02:00
```
2017-09-16 14:15:40 +02:00
2018-03-19 23:17:41 +01:00
## Flags
2017-09-16 14:15:40 +02:00
- `--debug`
Open the application with debug flags
- `--version`
Shows the version number of the application
- `--about`
Shows the about dialog
2018-03-19 23:17:41 +01:00
## Credits
2018-03-24 10:42:03 +00:00
- Applications/Websites database are from [twofactorauth](https://github.com/2factorauth/twofactorauth), by 2factorauth team