Skip to content

Gonzih/keepass-httpd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Keepass-HTTPD License

Serve your keepass file via http api

Not for production use yet

Installation

go get github.com/Gonzih/keepass-httpd

Usage

Start the server

$ keepass-httpd --keepass-file /path/to/file.kdbx --http-port 8080

Currently you always have to initialize db via http call

$ curl --form "password=mysecret" "http://localhost:8080/reload"
> {"status":"success"}

Search endpoint uses logical AND for parameters to search

$ curl "http://localhost:8080/search?title=entrytitle&url=url.com&username=myusername"
> {"username":"myusername","title":"entrytitle","password":"securepassword","url":"url.com"}

Re-read DB file from the disk to memory

$ curl --form "password=mysecret" "http://localhost:8080/reload"
> {"status":"success"}

To see all command line arguments run

keepass-httpd --help

Releases

No releases published

Packages

No packages published

Languages