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 🙏

© 2026 – Pkg Stats / Ryan Hefner

ai-terminal-course

v1.0.0

Published

Understand what your AI tools are actually doing — 14 hands-on terminal modules

Downloads

35

Readme

AI Terminal Course

Understand what your AI tools are actually doing. 14 hands-on modules. Terminal only. No videos, no slides.

Quick Start

# Works instantly — no API key needed:
npx ai-terminal-course

# Or install globally:
npm install -g ai-terminal-course
ai-terminal

That's it. The course runs in demo mode by default with simulated API responses. To use real OpenAI APIs (optional, ~$10 total):

mkdir -p ~/.ai-terminal-course
echo "OPENAI_API_KEY=sk-your-key" > ~/.ai-terminal-course/.env

Get an API key: https://platform.openai.com/api-keys

What You'll Learn

Tier 1 — Build Something Now

  1. Your First LLM Call — Make a real API call, understand what comes back
  2. Prompt Engineering — Few-shot, chain-of-thought, templates that work
  3. Streaming Responses — Real-time token-by-token output
  4. Structured Outputs — Get JSON back, validate with schemas
  5. Tool Calling — Let LLMs call your functions

Tier 2 — Understand the Engine

  1. Tokens, Cost & Context — How LLMs see text, what it costs, why they forget
  2. Embeddings & Semantic Search — Turn text into vectors, find similar things
  3. RAG: Chat With Your Data — Retrieval-augmented generation + chunking strategies
  4. Agentic Patterns — ReAct, planning, multi-step reasoning

Tier 3 — Ship to Production

  1. Evals & Testing — Test suites, quality metrics, LLM-as-judge
  2. Guardrails & Safety — PII detection, content filtering, prompt injection defense
  3. Cost Optimization & Caching — Model routing, semantic caching, 90% cost reduction
  4. Monitoring & Observability — Logs, traces, alerts, incident response

Tier 4 — Graduate

  1. Capstone: Ship It — Build a complete Document Q&A system

Who This Is For

  • You can code (any language)
  • You're comfortable with the terminal
  • You have zero AI/LLM knowledge (perfect starting point)

Demo Mode vs Real Mode

| | Demo Mode | Real Mode | |---|---|---| | Setup | npx ai-terminal-course | Set OPENAI_API_KEY | | Cost | Free | ~$10 total | | Responses | Simulated (labeled) | Real OpenAI API | | Best for | Exploring the course | Full learning experience |

Demo mode responses are clearly labeled [DEMO MODE - simulated response] so you always know what's real.

Time & Cost

  • Duration: ~7 hours (14 modules, ~30 min each)
  • API cost: Free (demo mode) or ~$10 (real APIs)
  • Prerequisites: Node.js 18+

Commands

# Start the course:
ai-terminal-course

# Jump to a specific module:
ai-terminal-course 5

# See your progress:
ai-terminal-course

Progress Tracking

Progress saves locally to ~/.ai-terminal-course/progress.json. Optionally sign in with GitHub to back it up.

Development

git clone https://github.com/josharsh/ai-terminal-course.git
cd ai-terminal-course
npm install
npm start

License

MIT


Stop reading. Start building.

npx ai-terminal-course