Repository

mplemay/belgie

Belgie

Generative AI/UI Sandbox for Python

7stars

Open github.com

mplemay/belgie

Belgie

A Python library that embeds Deno to run JavaScript and TypeScript securely within Python applications.

Visit project

Show me a random project

First shared
Jul 6, 2026
HN activity
51

Show HN@mplemay97Jul 6, 2026

Show HN: Belgie – Run TypeScript from Python in an Embedded Deno Sandbox

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.

Community

Hacker News discussion

Loading the thread…