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

adam-ai

v0.1.2

Published

Adam is a CLI tool designed to help developers generate/execute simple and complex shell commands. Smart enough to understand your project's structure and suggest the right commands based on what you're working on.

Readme

Adam CLI

npm version License: MIT

Adam is a CLI tool designed to help developers generate/execute simple and complex shell commands. Smart enough to understand your project's structure and suggest the right commands based on what you're working on.

System Requirements

- Node.js >= 16.x
- npm >= 8.x
- OpenAI API key and/or Your Gemini API key

Features

  • AI Models: Seamlessly choose between OpenAI and Google Gemini for generating commands.
  • Project Analysis: In-dept understanding of the current working directory for the project structure and dependencies.
  • Git Integration: Understands git status and can generate git commands.
  • Configuration: Easily configure API keys and defaults.
  • Dependency Management: Scans and reports project dependencies.
  • Voice Commands: Voice input support powered by whisper [Beta]
  • OS Support: Works fine on Unix-based systems and Windows.

Roadmap

  • Voice Commands: Use voice input for commands via AssemblyAI, additionally to whisper.
  • Error Insights: Understand previous shell error messages without leaving your terminal.

Installation

  1. Install Adam globally using NPM:

    npm install -g adam-ai
  2. Call Adam:

    adam

Usage

Basic Commands

  • Show Help:

    adam --help
  • Show Version:

    adam --version

Configuration Commands

  • Configure API keys and defaults:

    adam config
  • Open config file in your default editor:

    adam open-config
  • Show current configuration in shell:

    adam show-config

AI Model Commands

  • Force using OpenAI for the next command:

    adam openai <your-command>
  • Force using Gemini for the next command:

    adam gemini <your-command>

Debug Mode

Run any command with DEBUG=true to see details on what's happening:

DEBUG=true adam "install express"

Examples

  • Create a new React project:
adam create new nextjs app called project-57 with typescript, tailwind, and trpc
# Response:
✔ Command created
[OpenAI] npx create-next-app@latest project-57 --typescript --tailwind --eslint --src-dir --use-npm && cd project-57 && npm install @trpc/server @trpc/client
  • Create an Express API:
adam initialize an express api named project-57-server with prisma, postgresql, and basic auth setup
# Response:
✔ Command created
[OpenAI] mkdir project-57-server && cd project-57-server && npm init -y && npm install express prisma @prisma/client pg bcrypt jsonwebtoken && npx prisma init && touch .env && echo "DATABASE_URL=postgresql://user:password@localhost:5432/mydb" >> .env && touch app.js routes/auth.js controllers/authController.js middlewares/authMiddleware.js && mkdir models && touch models/user.js
  • Simple Git Opp:
# Let's force use the Gemini Model here (Pk must have been setup)
adam gemini commit changes
# Response:
✔ Command created
[Gemini] git add . && git commit -m "feat: add external_subscriber_addr to config and update run.sh for cleanup support"
# Current Branch:(docs/initial-docs ✔)
adam switch back to main and pull
# Response:
✔ Command created
[OpenAI] git checkout main && git pull origin main
✔ ▶️  Ready to run this command? (Y/n) · Yes

> About to run this command: git checkout main && git pull origin main
Switched to branch 'main'
Your branch is up to date with 'origin/main'.
remote: Enumerating objects: 1, done.
remote: Counting objects: 100% (1/1), done.
remote: Total 1 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
Unpacking objects: 100% (1/1), 909 bytes | 909.00 KiB/s, done.
From github.com:Developerayo/adam
 * branch            main       -> FETCH_HEAD
   1e6e97a..afaed51  main       -> origin/main
Updating 1e6e97a..afaed51
Fast-forward
 readme.md              | 197 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 src/services/gemini.js |   9 ++++
 src/services/openai.js |   9 ++++
 3 files changed, 213 insertions(+), 2 deletions(-)

✔ Command executed successfully!
# Stage Changes, Switch to Staging, Pull Latest & Merge Develop
adam stash changes, switch to staging, pull latest, merge develop
# Response:
✔ Command created
[OpenAI] git stash && git checkout staging && git pull origin staging && git merge develop

Configuration Schema

Adam's configurations are stored in ~/.adam-cli.json:

{
  "openaiApiKey": "sk-GbKnOWMMEA",
  "assemblyaiApiKey": "8835d6",
  "defaultPromptMethod": "text",
  "enableVoiceDetection": true,
  "geminiApiKey": "AIzywY",
  "defaultModel": "openai",
  "userName": "Ayo"
}

Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Make your changes.
  4. Commit your changes (git commit -m 'Add some feature').
  5. Push to the branch (git push origin feature-branch).
  6. Open a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Authors

Contributors

Acknowledgments

  • Special thanks to all contributors and the open-source community.