qute-1password/README.md

49 lines
1.3 KiB
Markdown
Raw Normal View History

2019-10-11 20:58:20 +00:00
# Qute-1Password
2019-10-11 09:44:05 +00:00
2019-10-11 20:58:20 +00:00
Qutebrowser userscript to fill 1password credentials
![Oh, stop it! you...](.readme/stopityou.png)
## Dependencies
- [The 1Password CLI](https://support.1password.com/command-line-getting-started/)
Ensure you have it installed and set up. Follow the official documentation.
- [rofi](https://github.com/davatorium/rofi) to ask for password and list items
## Usage
Right now it defaults to the `my` account, will be configurable in the future.
```
./qute_1pass.py --help
usage: qute_1pass.py [-h] [--auto-submit] [--cache-session] command
positional arguments:
2021-02-01 07:45:58 +00:00
command fill_credentials, fill_totp, fill_username, fill_password
2019-10-11 20:58:20 +00:00
optional arguments:
-h, --help show this help message and exit
--auto-submit Auto submit after filling
--cache-session Cache 1password session for 30 minutes
```
Call your script from qutebrowser using
```
:spawn --userscript path/to/qute_1pass.py fill_credentials
```
## Contributing
In this project we use Poetry_ to manage the python dependencies and virtual environments. Make sure you have it installed before continuing.
Use this command to create the virtualenv, install dev-dependencies and
install the pre-commit hook.
``` bash
make setup
```
After you make your desired changes, open a merge request and I will review it as soon
as I can.