Skip to content

FLink TOTP a generator of Family link codes using TOTP generation.

Notifications You must be signed in to change notification settings

kipruun/FLink-TOTP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Family TOTP generator

Thanks to Rifting for the method. (post used)


CLI:

Installation:

$ git clone https://github.com/kipruun/FLink-TOTP.git
$ python -m pip install pytz pyotp colorama

Usage:

$ cd FLink-TOTP
$ python cli-flink.py
          ___ _ _       _      _____  ___  _____  ___ 
         / __\ (_)_ __ | | __ /__   \/___\/__   \/ _ \
        / _\ | | | '_ \| |/ /   / /\//  //  / /\/ /_)/
       / /   | | | | | |   <   / / / \_//  / / / ___/ 
       \/    |_|_|_| |_|_|\_\  \/  \___/   \/  \/
      
      Creator: Kipruun
      This module generates TOTP codes for a given secret key.
      Please reffer to the documentation for more information.
      
      [0] - Generate codes for all hours of the current day
      [1] - Generate code for the current hour
      [2] - Configuration
      [3] - Exit
      ...

Configuration menu:

      Configuration Menu
      [0] - Show config
      [1] - Change timezone
      [2] - Change token  

Serveur (server.py)

Instalation (local)

  1. Go to the script folder
  2. Change config (config-server.json). Configure the token and the timezone
  3. Make sure the file totp.py is present
  4. Open CMD and type this : python -m pip install flask fpdf pytz pyotp
  5. Start server.py

Installation (PythonAnywhere)

  1. Create an account
  2. Go to your web app
  3. Select the file which follows WSGI configuration file
  4. Replace with the code presents in server.py file
  5. Create an environement and set it up. Install dependecies.
  6. Make sure totp.py is in the same directory as server.py
  7. Reload app

Config file format:

Name of file : config.json / config-server.json

{
 "token": "YOUR_SECRET",
 "timezone": "Europe/Paris"
}

Sorry I'm not an english so that means there are many errors.

About

FLink TOTP a generator of Family link codes using TOTP generation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages