GithubHelp home page GithubHelp logo

p's Introduction

p

A simple password management tool. Passwords are stored as plain text files in a directory of your choosing. Your password directory is then easily managed using p.

Install

Clone the repository and run stack install. Alternatively, a macOS build is available in dist/.

Basic usage

First of all, create a directory where you want your passwords to be stored and then create a file called .pconfig.json in your home directory with the following contents:

{
    "passwordsPath": "[your directory path here]"
}

To see a list of what you can do, just type p:

$ p
p is a simple password management tool

Usage: p COMMAND
  p

Available options:
  -h,--help                Show this help text

Available commands:
  gen                      Generates a new password
  cat                      Prints a password
  get                      Copies a password to the clipboard
  ls                       Lists all password domains
  rm                       Removes a password domain

Type p gen to generate a password and copy it to the clipboard, without saving the password anywhere.

$ p gen
Generated password: C-yMSH5i!0K1iL,P?wB8
Password was copied to clipboard

To save the password, give it a name:

$ p gen gmail
Password written to /Users/JohnDoe/passwords/gmail
Generated password: $!;J;^npqA(_6RjY2z>V
Password was copied to clipboard

Some commands have extra options. Type --help after a command to learn more about it.

License

MIT

p's People

Contributors

msvbg avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

p's Issues

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.