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

@ikyyofc/gemini-cli

v5.0.8

Published

AI Agent CLI — native function calling · GEMINI.md context · extensions

Readme

Gemini CLI 🤖

AI Agent CLI — native function calling · GEMINI.md context · extension system

   ██████╗ ███████╗███╗   ███╗██╗███╗   ██╗██╗
  ██╔════╝ ██╔════╝████╗ ████║██║████╗  ██║██║
  ██║  ███╗█████╗  ██╔████╔██║██║██╔██╗ ██║██║
  ██║   ██║██╔══╝  ██║╚██╔╝██║██║██║╚██╗██║██║
  ╚██████╔╝███████╗██║ ╚═╝ ██║██║██║ ╚████║██║
   ╚═════╝ ╚══════╝╚═╝     ╚═╝╚═╝╚═╝  ╚═══╝╚═╝

Instalasi

npm install
chmod +x index.js
npm link    # optional: pakai sebagai `gemini` di terminal

Penggunaan

gemini                                    # interactive agent
gemini "buatkan REST API di ./api"        # one-shot
gemini --system "Kamu senior backend engineer"
gemini --file ./app.js "jelaskan kode ini"
gemini --yolo "refactor semua file di src/"
gemini --chat                             # plain chat tanpa tools

GEMINI.md — Context Files

Buat GEMINI.md di lokasi berikut (dimuat hierarki, seperti Gemini CLI asli):

| Lokasi | Scope | |--------|-------| | ~/.gemini/GEMINI.md | Global semua project | | ./GEMINI.md | Project root (sampai .git) |

Support import antar file:

@./components/style.md
@../shared/conventions.md

Commands:

/memory show          → tampilkan semua context yang dimuat
/memory reload        → reload dari disk
/memory add <text>    → append ke ~/.gemini/GEMINI.md

Extensions

Manifest: ~/.gemini/extensions/<name>/gemini-extension.json

{
  "name": "my-ext",
  "version": "1.0.0",
  "description": "...",
  "contextFileName": "GEMINI.md",
  "enabled": true,
  "commands": {
    "do-thing": {
      "description": "Does a thing",
      "prompt": "Do this: {{args}}"
    }
  }
}

Commands:

/ext list
/ext install /path/to/ext
/ext install https://github.com/user/repo
/ext uninstall <name>
/ext enable / disable <name>
/ext update <name>

Custom commands dipanggil: /code-reviewer:review ./src/app.js


Tools (Native Function Calling)

| Tool | Aksi | |------|------| | read_file | Baca file | | write_file | Tulis/overwrite file | | patch_file | Edit bagian spesifik | | append_file | Append ke file | | list_dir | List direktori | | find_files | Cari file (glob) | | search_in_files | Grep dalam file | | run_shell | Jalankan shell command | | create_dir | Buat direktori | | delete_file | Hapus file | | move_file | Pindah/rename | | get_env | Info environment | | read_url | Fetch URL / API |


Struktur

gemini-cli/
├── index.js                   ← CLI entry + REPL + commands
├── GEMINI.md                  ← Project context (auto-loaded)
├── package.json
├── src/
│   ├── gemini.js              ← API client (native function calling)
│   ├── tools.js               ← functionDeclarations + executor
│   ├── agent.js               ← ReAct loop
│   ├── memory.js              ← GEMINI.md hierarchy loader
│   ├── extensions.js          ← Extension manager
│   └── renderer.js            ← Terminal UI + markdown
└── extensions/
    └── code-reviewer/
        ├── gemini-extension.json
        └── GEMINI.md

~/.gemini/                     ← Global config dir
├── GEMINI.md
├── extensions/
└── commands/