Open serapath opened 9 years ago
Is there some documentation how those work?
That needs work, in particular improving the --help output to something that is easier to understand and generating a nice man page.
Basic usage is as follows:
/t/passcards-test > passcards -v $HOME/Dropbox/Passcards/Passcards.agilekeychain list
Master password:
google.co.uk (Login, E1DB)
1 matching item(s) in vault
/t/passcards-test > passcards -v $HOME/Dropbox/Passcards/Passcards.agilekeychain show google
google.co.uk (Login)
Info:
ID: E1DB9D260CFA42B3B4CA3B86210BC500
Updated: Sun Mar 15 2015 19:46:45 GMT+0000 (GMT)
Location: https://www.google.co.uk/?gfe_rd=cr&ei=tMtfVM6VBcuq8weq-IDADQ
Sections:
a new section
new password: eL8-qwL-fGBG
Websites:
website: https://www.google.co.uk/?gfe_rd=cr&ei=tMtfVM6VBcuq8weq-IDADQ
Form Fields:
username (0): jim.smith@smith.com
password (1): V4A-i74-Vn65
/t/passcards-test >
make all make: *\ No rule to make target
node_modules/dropbox/package.json', needed by
node_modules/dropbox/lib/dropbox.js'. Stop.Would also be great to utilize stored passwords in other node programs by var passcards = require('passcards') and then using the passcards API to control all my credentials
Passcards APIs are not stable at the moment, but it is possible to use them in other projects, for example with:
require('es6-collections');
var node_fs = require('passcards/build/lib/vfs/node');
var agile_keychain = require('passcards/build/lib/agile_keychain');
var fs = new node_fs.FileVFS('/home/yourname');
var vault = new agile_keychain.Vault(fs, 'Dropbox/1Password/1Password.agilekeychain');
vault.unlock('<INSERT PASSWORD>').then(function() {
return vault.listItems();
}).then(function(items) {
console.log('There are %d items in your vault', items.length);
}).done();
The instructions for developing the app locally were missing the npm install
command which should build the Dropbox library. See https://github.com/robertknight/passcards/blob/master/README.md#development
I installed the chrome extension and it works. I installed the module from npm
npm install passcards
but don't know how to use it and couldn't find documentation.Later, i found
npm install passcards -g
on the projects website, but it's unclear to me how to use it exactly... $>passcards
Is there some documentation how those work?
I then tried to access the website from a locally running server, using
http-server
, but I get a blank page.$>
http-server
But navigating to
http://0.0.0.0:8080/webui/index.html
gives me a blank page which containsand the only error in the terminal is:
There is no 'dist' folder and the
make all
gives meI would prefer running something like $>
passcards --serve
and instead of
make all
maybe there could benpm run build
instead?Would also be great to utilize stored passwords in other node programs by
and then using the
passcards
API to control all my credentialsIt would also be nice, if I could store my data locally instead of using dropbox (maybe I can) and configure the
browser extension
to make use of my local server running