https://github.com/heapwolf/pxx
a cli tool to store encrypted values in a json file and easily get them out again
https://github.com/heapwolf/pxx
Last synced: about 1 year ago
JSON representation
a cli tool to store encrypted values in a json file and easily get them out again
- Host: GitHub
- URL: https://github.com/heapwolf/pxx
- Owner: heapwolf
- Created: 2015-03-01T23:01:31.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2016-05-25T18:41:41.000Z (about 10 years ago)
- Last Synced: 2025-04-22T22:16:58.810Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 4.88 KB
- Stars: 40
- Watchers: 6
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SYNOPSIS
Store encrypted values in a json file.
# USAGE
```bash
npm install pxx -g
```
## LIST ALL ITEMS
Provides a nice ascii table that shows the meta data for the contents
of the database.
```bash
pxx
```
```
┌─────────────────┬─────────────┬──────────────────┐
│ Key │ Description │ Email │
├─────────────────┼─────────────┼──────────────────┤
│ foobar │ whatever │ foobar@gmail.com │
├─────────────────┼─────────────┼──────────────────┤
│ instagram │ foobar │ paolo@async.ly │
├─────────────────┼─────────────┼──────────────────┤
│ rd.io │ music │ paolo@gmail.com │
├─────────────────┼─────────────┼──────────────────┤
│ reddit │ crap │ paolo@async.ly │
├─────────────────┼─────────────┼──────────────────┤
│ speakerdeck.com │ slides │ paolo@async.ly │
├─────────────────┼─────────────┼──────────────────┤
│ typography.com │ pretty │ paolo@async.ly │
└─────────────────┴─────────────┴──────────────────┘
```
## READ AN ITEM
Prompts you for the master password and then provides the decrypted data.
```bash
pxx
```
## CREATE AN ITEM
Asks a series of questions about what you want to save to the database.
```bash
pxx --create
```
## DELETE AN ITEM
Completely remove an item from the database.
```bash
pxx --delete
```
## UPDATE AN ITEM
To do... something like...
```
pxx --update
```
# CONFIG
Create an `rc` file that points to a sync'd directory. The `columns` array
represents arbitrary fields that will be stored with the encrypted data.
They can help you describe the data and are displayed when listing the
contents of the database.
```json
{
"syncdir": "/Users/username/Google Drive/pxx",
"algorithm": "aes-256-ctr",
"columns": ["Key", "Description", "Email"]
}
```