npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

secman

v6.1.3

Published

The command-line interface of Secman

Downloads

54

Readme

Secman Products


secman is a password manager can store, retrieves, generates, and synchronizes passwords, and is written in TypeScript! The most important difference is secman is not GPG cored. Instead, it uses a master password to securely store your passwords. and you can easily manage your passwords from everywhere.

Features

  • Not GPG cored.
  • It uses a master password to securely store your passwords.
  • It syncs your passwords.
  • Easy to use.
  • It is written in TypeScript.
  • You can easily manage your passwords from everywhere, desktop, web, terminal, and more.

Examples

Initialize ~/.secman

secman init

Authenticate

secman auth

# with one command
secman auth --username EMAIL --password MASTER_PASSWORD

# read the master password from stdin
cat password.txt | secman auth -u EMAIL --password-stdin

Create a new password

secman new -l

✔ Title › Twitter
✔ URL › https://twitter.com
✔ Username › _secman
✔ Password › *********
✔ Extra › no extra

Password created

List passwords

secman .
.
├──Logins
│  └──Twitter
├──Credit Cards
├──Emails
├──Notes
└──Servers

Read It

secman read -l Twitter

╭─────────┬─────────────────────┬──────────────────┬───────────┬──────────╮
│ Title   │ URL                 │ Username         │ Password  │ Extra    │
├─────────┼─────────────────────┼──────────────────┼───────────┼──────────┤
│ Twitter │ https://twitter.com │ [email protected] │ ••••••••• │ no extra │
╰─────────┴─────────────────────┴──────────────────┴───────────┴──────────╯

show password

secman read -lp Twitter

╭─────────┬─────────────────────┬──────────────────┬───────────┬──────────╮
│ Title   │ URL                 │ Username         │ Password  │ Extra    │
├─────────┼─────────────────────┼──────────────────┼───────────┼──────────┤
│ Twitter │ https://twitter.com │ [email protected] │ hitwitter │ no extra │
╰─────────┴─────────────────────┴──────────────────┴───────────┴──────────╯

Edit password field

secman edit -l Twitter

? Pick a field › - Use arrow-keys. Return to submit.
❯   Title
    URL
    Username
    Password
    Extra

edit multiple fields

secman edit -lm Twitter

? Pick a field ›
? Pick a field ›
Instructions:
    ↑/↓: Highlight option
    ←/→/[space]: Toggle selection
    a: Toggle all
    enter/return: Complete answer
◯   Title
◉   URL
◯   Username
◯   Password
◉   Extra

Installation ⬇

Using npm

npm i -g secman

(Windows): if you get an error you might need to change the execution policy (i.e. enable Powershell) via

Set-ExecutionPolicy RemoteSigned -scope CurrentUser

Using Homebrew (macOS and Linux)

brew tap scmn-dev/secman
brew install secman

Using script (Ubuntu/Debian)

curl -sL https://cli.secman.dev | bash

Via Docker

secman cli image

docker run -it smcr/secman-cli

see secman cli docs

secman container image

docker run -it smcr/secman

see secman container docs

Build from source

see building from source doc.

Getting started with secman

Initializing

secman init

Authenticate

secman auth

Insert a New Password

secman insert --[PASSWORD_TYPE]

List Passwords

secman .

Read The Password

secman read --[PASSWORD_TYPE] <PASSWORD_NAME>

Edit Password

secman edit --[PASSWORD_TYPE] <PASSWORD_NAME>

Generate

secman generate

Edit Settings

secman settings

see commands

License

secman is licensed under the terms of MIT License

Some Resources

Contributing

Thanks for your interest in contributing to secman . You can start a development environment with gitpod:

open in gitpod

Code Status

CodeQL Secman CI Secman Docker CI Codacy grade

Stargazers over time

Stargazers over time