Belgie
Run TypeScript from Python in an Embedded Deno Sandbox
Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.
Want to reach these readers? Sponsor an issue.
Hi HN! I built Belgie, a Python library that embeds Deno, allowing Python applications to run JavaScript and TypeScript without requiring Node.js or Deno to be installed on the host system. It supports the features you’d expect from Deno (npm, JSR, and URL imports, isolated package environments, etc.), plus:- Pass JSON-safe values seamlessly between Python and JavaScript.- Agentic code generation with typed interfaces, similar to Pydantic’s Monty.- Manage dependencies programmatically or from the CLI.
HN · launched Jul 6, 2026 · 5 upvotes (top 89%) · 0 views
Niche: code execution sandboxes · 37 launches, 0 in the last 7 days · Explore this niche →
Category and tags
- Horizontal
- Dev tools
- Developer
- Not AI
- Hobby / open-source project
Visit website ↗ Source listing ↗
More like this: all 37 launches in code execution sandboxes →
Could you build this?
Partial Exposing a basic runtime wrapper is feasible, but embedding Deno's Rust engine into a cross-platform Python C-extension with full sandbox control is complex.
What it would actually take: Requires writing a Rust library wrapping `deno_core` and the V8 engine, exposed to Python using PyO3 or CFFI, with custom module loaders that replicate Deno's network and file isolation permissions. The difficulty lies in managing thread boundaries, memory translation between Python and V8 heaps, and bundling self-contained precompiled binaries across OS architectures without host dependencies. Demands Rust-Python FFI and V8 embedding expertise.
Discussion
1 comment analyzed.
Competitors mentioned: yt-dlp
Competitors
Other products that read as similar to this one : 255 launches clear the similarity bar, closest 8 shown.
Attention rank: #238 of 256 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).
Launched 244 days after the earliest competitor.
- Myjs An accidental pure-Python JavaScript interpreter · hn · 2026-09-05 · 7 upvotes · similarity 0.50
- Crust · hn · 2026-03-17 · 95 upvotes · similarity 0.48
- SharpTS · hn · 2026-01-09 · 6 upvotes · similarity 0.46
- rustbox · ph · 2026-11-02 · 1 upvotes · similarity 0.46
- ts-polyglot · ph · 2026-10-27 · 5 upvotes · similarity 0.45
- motherload · github · 2026-10-06 · 10 upvotes · similarity 0.44
- Titan · hn · 2025-12-11 · 49 upvotes · similarity 0.44
- Mystral Native · hn · 2026-01-27 · 50 upvotes · similarity 0.44
The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.