Repository navigation
Fern Desktop · Early Access v0.1.1
A fast, local-first desktop chat app with a FastAPI backend and React UI — improved reliability with offline UI fallback, bundled backend, and better logging.
✨ Highlights
- __More Providers Added
- Offline UI fallback
- If the backend can’t start or connect, the app loads the bundled
web/distand runs in offline mode.
- If the backend can’t start or connect, the app loads the bundled
- Bundled backend binary support
- Prefers launching a PyInstaller-built backend binary when available for faster startup and fewer dependencies.
- Startup watchdog
- If no window appears after a few seconds, Fern auto-attempts to load the offline UI.
- Improved logging
- App logs to
fern.login the user data directory for easier troubleshooting.
- App logs to
- Graceful shutdown on Windows
- Uses
taskkillto ensure the backend process terminates cleanly on exit.
- Uses
📥 Downloads
- Windows 10/11 (x64):
- Fern-windows-installer.msi
Tip: If SmartScreen warns, click “More info → Run anyway.” The app is unsigned in Early Access.
🚀 Quick Start
- Download
Fernand run. - Open Settings in-app:
- Add provider API keys (OpenRouter, OpenAI, etc.).
- Choose provider/model (you can switch anytime).
- Start chatting. Use “+ New Chat” to start a new thread.
Environment flags:
# Enable devtools and verbose logs
$env:FERN_DEBUG = '1'
.\Fern.exeRequirements:
- Windows 10/11 (x64)
- Microsoft Edge WebView2 Runtime (install if missing)
🔧 Features In Depth
- Live typewriter streaming: Smooth per-letter animation; final message stays in place.
- Reasoning: Shows “Reasoning:” section when toggled; saved with the message.
- Usage metrics: Prompt, completion, and total tokens shown per assistant reply.
- Icons: Snapshot of provider/model stored per message; bubbles retain original icon.
- Offline mode: Serves UI from packaged
web/distwhen the backend isn’t reachable. - Bundled backend: Prefer
backend.exefrom the unpacked resources when present.
🧪 Known Issues (Early Access)
- Some providers don’t stream token-by-token; UI animates per-letter for consistency.
- Token counts for unsupported models are approximate.
- Occasional websocket hiccups on unstable networks; retry usually works.
- Antivirus may flag unsigned EXEs.
🛠️ Troubleshooting
- Blank window / cannot load UI:
- Ensure WebView2 Runtime is installed.
- Check firewall/loopback rules.
- No responses:
- Verify API keys, provider, and model names.
- History not saving:
- Avoid read-only directories. Check console/logs with
FERN_DEBUG=1.
- Avoid read-only directories. Check console/logs with
🗺️ Roadmap (0.1.x)
- Inline “stop” reliability + retry/backoff.
- More model icons (Qwen, Mistral, Llama, Gemini, Z-AI, etc.).
- Better auto titling and conversation management.
- Signed Windows builds and installer.
- Mac/Linux builds (alpha).
🧾 Changelog (v0.1.1)
- Add offline UI fallback with automatic detection when server isn’t reachable.
- Prefer launching bundled PyInstaller backend binary if present; fallback to venv/system Python.
- Add startup watchdog to force offline UI if a window doesn’t appear in time.
- Centralized file logging to
fern.login app user data directory; improved error reporting. - Graceful backend shutdown on Windows via
taskkill. - Minor polish and stability improvements.
🔐 Verify Download
Get-FileHash -Algorithm SHA256 .\Fern.exeCompare the hash with the one posted in the release assets.
🙏 Feedback
Found a bug or have a feature request? Please open an issue with:
- Steps to reproduce
- Provider/model used
- Whether
FERN_DEBUG=1was set - Screenshots/logs if possible
Thanks for testing Fern! Your feedback will shape the 0.1.x stabilization releases.