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 🙏

© 2025 – Pkg Stats / Ryan Hefner

ajinoteapp

v1.0.1

Published

A simple encrypted note-taking CLI with REPL support.

Readme

AJI Note App

A simple encrypted note-taking CLI with REPL support.

Features

  • Interactive REPL for managing notes.
  • Per-file password protection (AES + PBKDF2 via crypto-utils).
  • Multiple note files stored in a notes directory.
  • Commands for listing, adding, deleting notes and files.
  • Docker-friendly with development bind-mounts to avoid rebuilding.

Install / Run locally

Requires Node 18+.

Clone and install:

git clone <repo>
cd ajinoteapp
npm install

Run the REPL:

npm start
# or directly
node src/app.js

Docker

Build and run interactively:

docker build -t aji-note-app:1.0 .
docker run -it --rm aji-note-app:1.0

For development without rebuilding, mount the project:

docker run -it --rm -v "$(pwd):/app" -w /app node:24-alpine sh -c "npm install && node src/app.js"

Notes directory

Default notes directory: ~/.aji-notes
Override via environment variable:

export AJI_NOTES_DIR="/path/to/notes"

REPL commands (examples)

Use commands with a leading dot. Aliases exist for many commands.

  • .help — Show help
  • .addNote or .an — Add a note
  • .listNotes or .ln — List notes in current file
  • .deleteNote — Delete a note by index
  • .deleteAll or .da — Delete all notes (respects encryption)
  • .setNotesFile — Switch/create a notes file
  • .listFile or .lf — List files in notes directory
  • .deleteFile or .df — Delete a file (prompts and requires password if encrypted)
  • .setPassword — Encrypt current file with given password (encrypts existing notes)
  • .getPassword or .gp — Provide session password (masked prompt if omitted)
  • .clearPassword — Clear in-memory session password
  • .exit — Exit REPL

Important: encrypted files store a single encrypted JSON blob. If a file is encrypted, you must provide the correct session password with .getPassword before adding, deleting, or listing notes. Attempts to mutate an encrypted file without a valid session password will be denied.

Encryption behavior

  • crypto-utils implements symmetric encryption (AES-256-CBC with PBKDF2-derived key).
  • When you run .setPassword, existing plaintext notes are read and re-encrypted.
  • Once a file is encrypted, all writes will preserve encryption. The session password is kept in memory only.

Security note: AES-CBC is not authenticated — consider switching to AES-GCM or adding an HMAC if you require tamper protection.

Development tips

  • Use a bind-mount to avoid rebuilding Docker image for each code change.
  • Add nodemon for automatic restarts during development:
"scripts": { "dev": "nodemon --watch src --exec node src/app.js" }

Contributing

Open issues or PRs for bugs and improvements. Test encryption/decryption flows carefully.

License

MIT

# AJI Note App

A simple encrypted note-taking CLI with REPL support.

## Features
- Interactive REPL for managing notes.
- Per-file password protection (AES + PBKDF2 via crypto-utils).
- Multiple note files stored in a notes directory.
- Commands for listing, adding, deleting notes and files.
- Docker-friendly with development bind-mounts to avoid rebuilding.

## Install / Run locally
Requires Node 18+.

Clone and install:
```bash
git clone <repo>
cd ajinoteapp
npm install

Run the REPL:

npm start
# or directly
node src/app.js

Docker

Build and run interactively:

docker build -t aji-note-app:1.0 .
docker run -it --rm aji-note-app:1.0

For development without rebuilding, mount the project:

docker run -it --rm -v "$(pwd):/app" -w /app node:24-alpine sh -c "npm install && node src/app.js"

Notes directory

Default notes directory: ~/.aji-notes
Override via environment variable:

export AJI_NOTES_DIR="/path/to/notes"

REPL commands (examples)

Use commands with a leading dot. Aliases exist for many commands.

  • .help — Show help
  • .addNote or .an — Add a note
  • .listNotes or .ln — List notes in current file
  • .deleteNote — Delete a note by index
  • .deleteAll or .da — Delete all notes (respects encryption)
  • .setNotesFile — Switch/create a notes file
  • .listFile or .lf — List files in notes directory
  • .deleteFile or .df — Delete a file (prompts and requires password if encrypted)
  • .setPassword — Encrypt current file with given password (encrypts existing notes)
  • .getPassword or .gp — Provide session password (masked prompt if omitted)
  • .clearPassword — Clear in-memory session password
  • .exit — Exit REPL

Important: encrypted files store a single encrypted JSON blob. If a file is encrypted, you must provide the correct session password with .getPassword before adding, deleting, or listing notes. Attempts to mutate an encrypted file without a valid session password will be denied.

Encryption behavior

  • crypto-utils implements symmetric encryption (AES-256-CBC with PBKDF2-derived key).
  • When you run .setPassword, existing plaintext notes are read and re-encrypted.
  • Once a file is encrypted, all writes will preserve encryption. The session password is kept in memory only.

Security note: AES-CBC is not authenticated — consider switching to AES-GCM or adding an HMAC if you require tamper protection.

Development tips

  • Use a bind-mount to avoid rebuilding Docker image for each code change.
  • Add nodemon for automatic restarts during development:
"scripts": { "dev": "nodemon --watch src --exec node src/app.js" }

Contributing

Open issues or PRs for bugs and improvements. Test encryption/decryption flows carefully.

License

MIT