frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

The Web Pipe Programming Language

https://github.com/williamcotton/webpipe
2•williamcotton•1h ago

Comments

williamcotton•1h ago
Technically this is a DSL and not a general purpose language!

Here's an example of the latest thing I was playing around with:

  GET /:city/weather.svg
    |> fetch("https://geocoding-api.open-meteo.com/v1/search?name=" + .params.city + "&count=10&language=en&format=json", {method: "GET"})
    |> jq: `{
      latitude: .data.response.results[0].latitude | tostring,
      longitude: .data.response.results[0].longitude | tostring
    }`
    |> fetch("https://api.open-meteo.com/v1/forecast?latitude=" + .latitude + "&longitude=" + .longitude + "&hourly=temperature_2m", {method: "GET"})
    |> jq: `
      .data.response.hourly as $h |
      [$h.time, $h.temperature_2m] | transpose | map({time: .[0], temp: .[1]})
    `
    |> gg({ "type": "svg", "width": 800, "height": 400} ): `
      aes(x: time, y: temp)
        | line()
        | point()
    `
That "gg" middleware is another project I started very recently: https://github.com/williamcotton/gramgraph

The language is polyglot in nature. Pipelines and DSLs all the way down.

I do a lot of data analysis and typically write bash scripts that query a database, return csv, pipe, plot with ggplot2, etc, and I wanted a similar sort of environment for writing web applications and whatnot.

Here's an introduction: https://williamcotton.com/articles/basic-introduction-to-web...

Here's an article on the the GraphQL implementation, complete with Data Loader pattern baked in: https://williamcotton.com/articles/graphql-dataloader-patter...

Personally my favorite bit is how the the BDD-testing framework is baked right into the language and runtime, which allows for some cool interactions with the LSP: https://github.com/williamcotton/webpipe/blob/main/todos.wp#...

Oh, and here's the LSP (with GIFs showing some features), which also integrates with a full DAP step debugger: https://github.com/williamcotton/webpipe-lsp

And of course my blog is written using this language:

https://github.com/williamcotton/williamcotton.com/blob/main...

I would love some feedback!

Show HN: Sommo – AI-native wine learning app

https://sommo.app
1•gokh•34s ago•0 comments

FBI raids Washington Post reporter's home in 'highly unusual and aggressive' act

https://www.theguardian.com/us-news/2026/jan/14/fbi-raid-washington-post-hannah-natanson
1•echelon_musk•53s ago•0 comments

Using Linear Algebra to Predict a Non-Linear Pendulum

https://chillphysicsenjoyer.substack.com/p/using-linear-algebra-to-predict-a
1•surprisetalk•3m ago•0 comments

Nothing will change your life more than saying what you want to say

https://www.avabear.xyz/p/nothing-will-change-your-life-more
1•surprisetalk•3m ago•0 comments

Macintosh Garden

https://macintoshgarden.org/
1•surprisetalk•3m ago•0 comments

Getting to sub-300ms microVM sandboxes for automation and AI agents

https://slicervm.com/blog/microvms-sandboxes-in-300ms/
1•alexellisuk•3m ago•1 comments

How Generative AI is destroying society

https://garymarcus.substack.com/p/how-generative-ai-is-destroying-society
1•flail•3m ago•0 comments

US freezes all visa processing for 75 countries, including Somalia, Russia, Iran

https://www.foxnews.com/politics/us-freezes-all-visa-processing-75-countries-including-somalia-ru...
1•garbawarb•5m ago•0 comments

Show HN: Daily LinkedIn Pinpoint Puzzle Answers (PinpointAnswer Today)

https://www.pinpointanswers.online/
1•hoxihan•6m ago•0 comments

Show HN: Histoday – On This Day in History

https://histoday.net/
1•jsxyzb•6m ago•0 comments

Show HN: Your Domains Wrapped - A 2025 domain recap

https://domained.app/wrapped
1•joggez•7m ago•0 comments

UK nudification app ban won't apply to Elon Musk's Grok

https://www.politico.eu/article/uk-nudification-app-ban-wont-apply-to-elon-musks-grok/
2•miohtama•7m ago•0 comments

Show HN: HotspotPeek – Track iPhone hotspot data usage from Mac menu bar

https://anhphong.dev/apps/hotspot-peek/
1•anhphong•8m ago•1 comments

The First Solid-State Vehicle May Be a Motorcycle

https://spectrum.ieee.org/ces-2026-solid-state-batteries
1•voxadam•8m ago•0 comments

Hydrophone Review: Ambient ASF-1, ASF-2, Aquarian Audio, JrF

https://zachpoff.com/resources/hydrophone-review-ambient-asf-1-asf-2-aquarian-audio-jrf/
1•teleforce•9m ago•0 comments

My Opinion on Spelling Run Time vs. Run-Time vs. Runtime

https://bobrubbens.nl/post/my-opinion-on-spelling-runtime/
1•todsacerdoti•10m ago•0 comments

Ruby 4.0.1 Released

https://www.ruby-lang.org/en/news/2026/01/13/ruby-4-0-1-released/
2•amalinovic•11m ago•0 comments

Why Senior Engineers Let Bad Projects Fail

https://lalitm.com/post/why-senior-engineers-let-bad-projects-fail/
1•lalitmaganti•12m ago•0 comments

WeMush – MCP server for mushroom cultivation tracking via Claude

https://wemush.com/blog/wemush-claude-connector
1•mbeacom•12m ago•0 comments

We're about to simulate a human brain on a supercomputer

https://www.newscientist.com/article/2510892-were-about-to-simulate-a-human-brain-on-a-supercompu...
1•Brajeshwar•16m ago•0 comments

After 40k Years Sealed, Gibraltar's Cave Rewrites Human Origins

https://modernengineeringmarvels.com/2026/01/13/after-40000-years-sealed-gibraltars-cave-rewrites...
1•Brajeshwar•16m ago•0 comments

Never-before-seen Linux malware is "more advanced than typical"

https://arstechnica.com/security/2026/01/never-before-seen-linux-malware-is-far-more-advanced-tha...
2•Brajeshwar•16m ago•0 comments

Show HN: Nori CLI, a better interface for Claude Code (no flicker)

https://github.com/tilework-tech/nori-cli
5•csressel•17m ago•0 comments

Show HN: Query Jsonl in the Browser (DuckDB‑WASM) with Markdown Preview

https://ad-hoc-lens.dev
1•jsimonrichard•18m ago•0 comments

Fluid Gears Rotate Without Teeth

https://phys.org/news/2026-01-fluid-gears-rotate-teeth-mechanical.html
2•vlachen•19m ago•1 comments

Ask HN: How are you doing RAG locally?

2•tmaly•19m ago•0 comments

Legacy of the Necromancer (Amiga and PC DOS)

https://www.gamesthatwerent.com/2026/01/legacy-of-the-necromancer/
3•ibobev•22m ago•0 comments

Edge of Emulation: Game Boy Sewing Machines

https://shonumi.github.io/articles/art22.html
2•mosura•22m ago•0 comments

Show HN: Dockyard – Fast Docker CLI Alternative Written in Rust

https://github.com/905timur/dockyard
1•txmxr•22m ago•0 comments

SparkFun Officially Dropping AdaFruit due to CoC Violation

https://www.sparkfun.com/official-response
65•yaleman•23m ago•15 comments