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

@soluzioni-futura/minosse-notes-cli

v1.0.0

Published

Minosse Notes CLI

Downloads

2

Readme

Minosse Notes CLI

Table of Contents

How to Use

Command "configure"

The "configure" command allows you to set default settings for notes using the CLI interactively. The configured settings will be used as defaults when using the "new" command.

Usage example:

# Configure default settings interactively
notes configure
? Delete note after read:  No
? Encrypt note:  No
? Editable note:  Yes
? Expire after:  90d
? Email notification:  Yes
? Email:  [email protected]

Command "new"

The "new" command allows you to create a new note using the CLI. The following options are available:

  • -t, --terminalText <note>: Use this option to directly enter the note content in the terminal without opening the default editor.
  • -i, --interactive: Interactive note creation.
  • -d, --deleteAfterRead [boolean]: Set the note to be deleted after reading (boolean value: true or false).
  • -e, --encrypted [boolean]: Make the note encrypted (boolean value: true or false).
  • -w, --editable [boolean]: Make the note editable (boolean value: true or false).
  • -f, --file <value>: Send a file as a note (value must be the path of the file).
  • -x, --expireAfter <value>: Set the note's expire timestamp (Expire timestamp must be an indication of time, e.g., "1 hour," "2 days," or a positive number).
  • -n, --notificationEmail <value>: Notification email address for the read recipt message.

Usage example:

# Interactive note creation
notes new -i

# Create a text note directly in the terminal
notes new -t Note content

# Create an encrypted note with expiration
notes new -e true -x 1 hour

# Send a file as a note
notes new -f file_path.txt

# Set an email for notification
notes new -n [email protected]

Output example:

id:  123456789
link:  https://example.com/note/123456789
This note will burn on 2023-07-30 12:00:00

Command "get"

The "get" command allows you to view a note using the CLI. The following option is available:

  • <id> (required): Note ID or link.
  • -t, --terminal: View the note directly in the terminal without opening the default editor.

Usage example:

# View the note in the terminal
notes get <id> -t

# View the note in the terminal using a link
notes get https://note_link -t

Command "update"

The "update" command allows you to update an existing note using the CLI. The following option is available:

  • <id> (required): Note ID or link.

Usage example:

# Update the note using the ID
notes update <id>

# Update the note using a link
notes update https://note_link

Command "delete"

The "delete" command allows you to delete a note using the CLI. The following option is available:

  • <id> (required): Note ID or link.

Usage example:

# Delete the note using the ID
notes delete <id>

# Delete the note using a link
notes delete https://note_link