frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: difi – A Git diff TUI with Neovim integration (written in Go)

https://github.com/oug-t/difi
26•oug-t•2h ago•21 comments

Show HN: Sandboxing untrusted code using WebAssembly

https://github.com/mavdol/capsule
19•mavdol04•2h ago•8 comments

Show HN: Safe-now.live – Ultra-light emergency info site (<10KB)

https://safe-now.live
119•tinuviel•7h ago•50 comments

Show HN: Inverting Agent Model (App as Clients, Chat as Server and Reflection)

https://github.com/RAIL-Suite/RAIL
16•ddddazed•2h ago•2 comments

Show HN: LUML – an open source (Apache 2.0) MLOps/LLMOps platform

https://github.com/luml-ai/luml
5•okost1•1h ago•2 comments

Show HN: Minikv – Distributed key-value and object store in Rust (Raft, S3 API)

https://github.com/whispem/minikv
56•whispem•8h ago•24 comments

Show HN: govalid – Go validation without reflection (5-44x faster)

https://github.com/sivchari/govalid
2•sivchari•2h ago•0 comments

Show HN: Sentinel Gate – Open-source RBAC firewall for MCP agents

https://github.com/Sentinel-Gate/Sentinelgate
2•Sentinel-gate•2h ago•1 comments

Show HN: Adboost – A browser extension that adds ads to every webpage

https://github.com/surprisetalk/AdBoost
114•surprisetalk•1d ago•121 comments

Show HN: npx claude-mycelium grow – fungi agent orchestration for your repo

https://www.npmjs.com/package/claude-mycelium
2•altras•4h ago•0 comments

Show HN: I built a task manager in the MacBook notch for my ADHD brain

https://notchable.com
5•rezabeye•5h ago•1 comments

Show HN: Kannada Nudi Editor Web Version

https://nudiweb.com/
6•Codegres•12h ago•0 comments

Show HN: Nioh guide site – release info, beginner guides, and builds

https://nioh3.net/
2•tanjump•6h ago•1 comments

Show HN: PolliticalScience – Anonymous daily polls with 24-hour windows

https://polliticalscience.vote/
28•ps2026•22h ago•40 comments

Show HN: Axiomeer – An open marketplace for AI agents

https://github.com/ujjwalredd/Axiomeer
4•ujjwalreddyks•15h ago•0 comments

Show HN: Wikipedia as a doomscrollable social media feed

https://xikipedia.org
427•rebane2001•1d ago•140 comments

Show HN: Find viral video ideas on YouTube

https://viraloutlier.com
3•jklepatch•7h ago•0 comments

Show HN: Apate API mocking/prototyping server and Rust unit test library

https://github.com/rustrum/apate
31•rumatoest•2d ago•21 comments

Show HN: NanoClaw – “Clawdbot” in 500 lines of TS with Apple container isolation

https://github.com/gavrielc/nanoclaw
516•jimminyx•1d ago•220 comments

Show HN: ErwinDB, a TUI to view 7k Stack Overflow answers by Postgres expert

https://github.com/ahacop/erwindb
3•ahacop•8h ago•0 comments

Show HN: Open-source semantic search over your local notes via CLI

https://github.com/chenxin-yan/nia-vault
4•jellyotsiro•13h ago•3 comments

Show HN: ÆTHRA – Writing Music as Code

100•CzaxTanmay•4d ago•33 comments

Show HN: Minimal – Open-Source Community driven Hardened Container Images

https://github.com/rtvkiz/minimal
118•ritvikarya98•2d ago•28 comments

Show HN: Ask-a-Human.com – Human-as-a-Service for Agents

https://app.ask-a-human.com
6•ManuelKiessling•20h ago•7 comments

Show HN: Moltbook – A social network for moltbots (clawdbots) to hang out

https://www.moltbook.com/
279•schlichtm•5d ago•879 comments

Show HN: I trained a 9M speech model to fix my Mandarin tones

https://simedw.com/2026/01/31/ear-pronunication-via-ctc/
467•simedw•3d ago•152 comments

Show HN: Voiden – an offline, Git-native API tool built around Markdown

https://github.com/VoidenHQ/voiden
47•dhruv3006•2d ago•28 comments

Show HN: 127 PRs to Prod this wknd with 18 AI agents: metaswarm. MIT licensed

https://github.com/dsifry/metaswarm
5•dsifry•15h ago•2 comments

