Skim v1.0.6 โ "Bring Your Own Brain" ๐ง
The one where Skim stops being picky about which AI you talk to, and the whole app goes on a diet at the same time. Efficiency and choice, in one download. You're welcome.
โจ New
Bring your own AI endpoint (OpenAI-compatible). ๐ A third provider joins Anthropic and OpenRouter: point Skim at any OpenAI-compatible API โ Ollama, LM Studio, vLLM, your homelab gateway, whatever. Just a Base URL and a Model ID; the API key is optional (leave it blank for local servers that don't want one). No key = no Authorization header, so your Ollama box stops complaining. (Closes #12.)
AI chat that can actually breathe. ๐ซ The command palette (Ctrl+K) can now expand to near-fullscreen for reading long answers โ one toggle in the corner, only in chat mode. Repeat Ctrl+K flips it open/closed instead of nuking the palette. It remembers your preference, and text stays in a comfy ~760px reading column instead of sprawling edge-to-edge.
๐ Fixed
PDF text extraction got smarter. ๐ Text hiding inside PDF Form XObjects now gets pulled out, and oversized horizontal jumps are correctly read as column gaps instead of glued-together words. Your Cyrillic invoices thank you.
๐งน Housekeeping (aka the diet)
The installer lost 22% of its weight. ๐ชถ Swapped the chunky pdf-extract dependency for a tiny custom extractor on lopdf, which unblocked panic = "abort" and shed ~6 MB of unwind tables. Results:
NSIS installer: 5.06 โ 3.94 MiB (โ22%)
skim.exe: 17.2 โ 11.2 MiB
The new extractor also never panics on malformed PDFs and has a decompression-bomb guard, because trust issues are healthy.
Trimmed unused tokio / tracing features while we were in there. Less code, less to maintain โ the Skim way.
๐ Get it here: https://github.com/nikserg/skim/releases/tag/v1.0.6


Replies
WebCurate.co
Nice update! Supporting any OpenAI-compatible endpoint is a great addition, especially for people running Ollama or other local models. These kinds of improvements usually have a bigger impact than flashy new features :)
Skim
@hosseinyazdiย respecting local LLMs ๐ซก
the bring-your-own-endpoint thing is great for the homelab crowd. does Skim auto-detect context window size per model, or do you have to manually tell it the limits for something like a local Ollama model so it doesn't just truncate silently on a long PDF?
Skim
@omri_ben_shoham1ย Honest answer: right now it does neither โ no per-model context probing, no field to set a limit. Skim just caps attachment/PDF text to a fixed, conservative budget before the request leaves your machine, and marks anything trimmed with a visible โฆ(truncated) โ safe, but it does leave headroom on a big local model.
Fair nudge, so I opened an issue to make it adapt (for Ollama the model's context length is basically already available to us): https://github.com/nikserg/skim/issues/17
Thanks! ๐