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

autho

v0.1.1

Published

Open Source Authentication and Password Management Tool

Downloads

25

Readme

Autho: Open Source Authentication and Password Management Tool

Autho is an open-source, self-hosted alternative to services like Authy, providing One-Time Password (OTP) generation and password management functionalities. With Autho, users can securely manage their authentication tokens and passwords while maintaining full control over their data.

Features

  • OTP Generation: Autho allows users to generate One-Time Passwords (OTPs) for two-factor authentication (2FA) using industry-standard algorithms.

  • Password Management: Autho provides a secure vault for users to store and manage their passwords, ensuring easy access and strong encryption.

  • Self-Hosted: Autho can be self-hosted, giving users complete control over their data and eliminating reliance on third-party services.

  • Open Source: Autho is open-source software, allowing users to inspect, modify, and contribute to its codebase, ensuring transparency and security.

Installation

To install Autho globally, use npm:

npm install -g autho

Getting Started

  1. Setting Up Autho: After installation, run the autho command to set up Autho for the first time. Follow the on-screen instructions to configure your master password and other settings.

  2. Generating OTPs: Use Autho to generate OTPs for your accounts by providing the associated account name or label. Autho will generate a time-based OTP using a secure algorithm.

  3. Managing Passwords: Autho provides a secure vault for storing and managing your passwords. You can add, view, update, and delete passwords using the CLI interface.

  4. Secure files: Autho offers a reliable method for encrypting and decrypting files, ensuring their security and integrity.

  5. Self-Hosting: If you prefer self-hosting, deploy Autho on your own server by following the instructions provided in the documentation. (TBD)

Security Considerations

  • Encryption: Autho employs strong encryption algorithms to protect user data, ensuring that passwords and OTPs are securely stored.

  • Master Password: Users are required to set a master password during setup, which is used to encrypt and decrypt their data. Choose a strong and unique master password to enhance security.

  • Self-Hosting: By self-hosting Autho, users maintain control over their data and reduce reliance on external services, minimizing the risk of data breaches.

  • Regular Updates: Keep Autho and its dependencies up to date to ensure that security vulnerabilities are addressed promptly.

Usage

autho [options] [command]

Options:

  • --version: Output the version number
  • -p, --password <password>: Master password
  • -ph, --passwordHash <passwordHash>: Master password hash
  • -n, --name <name>: Collection name
  • --dataFolder <folderPath>: Folder path to store secrets db
  • -h, --help: Display help for command

Commands:

0. prompt

The main terminal ui, recommended most ot the time.

autho

1. import

Import secrets from a backup file.

autho import --filePath <filePath>

2. secret

Perform secret operations like creating, listing, reading, and deleting secrets.

autho secret [options]

Options:

  • --action <action>: Secret action (create/list/read/delete)
  • --id <id>: Secret id
  • --decrypt: Decrypt secret

3. file

Encrypt/Decrypt a file.

autho file [options]

Options:

  • -f, --filePath <filePath>: File path
  • -en, --encrypt: Encrypt file
  • -de, --decrypt: Decrypt file
  • --override: Override original file

4. files

Encrypt/Decrypt files in a folder.

autho files [options]

Options:

  • --input <inputPath>: Folder path
  • --output <outputPath>: Folder path
  • -en, --encrypt: Encrypt folder
  • -de, --decrypt: Decrypt folder

Examples

  1. Import secrets from a backup file:
autho import --filePath backup.json
  1. Create a new secret:
autho secret --action create
  1. Read a secret:
autho secret --action read --id <secretId> --decrypt
  1. Encrypt a file:
autho file --filePath secret.txt --encrypt
  1. Decrypt a file:
autho file --filePath secret.txt.autho --decrypt
  1. Encrypt files in a folder:
autho files --input /path/to/folder --encrypt
  1. Decrypt files in a folder:
autho files --input /path/to/folder.autho --decrypt

Contributing

Autho is an open-source project, and contributions are welcome! Feel free to report issues, suggest features, or submit pull requests on the project's GitHub repository.

License

Autho is licensed under the MIT License, allowing for unrestricted use, modification, and distribution.

Support

For support or inquiries, please open an issue for assistance.

Acknowledgments

Autho is built upon various open-source libraries and technologies. We extend our gratitude to the developers and contributors of these projects.