JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 41
  • Score
    100M100P100Q81816F
  • License MIT

Think it. Ask it. Done. — A zero-dependency AI CLI for your terminal. Ask, translate, explain, commit — all in one keystroke.

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@peixl/ifq) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    ifq
    Intelligent Fast Query

    Think it. Ask it. Done.

    ifq.ai · npm · GitHub


    A tiny AI companion that lives in your terminal.

    No browser. No context switching. No bloat.

    Just you, your keyboard, and an answer — instantly.

    Why ifq?

    You're deep in terminal. You have a question. Don't leave. Don't switch windows. Don't break flow.

    Just ask.

    ifq "what's the difference between rebase and merge"

    That's it. AI answers, right where you are.

    What it does

    Ask anything — like having a brilliant friend on speed dial.

    ifq ask "explain kubernetes in one sentence"

    Decode any command — never Google a cryptic shell command again.

    ifq explain "find . -name '*.log' -mtime +7 -delete"

    Translate instantly — Chinese to English. English to Chinese. Auto-detected.

    ifq t "这段代码有什么问题"

    Write commit messages — because you'd rather ship code than describe it.

    git add .
    ifq commit

    Pipe anything — ifq plays well with the tools you already love.

    cat error.log | ifq ask "what went wrong"
    curl -s api.example.com | ifq ask "summarize this response"

    Get started

    Two steps. Thirty seconds.

    npm install -g @peixl/ifq
    ifq config --key sk-your-api-key

    Done. Start asking.

    Works with everything

    OpenAI, DeepSeek, Ollama, any OpenAI-compatible API.

    ifq config --url https://api.deepseek.com/v1
    ifq config --model deepseek-chat

    Or use environment variables:

    export IFQ_API_KEY=sk-...
    export IFQ_API_URL=https://api.openai.com/v1
    export IFQ_MODEL=gpt-4o-mini

    Design principles

    • Zero dependencies. Nothing to break. Nothing to audit.
    • Streams by default. Answers appear as they're written.
    • Pipes welcome. Compose with grep, cat, curl — whatever.
    • Your key, your model. No middleman. No data collection.
    • One config file. ~/.ifqrc, permission 600. That's it.

    Quick reference

    Command What it does
    ifq "question" Ask anything (shorthand)
    ifq ask <question> Ask with explicit subcommand
    ifq explain <cmd> Explain a shell command
    ifq translate <text> Translate (zh↔en)
    ifq t <text> Quick translate
    ifq commit Generate commit message
    ifq config --show View current config
    ifq help Show help

    The philosophy

    Software should feel light. It should solve real problems in the fewest keystrokes. It should respect your time, your privacy, and your flow.

    ifq is built for people who think fast, work fast, and want AI that keeps up.

    Beautiful tools make beautiful work.


    Made with care. Zero dependencies. Open source.
    ifq.ai