Giter Site home page Giter Site logo

krunner-keepassxc's Introduction

krunner-keepassxc

A small krunner plugin to copy keepassxc entries to clipboard using its Freedesktop.org Secret Service dbus integration. Basically, type something into krunner and the plugin will suggest matching keepassxc entries to copy. Requires xclip or xsel to be installed for copying to clipboard, keepass has to be configured for secret service access (in both general and database settings). Requires at least Python3.5, running the .pyz file requires python 3.6.

quick start from the KDE store

Soon you should be able to install the plugin through the krunner settings, until then you can find it on the web store Download the archive, extract and run the install.sh, which should get everything up and running without doing anything else.

more manual ways of getting started

start using pex or pyz file

Just download krunner-keepassxc.pex or krunner-keepassxc.pyz and you're good to go!
They are executable files you can just run

$ ./krunner-keepassxc.pex	# or do $ python krunner-keepassxc.pex
$ ./krunner-keepassxc.pyz	# or do $ python krunner-keepassxc.pyz

start using pip

this will pull the files and dependencies (dbus-python, cryptography) into your global python installation

$ sudo pip3 install https://github.com/naglfar/krunner-keepassxc/releases/download/1.4.0/krunner_-_keepassxc-1.4.0-py3-none-any.whl
# see if it works:
$ python3 -m krunner-keepassxc -l  # should list all the password labels in your database
$ python3 -m krunner-keepassxc run  # will start the dbus service for communicating with krunner

using poetry

mostly for development

$ git clone [email protected]:naglfar/krunner-keepassxc.git
$ cd krunner-keepassxc
$ poetry install
$ poetry run -l # should list all the password labels in your database

installing the krunner plugin

copy install/krunner-keepassxc.desktop to ~/.local/share/kservices5/
after this krunner-keepassxc should already show up in krunner plugins but might require a reboot to actually work

running the script in background / on startup

via autostart

edit install/krunner-keepassxc_autostart.desktop and uncomment your scenario,
then copy to ~/.config/autostart/

via systemd

edit install/krunner-keepassxc.service and uncomment your scenario,
then copy to ~/.config/systemd/user/

$ systemctl --user enable krunner-keepassxc && systemctl --user start krunner-keepassxc

krunner-keepassxc's People

Contributors

naglfar avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.