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

adavibe

v0.1.1

Published

Interactive CLI wizard to configure CodeX, Claude Code, OpenCode, or OpenClaw for MiniMax Platform API access.

Readme

adamax

Satu perintah untuk setup Vibe Coding dengan MiniMax Platform (MiniMax-M2.7).

npx adamax

Persyaratan

Pilihan CLI

| CLI | Kegunaan | Setelah Setup | |-----|----------|---------------| | CodeX | Coding assistant OpenAI | codex | | Claude Code | Coding assistant Anthropic | claude | | OpenCode | Terminal IDE berbasis AI | opencode | | OpenClaw | AI Gateway (WhatsApp, Telegram, dll.) | npx openclaw gateway --bind lan |

Model yang Tersedia

| Model | Provider | Deskripsi | |-------|----------|-----------| | MiniMax M2.7 | MiniMax | Peak Performance, Ultimate Value (recommended) |


1. Setup CodeX

OpenAI CodeX adalah coding assistant dari OpenAI yang berjalan di terminal.

Langkah-langkah

$ npx adamax

? Select the language for this setup wizard
>   English (Default)
    Bahasa Indonesia

? CLI mana yang ingin Anda konfigurasi?
>   CodeX (asisten coding OpenAI)

? Jalankan npm install -g @openai/codex sekarang untuk memastikan versi terbaru?
  Tidak / Ya

? Kami akan membackup konfigurasi Anda saat ini lalu menulis pengaturan MiniMax. Lanjutkan?
  Tidak / Ya

