2018-03-17 11:02:51 +01:00
[](https://hosted.weblate.org/engage/gnome-twofactorauth/?utm_source=widget)  [](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
2016-06-19 15:35:36 +02:00
### 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+`
2016-12-13 00:26:54 +01:00
- `ninja`
2017-01-12 22:49:00 +01:00
- `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
2017-09-16 14:15:40 +02:00
< sub >
PS: The application was only tested on Arch with Gtk 3.20+, but it should work nicely with older versions too. Keyboard shortcuts widget won't be shown for older versions.
< / sub >
2016-05-30 22:18:39 +02:00
2016-05-27 14:31:04 +02:00
### Screenshots
2018-03-16 12:49:51 +01:00
< img src = "data/screenshots/screenshot1.png" width = "280" / > < img src = "data/screenshots/screenshot4.png" width = "280" / > < br >
< img src = "data/screenshots/screenshot2.png" width = "280" / > < img src = "data/screenshots/screenshot3.png" width = "280" / >
2016-05-27 14:31:04 +02:00
2016-06-21 21:24:10 +02:00
### Features
2017-09-16 14:15:40 +02:00
2016-06-21 21:24:10 +02:00
- QR code scanner
- Beautiful UI
- Huge database of (290+) websites/applications
2016-05-31 20:21:43 +02:00
2016-05-27 14:56:58 +02:00
### Credits
2017-09-16 14:15:40 +02:00
2016-05-27 14:56:58 +02:00
- Websites and application icons are from Paper theme, created by [Sam Hewitt ](https://github.com/snwh )
2018-03-16 04:12:49 +01:00
- Applications/Websites database are from [Authenticator ](https://github.com/2factorauth/Authenticator ), by 2factorauth team
2016-05-27 14:56:58 +02:00
2016-05-31 20:21:43 +02:00
### How to build from source
2017-09-16 14:15:40 +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
2017-02-04 19:45:46 +01:00
sudo pip install pyotp zbarlight 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
2016-06-21 21:16:44 +02: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