frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: M0saic – deterministic video compiler (CLI, web, desktop)

https://m0saic.io
1•m0saic-dev•55m ago
Hi HN! https://m0saic.io/go/hn-make-hello

I'm Quentin. I've just published my longterm project - excited to share! m0saic is a video compiler. Typescript programs define an explicit spatial layout via a string DSL (m0), and configure what goes into each independent rect over a shared timeline. This media intent IR gets lowered to a series of ffmpeg invocations, which produce the intended media artifact deterministically.

I got interested in this originally when I was younger and made Call of Duty montages on YouTube. I made compilations and whatnot and found it tedious to do some of the "structural" work I suppose (like making a 2x2 layout, other effects). I had saved project files to help me make similar style content over time, but found myself wanting more control. Around then sometime I stumbled into ffmpeg and got into media production and automation as a hobby.

I later designed a string DSL for layout, answering roughly how could I represent any arbitrary set of rectangles in an arbitrary canvas in one blob? This led to the m0 DSL. If interested, below link has some of my original derivation records https://m0saic.io/go/hn-substack Or if you just want to see a quick visual example, here is a somewhat complex example (a github commit graph geometry) that shows the idea: https://m0saic.io/go/hn-layout-year

Anyways, that layout language is the base, and I've built a template based media program on top. There's a CLI, Web Editor, and Desktop Editor. No external dependencies other than ffmpeg and resvg for the CLI. Templates are specific media programs that define input props and produce the IR the compiler can turn into pixels.

I've been exploring different verticals for usecases (more on site). I believe headless automation and CI do well with this workflow. Templates are low-cost once written, and can encode specific media operations into essentially a deterministic func from props to pixels. I have not set out to create an agentic video editing platform, though the compiler framing of this project I've found to play really well with LLMs. I've been able to have reproducible, debuggable and structured working sessions as opposed to a one shot result. Read more here: https://m0saic.io/agent

Some of what I think makes this different: - Layout is a small string algebra and it is closed under composition. There is only integer arithmetic, so the same string resolves to the same rects on any machine and any language that implements the grammar. - This compact "blob" form is suitable for travel across contexts, and can inherently be interpreted the same across them. - Templates improve through composition - once good primitives exist, higher level templates can compose them into more complex results. - Can be installed headless on a Linux worker, or a rich visual editing experience exists for developer/end user in the desktop Electron app. Underlying render functionality of templates remains the same, different audience.

The product has open source components - I've open sourced everything except for the compiler itself and the web/desktop app. Website has links to npm and GitHub.

Thank you for reading - I'd love feedback and thoughts!

When Claude CLI asks for feedback, responding authorizes conversation capture

1•mmaunder•1m ago•0 comments

It's Raining Boxes: Amazon Drones Overwhelm a Texas Suburb

https://www.nytimes.com/2026/09/21/us/politics/amazon-drone-delivery-texas.html
1•ilamont•1m ago•0 comments

Jev, Prolog, Pi, and the dream of probabilistic logic programming

https://deepclause.substack.com/p/jev-prolog-pi-and-the-dream-of-probabilistic
1•arto•2m ago•0 comments

JevEmon: Typed Decisions over GBA RAM to Walk Pokémon FireRed

https://github.com/daniel4x/JevEmon
1•alfasiii•2m ago•0 comments

I made an LLM using 521 Jev models

https://jevs.chat/
1•skillseeddev•3m ago•1 comments

We Write Code by Hand

https://handcraftedcode.org/
1•batmang•3m ago•0 comments

Show HN: I built a camera that you talk with instead of seeing your own face

https://www.makiroll.app
1•madsmadsdk•4m ago•0 comments

I Don't Want to Read What You Didn't Write

https://blog.colinbreck.com/i-dont-want-to-read-what-you-didnt-write/
1•cyndunlop•6m ago•0 comments

Bunker mentality: the Nordics' cold war shelters being given a new lease of life

https://www.theguardian.com/artanddesign/2026/sep/21/bunker-mentality-nordics-cold-war-shelters-s...
1•bookofjoe•8m ago•0 comments

How to Bring a Geothermal Well Back from the Dead

https://www.wired.com/story/zanskar-geothermal-well-back-from-dead/
1•jahnu•8m ago•0 comments

A unified evolutionary explanation of Parkinson's disease

https://pubmed.ncbi.nlm.nih.gov/42586095/
1•e12e•11m ago•1 comments

Show HN: I analysed 169,123 Chess Olympiad moves and gave out 132 silly awards

https://www.olympiadstats.fun
2•pompomltd•11m ago•0 comments

ChatGPT Is a Nightmare (A Lesson on Bad UX)

https://saasexperts.co/blog/how-to-use-chatgpt-desktop-bad-ux/
1•feech•11m ago•2 comments

Abolish Patents

https://gomakethings.com/articles/abolish-patents/
2•surprisetalk•12m ago•0 comments

Website toolbox with super simple AI builder

https://nanomo.app/login
1•mountain-hawk•13m ago•0 comments

Visions in Uzbekistan

https://animationobsessive.substack.com/p/visions-in-uzbekistan-828
2•vinhnx•13m ago•0 comments

How to Make Your AI Agent EU AI Act Compliant: A Practical Guide

https://medium.com/@MirArshadTalpur/how-to-make-your-ai-agent-eu-ai-act-compliant-a-practical-gui...
1•Arshad-Talpur•16m ago•0 comments

Show HN: Sokkan – an HITL Claude Code cockpit that remembers, at session startup

https://github.com/ninabot-ch/sokkan
1•micaudn•19m ago•1 comments

Show HN: Open-source shared memory for teams of AI coding agents

https://github.com/motif-Labs/motif
1•merthdotxyz•19m ago•0 comments

Googlebook: The laptop your Android phone has been waiting for

https://blog.google/products-and-platforms/devices/googlebook/pre-order-googlebook/
2•thm•22m ago•1 comments

Australia considers banning the use of smart glasses in government buildings

https://www.reuters.com/business/media-telecom/australia-considers-banning-use-smart-glasses-gove...
1•MC995•23m ago•1 comments

You're Already a Meat Proxy

https://twitter.com/obie/status/2101779116056088732
2•obiefernandez•24m ago•0 comments

Et Tu, MacBook? Unprivileged Keystroke Inference via Built-In IMU Side Channel

https://arxiv.org/abs/2609.21569
3•sbulaev•25m ago•0 comments

DeepSeek is training a 2T-parameter model and plans to build an 8T-parameter one

https://twitter.com/wallstengine/status/2101982843656388644
3•theanonymousone•25m ago•0 comments

OpenAI Weighs Funding Round at over $1.2T Valuation

https://www.bloomberg.com/news/articles/2026-09-15/openai-weighing-funding-round-at-over-1-2-tril...
2•dgellow•27m ago•0 comments

HP Googlebook 14c

https://www.hp.com/us-en/shop/pdp/hp-googlebook-14c-cf0815nr
2•theanonymousone•29m ago•0 comments

Beyond Ukraine: Why Europe is preparing for a wider conflict

https://www.cnn.com/2026/09/21/politics/nato-prepares-russia-widen-ukraine-war-mcgurk
3•rawgabbit•29m ago•0 comments

LM Studio is a free desktop app to run local LLMs on your own computer

https://www.lm-studio.net/
1•wsm123456•29m ago•1 comments

Leaving US Big Tech in a Week

https://yves.vg/blog/leaving-us-big-tech-in-one-week.html
2•yvg0•31m ago•0 comments

A never-ending childhood of malaria

https://ourworldindata.org/a-never-ending-childhood-of-malaria
1•surprisetalk•32m ago•0 comments