Skip to content

feat(ollama-wordsmith): add Ollama Wordsmith extension#269

Open
AdityaZxxx wants to merge 1 commit into
vicinaehq:mainfrom
AdityaZxxx:main
Open

feat(ollama-wordsmith): add Ollama Wordsmith extension#269
AdityaZxxx wants to merge 1 commit into
vicinaehq:mainfrom
AdityaZxxx:main

Conversation

@AdityaZxxx

Copy link
Copy Markdown

Summary

Adds Ollama WordSmith, a local-first text processing extension for Vicinae powered by Ollama.

Supports:

  • Translate
  • Summarize
  • Explain
  • Enhance (8 writing styles)
  • Dictionary lookup

All processing runs locally through Ollama with no external APIs.


Features

  • 59 languages
  • Streaming responses
  • Per-mode model selection
  • In-app Ollama model browser (/api/tags)
  • History with delete support
  • URL/code masking before inference
  • Output cleanup for stray LLM meta text

Dictionary mode

  • IPA pronunciation
  • Definitions grouped by part of speech
  • Usage examples
  • Optional etymology
  • Confidence gating

Enhance mode

Styles:

  • Professional
  • Casual
  • Humorous
  • Academic
  • Persuasive
  • Concise
  • Storytelling
  • Inspiring

Shortcut: Ctrl+Shift+S


Testing

Tested on Linux with translategemma:4b.

  • npm run build
  • TypeScript passes with zero errors
  • Extension schema validates against extension.json

Architecture

Input
  → preprocess (mask URLs/code)
  → prompt builder
  → Ollama
  → postprocess
  → display

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant