GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Xipzer/kimaki-provider-kit: Provider presets for Kimaki/OpenCode: a self-updating NVIDIA free-endpoint model-list generator + local llama.cpp presets and launch cookbook. Pure OpenAI-compatible config, no shim.

BranchesTags
Open more actions menu

Latest commit

 

History

7 Commits
7 Commits

Folders and files

NameName
Last commit message
Last commit date
docs
docs
 
 
src
src
 
 
templates
templates
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
bun.lock
bun.lock
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

Kimaki Provider Kit

Provider presets + a self-updating generator for connecting Kimaki / OpenCode to extra model sources:

  • A local LLM served by llama.cpp (your own GPU)
  • NVIDIA's free OpenAI-compatible endpoint (100+ open models)

Both endpoints are already OpenAI-compatible, so this is pure OpenCode provider config — no shim, no server, no running process. Drop a block into ~/.config/opencode/opencode.json and the models show up in the Discord /model picker.

Terminology: this is a provider preset kit, not a "plugin" (an OpenCode plugin is a JS module in the plugin[] array) and not a "shim" (a running translator between mismatched APIs). These endpoints speak OpenAI natively, so all you need is config.

What's inside

kimaki-provider-kit/
├── src/
│   └── generate-nvidia.ts     Fetch NVIDIA's LIVE catalog -> provider block
├── templates/
│   ├── nvidia-free.provider.json   Ready-to-merge NVIDIA block (key placeholdered)
│   ├── local-llama.provider.json   Local llama.cpp block skeleton
│   └── vllm-local.provider.json    Local vLLM block skeleton
├── docs/
│   ├── connect-local-llm.md        Wire a local llama.cpp model into Kimaki
│   ├── connect-nvidia-free.md       Wire NVIDIA's free endpoint into Kimaki
│   ├── llama-cpp-cookbook.md        32 GB GPU llama-server config: DFlash, 2 slots, VRAM-sized context
│   └── vllm-cookbook.md             vLLM launch, vLLM-vs-llama.cpp, WSL2 caveats
└── README.md

NVIDIA: generate a fresh model list (never stale)

NVIDIA adds/removes models constantly. Rather than hand-maintain a list, the generator fetches the live catalog and emits a ready provider block:

bun install

# Print a provider block (key emitted as ${env:NVIDIA_API_KEY} placeholder)
NVIDIA_API_KEY=nvapi-xxxx bun run generate:nvidia

# Write it to a file
NVIDIA_API_KEY=nvapi-xxxx bun run generate:nvidia --out block.json

# Or merge straight into your opencode.json (backs up to opencode.json.bak first)
NVIDIA_API_KEY=nvapi-xxxx bun run generate:nvidia --merge

Get a free key at https://build.nvidia.com. The generator filters out non-chat model families (embeddings, rerankers, speech, vision-encoders, bio/molecular, OCR, safety/guard, reward), auto-names each model, and flags reasoning / attachment where appropriate.

Details: docs/connect-nvidia-free.md.

Local LLM: point Kimaki at llama.cpp

  1. Serve a model with llama-server --host 0.0.0.0 --port 8080 (see the cookbook for tuned commands).
  2. Merge templates/local-llama.provider.json into opencode.json, filling in the host IP and the model id from /v1/models.
  3. /model in Discord → pick Local LLM.

Full walkthrough (incl. the non-obvious gotchas): docs/connect-local-llm.md.

vLLM: same config, different engine

vLLM also exposes an OpenAI-compatible server, so it uses the same provider pattern — just point at vLLM's port (default 8000) with templates/vllm-local.provider.json.

vllm serve <model> --host 0.0.0.0 --port 8000

Reach for vLLM when you need FP8/NVFP4 fidelity, multi-GPU tensor parallelism, or high concurrency. For a single GPU serving one interactive user, llama.cpp with MTP usually wins on tokens/sec and simplicity.

WSL2 caveat (from hands-on experience): on a single 32 GB consumer GPU, WSL2 + vLLM proved unstable (GPU-passthrough crashes, VRAM→system-RAM spillover) and lost llama.cpp's built-in MTP speedup. Native Windows llama.cpp beat WSL2 vLLM for that setup. Use WSL2 vLLM only if you specifically need NVFP4/FP8 or multi-GPU — and expect to babysit it.

Details, launch commands, NVFP4/FP8, and the full WSL2 write-up: docs/vllm-cookbook.md.

Safety

  • A local model has full tool access (bash, file read/write). Don't set an uncensored model as the global default if any channel touches sensitive repos. Prefer session scope in a dedicated thread.
  • Never commit your NVIDIA key. The generator's printed output uses a ${env:NVIDIA_API_KEY} placeholder; only --merge writes a real key, and only into your local opencode.json (gitignored .bak).

Companion project

For local voice-note transcription (a real shim), see kimaki-whisper-shim.

License

MIT — see LICENSE.

About

Provider presets for Kimaki/OpenCode: a self-updating NVIDIA free-endpoint model-list generator + local llama.cpp presets and launch cookbook. Pure OpenAI-compatible config, no shim.

Topics

kimakillama-cppllmnvidiaopencode

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.