-
Notifications
You must be signed in to change notification settings - Fork 0
Ollama
Stands up a local Ollama container and routes nSelf's AI features through it at zero API cost. Free — MIT licensed.
nself plugin install ollamaNo license key required.
One-click offline LLM stack. Stands up an Ollama Docker container, auto-pulls gemma-3-4b on first start, and registers as a provider in plugin-ai. All nSelf AI features route through Ollama when NSELF_AI_PROVIDER=ollama. Zero cloud dependency, zero API key, zero usage cost after install. GPU passthrough is optional and localhost-only (port 11434 binds to 127.0.0.1 and is never exposed externally).
This plugin runs as its own container in your nSelf stack (rebuild with nself build && nself start after install).
Category: integrations. Current version: 1.1.1.
| Env Var | Default | Description |
|---|---|---|
NSELF_AI_PROVIDER |
(see plugin.json) | Optional. |
NSELF_OLLAMA_HOST |
(see plugin.json) | Optional. |
NSELF_OLLAMA_DEFAULT_MODEL |
(see plugin.json) | Optional. |
NSELF_OLLAMA_AUTO_PULL |
(see plugin.json) | Optional. |
NSELF_OLLAMA_GPU |
(see plugin.json) | Optional. |
NSELF_OLLAMA_CONTEXT_WINDOW |
(see plugin.json) | Optional. |
NSELF_OLLAMA_TIMEOUT_SECONDS |
(see plugin.json) | Optional. |
OLLAMA_ENABLED |
(see plugin.json) | Optional. |
PLUGIN_AI_OLLAMA_MODEL |
(see plugin.json) | Optional. |
PLUGIN_AI_OLLAMA_URL |
(see plugin.json) | Optional. |
| Port | Purpose |
|---|---|
| 11434 | Ollama service |
1 table(s) added to your Postgres database (prefix: np_ollama_):
np_ollama_model_registry
GET /api/tags — List pulled models (proxied Ollama API)
POST /api/pull — Pull a model
POST /api/generate — Generate a completion (proxied Ollama API)
| Route | Target |
|---|---|
(localhost only, no nginx route: 127.0.0.1:11434) |
Ollama never exposed externally |
curl http://localhost:11434/healthManifest: plugins/ollama/plugin.json
← Home →
- Commands
- File Processing Commands
- GitHub Commands
- ID.me Commands
- Jobs Commands
- Notifications Commands
- Realtime Commands
- Shopify Commands
- Stripe Commands
View All: Home (or see the full alphabetical list below — 129/129 synced with registry.json)
- Access-Controls
- Admin-Api
- AI-CLI
- AI-Studio
- Alerts
- Analytics
- API
- Audit
- Audit-Analytics
- Audit-Log
- Auth-Enterprise
- Backup
- BYOK
- CDC
- CDN
- CI
- Claw-CLI
- Cloudflare
- Compliance
- Content-Acquisition
- Content-Progress
- Content-Safety
- Costs
- CRDT
- Cron
- DDNS
- Devices
- DLQ
- Documents
- Dogfood
- Donorbox
- DR
- E2EE
- Encryption
- Entitlements
- Event-Bus
- Family-Ancestry
- Family-FamilySearch
- Family-GEDCOM
- Family-MyHeritage
- Family-WikiTree
- Feature-Flags
- Federation
- File-Processing
- Flags
- Forgejo
- Functions-V8
- Game-Metadata
- Gateway
- Gauth
- GDPR
- Geocoding
- GitHub
- GitHub-Runner
- HIPAA
- Home
- IDme
- Infra
- Invitations
- Job-Queue
- Jobs
- K8s
- Link-Preview
- Maintenance
- MDNS
- Media-Processing
- Meetings
- MLflow
- Model
- Monitor
- Monitoring
- Notifications
- Notify
- nSelf-Cloud
- nSelf-Eval-Gate
- nSelf-Geo
- nSelf-Image
- nSelf-PDF
- nSelf-Scan
- nSelf-Sync
- nSelf-Vault
- Object-Storage
- Observability
- Ollama
- Payments
- PayPal
- Pentest
- Pentest-Kit
- Plugin-ClawDE
- Plugin-Gauth
- Plugin-LLM-Gateway
- Plugin-PTY
- Plugin-Retrieval
- Podcast
- Post
- Push
- Queue
- Region
- Release
- Retro-Gaming
- Rom-Discovery
- Search
- Sentry-CLI
- Shared-Utils
- Shopify
- SIEM
- SMS
- Soak
- Sports
- Storage
- Storage-Transform
- Stripe
- Subtitle-Manager
- Tenant
- Tenant-Controller
- TMDB
- Tokens
- Torrent-Manager
- Transactional-Email
- VPN
- WAF
- Warehouse
- Watchdog
- Web3
- Webhooks
- Workflows
Related