Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 5 days ago
JSON representation

a cli tool to store encrypted values in a json file and easily get them out again

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 │ [email protected]
├─────────────────┼─────────────┼──────────────────┤
│ instagram │ foobar │ [email protected]
├─────────────────┼─────────────┼──────────────────┤
│ rd.io │ music │ [email protected]
├─────────────────┼─────────────┼──────────────────┤
│ reddit │ crap │ [email protected]
├─────────────────┼─────────────┼──────────────────┤
│ speakerdeck.com │ slides │ [email protected]
├─────────────────┼─────────────┼──────────────────┤
│ typography.com │ pretty │ [email protected]
└─────────────────┴─────────────┴──────────────────┘
```

## 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"]
}
```