frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: What's a standard way for apps to request text completion as a service?

4•nvader•2d ago
If I'm writing a new lightweight application that requires LLM-based text completion to power a feature, is there a standard way to request the user's operating system to provide a completion?

For instance, imagine I'm writing a small TUI that allows you to browse jsonl files, and want to create a feature to enable natural language parsing. Is there an emerging standard for an implementation agnostic, "Translate this natural query to jq {natlang-query}: response here: "?

If we don't have this yet, what would it take to get this built and broadly available?

Comments

billylo•1d ago
Windows and macOS does come with a small model for generating text completion. You can write a wrapper for your own TUI to access them platform agnostically.

For consistent LLM behaviour, you can use ollama api with your model of choice to generate. https://docs.ollama.com/api/generate

Chrome has a built-in Gemini Nano too. But there isn't an official way to use it outside chrome yet.

nvader•1d ago
Is there a Linux-y standard brewing?
billylo•3h ago
Each distro is doing their own thing. If you are targeting Linux mainly, I would suggest to code it on top of ollama or LiteLLM

Ask HN: Any Microsoft employees/devs here? What's happening to Microsoft?

64•thehamkercat•1d ago•34 comments

Implementing NaN Boxing in a Stack-Based VM

2•tracyspacy•6h ago•0 comments

Ask HN: Anyone else seeing porn images in YouTube ad preview images?

4•OhMeadhbh•7h ago•5 comments

Ask HN: Is anyone aware of a LinkedIn mirror like xcancel.com for X?

6•danielfalbo•8h ago•4 comments

Ask HN: How do you do store-and-forward telemetry at the edge?

3•Aydarbek•8h ago•3 comments

Ask HN: Who wants to be hired? (January 2026)

166•whoishiring•5d ago•390 comments

Ask HN: How do you use 5–10 minute gaps productively?

38•pea•3d ago•51 comments

Ask HN: Who is hiring? (January 2026)

349•whoishiring•5d ago•313 comments

My Logitech mouse became unusable, Logi Options+ can't validate certificate

10•enescakir•15h ago•10 comments

RevisionDojo, a YC startup, is running astroturfing campaigns targeting kids?

449•red-polygon•2d ago•85 comments

Git analytics that works across GitHub, GitLab, and Bitbucket

3•akhnid•1d ago•1 comments

Ask HN: What's a standard way for apps to request text completion as a service?

4•nvader•2d ago•3 comments

Amazon Prime AI overviews can't even get the basics right

43•PyWoody•1d ago•13 comments

Ask HN: Those making $500/month on side projects in 2026 – Show and tell

11•selmas58•17h ago•10 comments

Ask HN: Has anyone else been struggling with search lately?

27•areoform•1d ago•16 comments

Anyone building software for wearable tech?

15•ssc23•2d ago•14 comments

Ask HN: How do small teams make sure recurring tasks don't slip?

5•batels•1d ago•8 comments

ProjectCLI: The Swiss Army Knife CLI for bootstrapping any project

4•dawitworku•1d ago•0 comments

Ask HN: Reading list for being a better engineer?

43•drekipus•3d ago•15 comments

Private Operating System

6•ariatelco•1d ago•10 comments

I made a lofi page for late night work

17•onmyway133•2d ago•8 comments

Tell HN: Internet Bug Bounty (IBB) on HackerOne Appears Dead, CVEs Unpaid

8•irke882•1d ago•2 comments

Ask HN: What kind of setup do you run for your children?

7•mattwdelong•1d ago•14 comments

What do people usually do with spare Android phones? Any practical use cases?

18•AndroidShare•3d ago•21 comments

Ask HN: What's the future of software testing and QA?

23•sjgeek•3d ago•18 comments

Ask HN: What did you learn in 2025?

19•kiernanmcgowan•4d ago•8 comments

Tell HN: I'm having the worst career winter of my life

98•mariogintili•5d ago•126 comments

Ask HN: Are you missing daily email alerts from HN?

9•unknownhad•2d ago•7 comments

Ask HN: How is your work making the world a better place?

16•AbstractH24•2d ago•17 comments

Ask HN: What's the best talk you've watched?

21•barddoo•1d ago•14 comments