frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

We're Losing Our Voice to LLMs

https://tonyalicea.dev/blog/were-losing-our-voice-to-llms/
110•TonyAlicea10•1h ago•92 comments

Arthur Conan Doyle explored men’s mental health through Sherlock Holmes

https://scienceclock.com/arthur-conan-doyle-delved-into-mens-mental-health-through-his-sherlock-h...
141•PikelEmi•5h ago•168 comments

Show HN: Runprompt – run .prompt files from the command line

https://github.com/chr15m/runprompt
34•chr15m•2h ago•9 comments

Linux Kernel Explorer

https://reverser.dev/linux-kernel-explorer
389•tanelpoder•10h ago•58 comments

Penpot: The Open-Source Figma

https://github.com/penpot/penpot
536•selvan•14h ago•126 comments

Show HN: MkSlides – Markdown to slides with a similar workflow to MkDocs

https://github.com/MartenBE/mkslides
24•MartenBE•3h ago•5 comments

Ray Marching Soft Shadows in 2D (2020)

https://www.rykap.com/2020/09/23/distance-fields/
138•memalign•9h ago•22 comments

Interactive λ-Reduction

https://deltanets.org/
84•jy14898•2d ago•20 comments

Mixpanel Security Breach

https://mixpanel.com/blog/sms-security-incident/
132•jaredwiener•9h ago•86 comments

DIY NAS: 2026 Edition

https://blog.briancmoses.com/2025/11/diy-nas-2026-edition.html
304•sashk•13h ago•168 comments

Technical Deflation

https://benanderson.work/blog/technical-deflation/
43•0x79de•3d ago•31 comments

Music eases surgery and speeds recovery, study finds

https://www.bbc.com/news/articles/c231dv9zpz3o
145•1659447091•11h ago•65 comments

G0-G3 corners, visualised: learn what "Apple corners" are

https://www.printables.com/model/1490911-g0-g3-corners-visualised-learn-what-apple-corners
92•dgroshev•3d ago•49 comments

Willis Whitfield: Creator of clean room technology still in use today (2024)

https://www.sandia.gov/labnews/2024/04/04/willis-whitfield-a-simple-man-with-a-simple-solution-th...
126•rbanffy•2d ago•49 comments

'Turncoat' by Dennis Sewell Review

https://www.historytoday.com/archive/review/turncoat-dennis-sewell-review
4•prismatic•4d ago•0 comments

The Concrete Pontoons of Bristol

https://thecretefleet.com/blog/f/the-concrete-pontoons-of-bristol
19•surprisetalk•6d ago•1 comments

Gemini CLI Tips and Tricks for Agentic Coding

https://github.com/addyosmani/gemini-cli-tips
348•ayoisaiah•22h ago•120 comments

The State of GPL Propagation to AI Models

https://shujisado.org/2025/11/27/gpl-propagates-to-ai-models-trained-on-gpl-code/
100•jonymo•3h ago•121 comments

S&box is now an open source game engine

https://sbox.game/news/update-25-11-26
376•MaximilianEmel•20h ago•130 comments

Show HN: SyncKit – Offline-first sync engine (Rust/WASM and TypeScript)

https://github.com/Dancode-188/synckit
8•danbitengo•2h ago•2 comments

Running Unsupported iOS on Deprecated Devices

https://nyansatan.github.io/run-unsupported-ios/
190•OuterVale•17h ago•84 comments

Last Issue of "ECMAScript News"

https://ecmascript.news/archive/es-next-news-2025-11-26.html
53•Klaster_1•10h ago•13 comments

Coq: The World's Best Macro Assembler? (2013) [pdf]

https://nickbenton.name/coqasm.pdf
110•addaon•12h ago•38 comments

Functional Data Structures and Algorithms: a Proof Assistant Approach

https://fdsa-book.net/
93•SchwKatze•14h ago•13 comments

Closest Harmonic Number to an Integer

https://www.johndcook.com/blog/2025/11/19/closest-harmonic-number-to-an-integer/
26•ibobev•6d ago•7 comments

Voyager 1 is about to reach one light-day from Earth

https://scienceclock.com/voyager-1-is-about-to-reach-one-light-day-from-earth/
1005•ashishgupta2209•1d ago•346 comments

A Fast 64-Bit Date Algorithm (30–40% faster by counting dates backwards)

https://www.benjoffe.com/fast-date-64
363•benjoffe•4d ago•86 comments

Migrating the main Zig repository from GitHub to Codeberg

https://ziglang.org/news/migrating-from-github-to-codeberg/
799•todsacerdoti•14h ago•695 comments

Fara-7B: An efficient agentic model for computer use

https://github.com/microsoft/fara
160•maxloh•21h ago•69 comments

Show HN: Era – Open-source local sandbox for AI agents

https://github.com/BinSquare/ERA
46•gregTurri•11h ago•11 comments
Open in hackernews

Show HN: Runprompt – run .prompt files from the command line

https://github.com/chr15m/runprompt
34•chr15m•2h ago
I built a single-file Python script that lets you run LLM prompts from the command line with templating, structured outputs, and the ability to chain prompts together.

When I discovered Google's Dotprompt format (frontmatter + Handlebars templates), I realized it was perfect for something I'd been wanting: treating prompts as first-class programs you can pipe together Unix-style. Google uses Dotprompt in Firebase Genkit and I wanted something simpler - just run a .prompt file directly on the command line.

Here's what it looks like:

--- model: anthropic/claude-sonnet-4-20250514 output: format: json schema: sentiment: string, positive/negative/neutral confidence: number, 0-1 score --- Analyze the sentiment of: {{STDIN}}

Running it:

cat reviews.txt | ./runprompt sentiment.prompt | jq '.sentiment'

The things I think are interesting:

* Structured output schemas: Define JSON schemas in the frontmatter using a simple `field: type, description` syntax. The LLM reliably returns valid JSON you can pipe to other tools.

* Prompt chaining: Pipe JSON output from one prompt as template variables into the next. This makes it easy to build multi-step agentic workflows as simple shell pipelines.

* Zero dependencies: It's a single Python file that uses only stdlib. Just curl it down and run it.

* Provider agnostic: Works with Anthropic, OpenAI, Google AI, and OpenRouter (which gives you access to dozens of models through one API key).

You can use it to automate things like extracting structured data from unstructured text, generating reports from logs, and building small agentic workflows without spinning up a whole framework.

Would love your feedback, and PRs are most welcome!

Comments

dymk•52m ago
Can the base URL be overridden so I can point it at eg Ollama or any other OpenAI compatible endpoint? I’d love to use this with local LLMs, for the speed and privacy boost.
jedbrooke•42m ago
https://github.com/chr15m/runprompt/blob/main/runprompt#L9

seems like it would be, just swap the openai url here or add a new one

cedws•44m ago
Can it be made to be directly executable with a shebang line?
_joel•32m ago
it already has one - https://github.com/chr15m/runprompt/blob/main/runprompt#L1

If you curl/wget a script, you still need to chmod +x it. Git doesn't have this issue as it retains the file metadata.

vidarh•2m ago
I'm assuming the intent was to as if the *.prompt files could have a shebang line.

   #!/bin/env runprompt
   ---
   .frontmatter...
   ---
   
   The prompt.
Would be a lot nicer, as then you can just +x the prompt file itself.
cootsnuck•39m ago
This is pretty cool. I like using snippets to run little scripts I have in the terminal (I use Alfred a lot on macOS). And right now I just manually do LLM requests in the scripts if needed, but I'd actually rather have a small library of prompts and then be able to pipe inputs and outputs between different scripts. This seems pretty perfect for that.

I wasn't aware of the whole ".prompt" format, but it makes a lot of sense.

Very neat. These are the kinds of tools I love to see. Functional and useful, not trying to be "the next big thing".

orliesaurus•26m ago
Why this over md files I already make and can be read by any agent CLI ( Claude, Gemini, codex, etc)?
swah•6m ago
Thats pretty good, now lets see simonw's one...
__MatrixMan__•5m ago
It would be cool if there were some cache (invalidated by hand, potentially distributed across many users) so we could get consistent results while iterating on the later stages of the pipeline.