frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: CyberWriter – a .md editor built on Apple's (barely-used) on-device AI

https://cyberwriter.app
3•uncSoft•1h ago
Apple has quietly shipped a pretty complete on-device AI stack into macOS, with these features first getting API access in MacOS 26. There are multiple components in the foundation model, but the skills it shipped with actually make this ~3b parameter model useful. The API to hit the model is super easy, and no one is really wiring them together yet.

- Foundation Models (macOS 26) - a ~3B-parameter LLM with an API. Streaming, structured output, tool use. No API key, no cloud call, no per-token cost. - NLContextualEmbedding (Natural Language framework, macOS 14+) -- a BERT-style 512-dim text embedder. Exactly what OpenAI and Cohere sell, sitting in Apple's SDKs since iOS 17. - SFSpeechRecognizer / SpeechAnalyzer - on-device speech-to-text including live dictation. Solid accuracy on Apple Silicon.

I built cyberWriter, a Markdown editor, on top of all three, mostly as a test and showcase to see what it can do. I actually integrated local and cloud AI first, and then Apple shipped the foundation model, it stacked on super easy, and now users with no local or API AI knowledge can use it with just a click or two. Well the real reason is because most markdown editors need plugins that run with full system access, and I work on health data and can't have that.

Vault chat / semantic search. The app indexes your Markdown folder via NLContextualEmbedding (around 50 seconds for 1000 chunks on an M1). The search bar gets a "Related Ideas" section that matches by meaning - typing "orbital mechanics" surfaces notes about rockets and launch windows even when those exact words never appear. Ask the AI a question and it retrieves the top 5 chunks as context. Plain RAG, but the embedder, retrieval, chat model, and search all run locally.

AI Workspace. Command+Shift+A opens a chat panel, Command+J triggers inline quick actions (rewrite, summarize, change tone, fix grammar, continue). Apple Intelligence is the default; Claude, OpenAI, Ollama, and LM Studio all work if you prefer. The same context layer - document selection, attached files, retrieved vault chunks - feeds every provider through the same system-message path. Because the vault context is file and filename aware, it can create backlinks to the referenced file if it writes or edits a doc for you.

Voice notes and dictation. Record a voice note directly into your doc, transcribe it with SpeechAnalyzer, or just dictate into the editor while you think. Audio never leaves the Mac.

The privacy story is straightforward because the primitives are already private. Vectors live in a `.vault.embeddings.json` file next to your vault, never sent anywhere. If you use Apple Intelligence, even the retrieved text stays on-device. For cloud models there is a clear toggle and an inline warning before any filenames or snippets leave the machine.

Honest limitations:

- 512-dim embeddings are solid mid-tier. A GPT-4-class embedder catches subtler relationships this will miss. - 256-token chunks can split long paragraphs mid-argument. - Foundation Models caps its context window around 6K characters, so vault context is budgeted to 3K with truncation markers on the rest. - Multilingual support is English-only right now. NLContextualEmbedding has Latin, Cyrillic, and CJK model variants; wiring the language detector across chunks is Phase 2.

The developer experience for these APIs is genuinely good. Foundation Models streams cleanly, NLContextualEmbedding downloads assets on demand and gives you mean-poolable token vectors in a handful of lines. Curious what others here are building on this stack - feels like low-hanging fruit that has been sitting there for a while.

https://imgur.com/a/HyhHLv2

The Apple AI embedding feature is going live today. I'm honestly surprised it even works out of the box.

Comments

rampatra•1h ago
Love that your landing page is the product itself. However, I think the app icon and the screenshots on the App Store can be improved that will lead to better downloads.
uncSoft•59m ago
thanks, I am probably the worst designer and didn't want to use AI, but you're not wrong

Show HN: The Trawl CLI, trudge through agent harness logs for shit and giggles

https://the-daily-claude.github.io/the-daily-claude/
1•ElFitz•47s ago•0 comments

Montgomery Multiplication in Signed Redundant Representations [pdf]

https://github.com/pornin/small-ecdsa/blob/main/tex/mmul.pdf
1•eripen•1m ago•0 comments

The Ultimate Question: What Does the Endgame Look Like?

https://brodzinski.com/2026/04/what-endgame-looks-like.html
1•flail•3m ago•0 comments

Lessons from Going Solo

https://alex000kim.com/posts/2026-04-20-lessons-from-going-solo/
1•alex000kim•3m ago•0 comments

The $400M Machine That Spawned the Most Coveted Toy