? Tempel API Key MiniMax Anda (buka https://platform.minimax.io/... jika perlu membuat)
  ****

? Pilih model CodeX default untuk config.toml
>   MiniMax M2.7 (direkomendasikan) - Performa Puncak, Nilai Terbaik

Hasil

Menulis file konfigurasi...
Diperbarui C:\Users\you\.codex\config.toml
Diperbarui C:\Users\you\.codex\auth.json

✅  Selesai! CodeX (asisten coding OpenAI) sekarang terkonfigurasi untuk MiniMax.
  Run codex to start coding!

File yang Ditulis

  • ~/.codex/config.toml — model provider & model default
  • ~/.codex/auth.json — API key

Menjalankan

cd your-project
codex

2. Setup Claude Code

Claude Code adalah coding assistant dari Anthropic yang powerful untuk pair programming. Wizard ini mengkonfigurasi Claude Code untuk menggunakan MiniMax-M2.7 melalui MiniMax API.

Langkah-langkah

$ npx adamax

? Select the language for this setup wizard
>   Bahasa Indonesia

? CLI mana yang ingin Anda konfigurasi?
    CodeX (asisten coding OpenAI)
>   Claude Code (Anthropic)

? Jalankan npm install -g @anthropic-ai/claude-code sekarang untuk memastikan versi terbaru?
  Tidak / Ya

? Kami akan membackup konfigurasi Anda saat ini lalu menulis pengaturan MiniMax. Lanjutkan?
  Tidak / Ya

? Tempel API Key MiniMax Anda (buka https://platform.minimax.io/... jika perlu membuat)
  ****

? Pilih model default untuk Claude Code
>   MiniMax M2.7 (direkomendasikan) - Performa Puncak, Nilai Terbaik

Hasil

Menulis file konfigurasi...
Backup tersimpan: C:\Users\you\.claude\settings.json.20260415-012345.bak
Diperbarui C:\Users\you\.claude\settings.json

✅  Selesai! Claude Code (Anthropic) sekarang terkonfigurasi untuk MiniMax.
  Run claude to start coding!

File yang Ditulis

{
  "env": {
    "ANTHROPIC_AUTH_TOKEN": "<MINIMAX_API_KEY>",
    "ANTHROPIC_BASE_URL": "https://api.minimax.io/anthropic/",
    "API_TIMEOUT_MS": "3000000",
    "CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1",
    "ANTHROPIC_MODEL": "MiniMax-M2.7",
    "ANTHROPIC_SMALL_FAST_MODEL": "MiniMax-M2.7",
    "ANTHROPIC_DEFAULT_SONNET_MODEL": "MiniMax-M2.7",
    "ANTHROPIC_DEFAULT_OPUS_MODEL": "MiniMax-M2.7",
    "ANTHROPIC_DEFAULT_HAIKU_MODEL": "MiniMax-M2.7"
  },
  "model": "MiniMax-M2.7",
  "includeCoAuthoredBy": false,
  "permissions": { "allow": [], "deny": [] }
}

Note: Konfigurasi mengikuti dokumentasi resmi MiniMax. Semua model slot (sonnet, opus, haiku) di-override ke MiniMax-M2.7.

Menjalankan

cd your-project
claude

3. Setup OpenCode

OpenCode adalah IDE terminal berbasis AI yang mendukung multi-provider.

Langkah-langkah

$ npx adamax

? Select the language for this setup wizard
>   Bahasa Indonesia

? CLI mana yang ingin Anda konfigurasi?
    CodeX (asisten coding OpenAI)
    Claude Code (Anthropic)
>   OpenCode (IDE terminal berbasis AI)

? Jalankan npm install -g opencode-ai sekarang untuk memastikan versi terbaru?
  Tidak / Ya

? Kami akan membackup konfigurasi Anda saat ini lalu menulis pengaturan MiniMax. Lanjutkan?
  Tidak / Ya

? Tempel API Key MiniMax Anda (buka https://platform.minimax.io/... jika perlu membuat)
  ****

? Pilih model default untuk OpenCode
>   MiniMax M2.7 (direkomendasikan) - Performa Puncak, Nilai Terbaik

Hasil

Menulis file konfigurasi...
Diperbarui C:\Users\you\.config\opencode\opencode.json

✅  Tidak ada environment variable yang konflik. Semua aman!

✅  Selesai! OpenCode (IDE terminal berbasis AI) sekarang terkonfigurasi untuk MiniMax.
  Buka direktori proyek Anda dan jalankan:
    opencode
  Lalu ketik /models dan pilih model yang sudah dikonfigurasi.

File yang Ditulis

  • ~/.config/opencode/opencode.json — provider config dengan MiniMax M2.7

Menjalankan

cd your-project
opencode

Setelah buka, ketik /models untuk memilih model dari daftar yang sudah dikonfigurasi.


4. Setup OpenClaw

OpenClaw adalah AI Gateway untuk menghubungkan WhatsApp, Telegram, dan platform lain ke model AI.

Langkah-langkah

$ npx adamax

? Select the language for this setup wizard
>   Bahasa Indonesia

? CLI mana yang ingin Anda konfigurasi?
    CodeX (asisten coding OpenAI)
    Claude Code (Anthropic)
    OpenCode (IDE terminal berbasis AI)
>   OpenClaw (AI Gateway untuk WhatsApp, Telegram, dll.)

? Jalankan npm install -g openclaw sekarang untuk memastikan versi terbaru?
  Tidak / Ya

? Kami akan membackup konfigurasi Anda saat ini lalu menulis pengaturan MiniMax. Lanjutkan?
  Tidak / Ya

? Tempel API Key MiniMax Anda (buka https://platform.minimax.io/... jika perlu membuat)
  ****

? Pilih model default untuk OpenClaw
>   MiniMax M2.7 (direkomendasikan) - Performa Puncak, Nilai Terbaik

Hasil

✅ Gateway Token berhasil dibuat dan disimpan otomatis!
🔑 Gateway Token: a1b2c3d4...

Menulis file konfigurasi...
Diperbarui C:\Users\you\.openclaw\openclaw.json

✅  Selesai! OpenClaw (AI Gateway untuk WhatsApp, Telegram, dll.) sekarang terkonfigurasi untuk MiniMax.
  Jalankan gateway dengan:
    npx openclaw gateway --bind lan

  Buka dashboard dengan:
    npx openclaw dashboard

File yang Ditulis

  • ~/.openclaw/openclaw.json — provider config, model list, dan gateway token

Menjalankan

# Terminal 1: jalankan gateway
npx openclaw gateway --bind lan

# Terminal 2: buka dashboard (opsional)
npx openclaw dashboard

Fitur

  • Zero-install — cukup npx adamax, tidak perlu install global
  • Bilingual — English & Bahasa Indonesia (auto-detect)
  • Safe backup — file .bak otomatis sebelum overwrite
  • Cross-platform — Windows, macOS, Linux
  • Official MiniMax Config — Claude Code config mengikuti dokumentasi resmi MiniMax, semua model slot di-route ke MiniMax-M2.7

Ringkasan File Konfigurasi

| CLI | File Konfigurasi | |-----|-----------------| | CodeX | ~/.codex/config.toml, ~/.codex/auth.json | | Claude Code | ~/.claude/settings.json | | OpenCode | ~/.config/opencode/opencode.json | | OpenClaw | ~/.openclaw/openclaw.json |

Troubleshooting

CodeX: Error 404 pada /v1/responses

Jika hanya tersedia /v1/chat/completions, gunakan Claude Code atau OpenCode sebagai alternatif.

Claude Code: Response lambat

  1. Pastikan API_TIMEOUT_MS=3000000 ada di config
  2. Pastikan semua ANTHROPIC_DEFAULT_*_MODEL di-set ke MiniMax-M2.7
  3. Cek koneksi ke api.minimax.io

OpenCode: Model tidak muncul

Setelah buka OpenCode, ketik /models untuk melihat daftar model. Pilih model yang diawali minimax/.

OpenClaw: Gateway tidak bisa diakses

Pastikan port default (3100) tidak dipakai aplikasi lain. Gunakan --port <number> untuk mengubah port.

Links

License

MIT