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

istok-code-cli

v0.3.25

Published

Istok Code - AI coding assistant for your terminal

Readme

istok-code-cli

Istok Code — AI-ассистент для работы с кодом в терминале.

Установка

npm install -g istok-code-cli

Проверить установку:

istok-code --help
istok-code --check

Быстрый старт

Интерактивный режим:

istok-code

Одноразовый запуск с prompt:

istok-code "почини failing test и объясни причину"

Обновление

Проверить текущую версию и наличие обновления:

istok-code --version
istok-code info

Обновить до последней версии одной командой:

istok-code update

Или вручную через npm:

npm install -g istok-code-cli@latest

При каждом запуске CLI автоматически проверяет совместимость с сервером. Если доступна новая версия — вы увидите уведомление в терминале. Чтобы применить обновление, выполните istok-code update.

Если обновление требует прав администратора (Linux/macOS), добавьте sudo:

sudo npm install -g istok-code-cli@latest

Вход

Вход через браузер:

istok-code login

Headless-вход по коду устройства для SSH, серверов и CI runner с браузером на другом устройстве:

istok-code login --device

Ручной вход по токену:

echo "$ISTOK_TOKEN" | istok-code login --token-stdin
ISTOK_TOKEN="$ISTOK_TOKEN" istok-code login
istok-code login --token <token>

CI

GitHub Actions:

echo "${{ secrets.ISTOK_TOKEN }}" | istok-code login --token-stdin

GitLab CI:

ISTOK_TOKEN="$ISTOK_TOKEN" istok-code login

Конфигурация

По умолчанию CLI работает с:

https://lk.istok.ai

Переопределить API можно флагом:

istok-code --api-url https://lk.istok.ai

Или через переменную окружения:

ISTOK_API_URL=https://lk.istok.ai istok-code --check

Полезные команды

istok-code status
istok-code update
istok-code info
istok-code models
istok-code models set <model-id>
istok-code usage
istok-code billing
istok-code config list

Security notes

  • На macOS токены сохраняются в Keychain.
  • На Linux CLI использует Secret Service через secret-tool, если он доступен.
  • На Windows CLI использует DPAPI для локального защищённого хранения.
  • Если защищённое хранилище ОС недоступно, CLI предупреждает и временно использует ~/.istok/config.json.

Plain mode

Для пайпов и скриптов:

echo "объясни код" | istok-code --pipe

Troubleshooting

Проверка статуса клиента:

istok-code --check

Проверка авторизации:

istok-code status

Повторный вход:

istok-code logout
istok-code login