Skip to content

th0mcat/hibpwned-console

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hibpwned-console

A terminal client for https://github.com/plasticuproject/hibpwned

Installation

· Clone the repo.

user@host:~$ git clone https://github.com/th0mcat/hibpwned-console
user@host:~$ cd hibpwned-console

· (Optional) Create a virtual environment

user@host:~$ virtualenv -p /usr/bin/python3 .venv
user@host:~$ source .venv/bin/activate

· Install the dependencies.

user@host:~$ pip install -r requirements.txt

· Set API key in global environment (and, optionally, the app_name.)

user@host:~$ export HIBP_API_KEY=<api_key> [HIBP_APP=<app_name>] 

· Run the program.

user@host:~$ python3 hibpwned-console.py

Roadmap

Eventually, this will be used to create a maubot plugin and/or an opsdroid skill.