https://www.wsj.com/lifestyle/asml-lego-set-euv-machine-61dd93c6
1•pondsider•3m ago•0 comments

GitHub Trip Report (2019)

https://fossil-scm.org/forum/forumpost/536ce98d85
1•thunderbong•4m ago•0 comments

Rip language. Compiles to ES2022. Built-in reactivity

https://github.com/shreeve/rip-lang
1•perfunctory•5m ago•0 comments

Open-Weight Models: Curated Guide for Production LLM Deployment

https://github.com/phlx0/awesome-open-weight-models
1•phlx0•7m ago•0 comments

Cryptocurrency industry on track to surpass 2024 spending on Texas midterm races

https://www.texastribune.org/2026/04/20/texas-crypto-currency-pacs-fairshake-menefee-green/
1•hn_acker•7m ago•1 comments

Codebase Readiness Grid: can your repo handle AI agents?

https://github.com/Kenogami-AI/codebase-readiness
1•zoyth•8m ago•0 comments

Could 'A River Runs Through It' Have Been a Hit Today?

https://www.nytimes.com/2026/04/20/books/could-a-river-runs-through-it-have-been-a-hit-today.html
1•duxup•10m ago•1 comments

Reflections on Vibe Researching

https://joshuagans.substack.com/p/reflections-on-vibe-researching
2•alphabetatango•10m ago•0 comments

Show HN: Evading an AI SOC with Sable from Vulnetic

https://blog.vulnetic.ai/evading-an-ai-soc-with-sable-from-vulnetic-fad12376995c
1•danieltk76•13m ago•0 comments

Why the Wellness Elite Such as Jordan Peterson and Mark Hyman Are Getting Sepsis

https://sgcarney.substack.com/p/the-miracle-treatment-that-almost
2•randycupertino•13m ago•1 comments

Show HN: ANSI Saver for Apple TV

https://apps.apple.com/us/app/ansi-saver/id6762137767
1•lardissone•13m ago•0 comments

Yann LeCun says Dario Amodei "knows nothing about AI effects on jobs"

https://timesofindia.indiatimes.com/technology/tech-news/godfather-of-ai-and-metas-most-popular-e...
2•kordlessagain•14m ago•0 comments

Anthropomorphism and Trust in Human-Large Language Model Interactions

https://arxiv.org/abs/2604.15316
1•Brajeshwar•14m ago•0 comments

Show HN: We trained a 32B model to beat Opus 4 at credit card optimization

https://huggingface.co/spaces/endishai/blog-grpo-credit-cards
2•dimberman•17m ago•0 comments

GraalVM JavaScript Sandboxing

https://www.graalvm.org/latest/security-guide/sandboxing/
1•eatonphil•18m ago•0 comments

A Security Framework Sized for the Business You Run

https://nerdsec.io/blog/a-security-framework-sized-for-the-business-you-actually-run/
2•levidurfee•19m ago•0 comments

You don't need a RAG, you just need RAG

https://enopdf.com/blog/rag-for-pdfs/
1•gcassie•20m ago•0 comments

MNT Reform is an open hardware laptop, designed and assembled in Germany

http://mnt.stanleylieber.com/reform/
2•speckx•20m ago•0 comments

Two Paradoxes Blocking Bitcoin

https://alignmenteconomy.org
2•moeman245•21m ago•1 comments

Show HN: Self-hosted Raspberry Pi wall display (no cloud, no subscription)

https://github.com/silentg33k/chalkboard-installer
1•g_33_k•22m ago•1 comments

Learn Vim for the Last Time

https://danielmiessler.com/blog/vim
1•dolfmaggot•25m ago•1 comments

Build the Dam System

https://jsfour.substack.com/p/build-the-dam-system
1•js4•26m ago•0 comments

Show HN: Germball – Drone-deployed seeds triggered by soil moisture

https://www.indiegogo.com/en/projects/germball/germball--smart-seed-capsule
1•lukascodes•26m ago•0 comments

Corporate Bullshit Considered Harmful

https://chuniversiteit.nl/papers/corporate-bullshit
1•ibobev•27m ago•0 comments

Highlighting Interactive Code Blocks

https://www.redblobgames.com/blog/2026-04-16-highlighting-interactive-code-blocks/
1•ibobev•27m ago•0 comments

US birth records uncover an autism risk surge tied to common drugs

https://medicalxpress.com/news/2026-04-millions-birth-uncover-autism-surge.html
1•OutOfHere•27m ago•0 comments