opencode-fungsi-galaksi
v0.3.5
Published
Fungsi Galaksi provider plugin for opencode - 80+ models with OpenAI-compatible API
Readme
opencode-fungsi-galaksi
Fungsi Galaksi provider plugin for opencode - 80+ models with OpenAI-compatible API
Features
- 80+ models from 11 providers (Anthropic, OpenAI, Google, X-AI, DeepSeek, MistralAI, MiniMax, MoonshotAI, NVIDIA, NousResearch, Qwen, Z-AI)
- OpenAI-compatible API - seamless integration with opencode
- Zero configuration - plugin injects provider automatically
- Environment variable API key - secure credential management
Quick Start
Installation
- Add plugin to opencode config:
Add opencode-fungsi-galaksi to your ~/.config/opencode/opencode.json:
{
"plugin": [
"opencode-fungsi-galaksi"
]
}The plugin will be automatically installed from npm when you start opencode.
- Set environment variable:
export GALAKSI_API_KEY="sk_galaksi_xxx"Add to your shell profile (~/.zshrc or ~/.bashrc):
echo 'export GALAKSI_API_KEY="sk_galaksi_xxx"' >> ~/.zshrc
source ~/.zshrc- Restart opencode:
opencode restartUsage
Using Command Line
opencode run "write hello world to test.txt" --model=galaksi/anthropic/claude-sonnet-4Using TUI
- Launch opencode:
opencode - Press model selector keybind (default:
Ctrl+M) - Search for "galaksi" or specific model names
- Select desired model
Popular Models
| Model | Name | Context | Best For |
|--------|-------|----------|-----------|
| galaksi/anthropic/claude-sonnet-4 | Claude Sonnet 4 | 200K | General coding, reasoning |
| galaksi/openai/gpt-5.1-codex | GPT 5.1 Codex | 400K | Advanced coding |
| galaksi/google/gemini-2.5-pro | Gemini 2.5 Pro | 1,048K | Multimodal tasks |
| galaksi/x-ai/grok-4-fast | Grok 4 Fast | 2,000K | Fast responses |
Model Catalog
See MODELS.md for complete catalog of all 80+ models with detailed specifications.
Providers Included
- Anthropic: Claude 3.5-4.5 family (7 models)
- OpenAI: GPT-4.1, GPT-5.x, GPT-OSS (18 models)
- Google: Gemini 2.0-3.0 family (12 models)
- X-AI: Grok 3-4 family (7 models)
- DeepSeek: V3.1-V3.2 family (4 models)
- MistralAI: Devstral, Codestral (6 models)
- MiniMax: M1-M2, MiniMax-01 (3 models)
- MoonshotAI: Kimi K2 family (4 models)
- NVIDIA: Nemotron (1 model)
- NousResearch: Hermes 4 (2 models)
- Qwen: Qwen3 family (9 models)
- Z-AI: GLM 4.5-4.6 family (5 models)
Configuration
Environment Variables
| Variable | Required | Description |
|-----------|------------|-------------|
| GALAKSI_API_KEY | Yes | Your Fungsi Galaksi API key |
Permission Settings
Add to ~/.config/opencode/opencode.json:
{
"permission": {
"external_directory": {
"~/Projects/*": "allow",
"~/.config/*": "allow",
"*": "ask"
}
}
}Development
Build Plugin
cd ~/.config/opencode/plugin/opencode-fungsi-galaksi
npm install
npm run buildType Checking
npm run typecheckLicense
MIT
Author
byfungsi