Show HN: Phage Explorer

https://phage-explorer.org/
124•eigenvalue•3d ago•34 comments

Show HN: Sandbox Agent SDK – unified API for automating coding agents

https://github.com/rivet-dev/sandbox-agent
41•NathanFlurry•6d ago•7 comments
Open in hackernews

Show HN: Sandboxing untrusted code using WebAssembly

https://github.com/mavdol/capsule
19•mavdol04•2h ago
Hi everyone,

I built a runtime to isolate untrusted code using wasm sandboxes.

Basically, it protects your host system from problems that untrusted code can cause. We’ve had a great discussion about sandboxing in Python lately that elaborates a bit more on the problem [1]. In TypeScript, wasm integration is even more natural thanks to the close proximity between both ecosystems.

The core is built in Rust. On top of that, I use WASI 0.2 via wasmtime and the component model, along with custom SDKs that keep things as idiomatic as possible.

For example, in Python we have a simple decorator:

  from capsule import task

  @task(
      name="analyze_data", 
      compute="MEDIUM",
      ram="512mb",
      allowed_files=["./authorized-folder/"],
      timeout="30s", 
      max_retries=1
  )
  def analyze_data(dataset: list) -> dict:
      """Process data in an isolated, resource-controlled environment."""
      # Your code runs safely in a Wasm sandbox
      return {"processed": len(dataset), "status": "complete"}
And in TypeScript we have a wrapper:

  import { task } from "@capsule-run/sdk"

  export const analyze = task({
      name: "analyzeData", 
      compute: "MEDIUM", 
      ram: "512mb",
      allowedFiles: ["./authorized-folder/"],
      timeout: 30000, 
      maxRetries: 1
  }, (dataset: number[]) => {
      return {processed: dataset.length, status: "complete"}
  });
You can set CPU (with compute), memory, filesystem access, and retries to keep precise control over your tasks.

It's still quite early, but I'd love feedback. I’ll be around to answer questions.

GitHub: https://github.com/mavdol/capsule

[1] https://news.ycombinator.com/item?id=46500510

Comments

koolala•56m ago
It seems import to highlight these more. Aren't all the limitations of using this based around their limitations?

componentize-py – Python to WebAssembly Component compilation

+

jco – JavaScript toolchain for WebAssembly Components

I'm curious how Wasi 0.3 cross language components will go for something like this.

avaer•40m ago
I agree; this project looks impressive, but I'm guessing there are some rough edges in the transpilation "magic" that should be called out.

That's the crux of how usable this is going to be for people's use cases, and it's better to document the limitations upfront.

mavdol04•29m ago
I recreated many Node.js built-ins so compatibility is actually quite extended.

For Python, the main limitation is indeed C extensions. I'm looking for solutions. the move to WASI 0.3 will certainly help with that.

gregpr07•41m ago
Why go this route? Why Python is more powerful than JS is mostly because of third party plugins like pandas which are excplicitly not supported (C bindings, is this possible to fix?)...

At that point it might be just easier to convince the model to write JS directly

mavdol04•22m ago
I understand your point. I added native Python support because C extensions will eventually become compatible. Also, we might see more libraries built with Rust extensions appearing, which will be much easier to port to Wasm.
simonw•7m ago
You can run libraries like Pandas in WebAssembly in Pyodide - in fact Pandas works already. Here's a demo I built with it a while ago: https://tools.simonwillison.net/pyodide-bar-chart

It's not too hard to compile a C extension for Python to a WebAssembly and bundle that in a .so file in a wheel. I did an experiment with that the other day: https://github.com/simonw/tiny-haversine?tab=readme-ov-file#...

yohguy•14m ago
It looks really promising but I would love more examples as to how to actually use this with AI agents. Reading the homepage it is not clear if we are meant to have the Agent spun up and act fully in the sandbox (something like the HTTP example) or do we take the result code message from an AI agent and then run it dynamically (with eval?).

That being said this is useful even if it wasn't for the running AI agent code aspect, being able to limit ram and cpu usage and time outs makes it easier to run coding based games/applications safely (like battle snakes and Leetcode)

simonw•5m ago
The decorator syntax is neat but confusing to me - I would need to understand exactly what it's doing in order to trust it.

I'd find this a lot easier to trust it if had the Python code that runs in WASM as an entirely separate Python file, then it would be very clear to me which bits of code run in WASM.