frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Is HTML-like markup a bad idea for programmatic video generation?

https://github.com/xxatsushixx/htmlv
1•tojikomorin•5h ago

Comments

tojikomorin•5h ago
Hi HN,

I've built several programmatic video generation systems for work over the past few years (ads, social videos, automated clips, etc.), and I kept running into the same frustration: > Every project ended up reinventing a slightly different DSL for timelines, layers, animations, and transitions. Despite very different use cases, the code always converged into the same patterns: - layout + timing - repeated elements over time - imperative glue code to manage state and sequencing Meanwhile, web developers already have decades of experience solving similar problems with HTML, CSS, and the DOM — just not over time. So as an experiment, I started building htmlv: > an HTML-inspired markup language for video, where the DOM exists along a timeline instead of an infinite vertical scroll.

GitHub: https://github.com/xxatsushixx/htmlv

# Core idea - Time-based layout instead of vertical layout - A temporal DOM where repeating elements extend time, not height - Reuse familiar concepts: HTML structure, CSS styling, JavaScript-driven DOM updates - Fixed viewport (aspect-ratio aware), closer to video than documents This is not meant to replace video editors or After Effects. The target is code-first video generation where: - content is data-driven - layouts are reusable - engineers (not motion designers) own the pipeline

# Example Structure <!DOCTYPE htmlv> <html> <head> <title>Sample Video</title> <link rel="stylesheet" href="styles.css"> <script src="script.js"></script> <meta name="seed" content="12345"> <meta name="framerate" content="30fps"> <meta name="compile-mode" content="precompile"> </head> <body> <scene style="time-length: 10s; scene-transition: fade 2s;"> <text class="title">Welcome to htmlv</text> </scene> <scene style="time-length: 15s;"> <video src="background-loop.mp4"></video> <scene> <text class="subtitle">Creating videos with code</text> </scene> </scene> </body> </html>

# Why I'm posting Before investing more time, I'd really like feedback from people who've: - built video pipelines - designed DSLs - worked on media tooling - or have strong opinions about why this is a terrible idea Questions I’m wrestling with: - Is HTML a fundamentally bad mental model for time-based media? - Does this become unmaintainable at scale? - Am I underestimating how different “time” is from “layout”? - Are there existing tools or standards I should study more closely? I’m not looking for validation — criticism is very welcome. If this is doomed, I’d much rather know why early.

Thanks in advance for any thoughts, advice, or brutal feedback.

stop50•2h ago
There is already a standard you might want to look at: SMIL(Synchronized Multimedia Integration Language)

DHRUV64: India's First 1.0 GHz, 64-bit dual-core Microprocessor

https://www.pib.gov.in/PressNoteDetails.aspx?NoteId=156505&ModuleId=3&reg=3&lang=1
1•rilawa•19s ago•0 comments

Fighting Big Tech: Slack vs. Microsoft Teams [video]

https://www.youtube.com/watch?v=tO3SJiB8agI
1•binjo•2m ago•1 comments

US suspends technology deal with the UK

https://www.ft.com/content/afd45e58-5351-4379-8f7e-5788da3d2e20
1•robtherobber•2m ago•0 comments

Show HN: Visualize Meeting Transcripts into Flows and Mind Maps (Offline)

https://selfoss.app/
1•shobankr•3m ago•0 comments

Don't fear Python subprocess or Go codegen

https://benhoyt.com/writings/jubilant/
1•benhoyt•3m ago•0 comments

Show HN: Visualizing when you forget what you learn

https://flashmind-app.vercel.app/
1•rogimatt•7m ago•0 comments

Deep Dive in Java vs. C++ Performance

https://johnnysswlab.com/deep-dive-in-java-vs-c-performance/
2•ibobev•9m ago•0 comments

Aliasing

https://xania.org/202512/15-aliasing-in-general
1•ibobev•10m ago•0 comments

Experiment to train rats to play Doom reaches a new level: shooting enemies

https://www.tomshardware.com/virtual-reality/rats-are-still-being-taught-to-play-doom-now-with-a-...
1•rbanffy•10m ago•0 comments

Lightweight Cardinality Estimation with Density

https://buttondown.com/jaffray/archive/lightweight-cardinality-estimation-with-density/
1•ibobev•11m ago•0 comments

Cutting chatbot costs and latency by offloading queries to local guardrails

https://tanaos.com/blog/cut-guardrail-costs/
1•rlucato•11m ago•0 comments

Warper: Ultra-Fast React Virtualization

https://warper.tech/
1•handfuloflight•12m ago•0 comments

TPAC 2025 Breakouts Recap

https://www.w3.org/blog/2025/tpac-2025-breakouts-recap/
1•pentagrama•13m ago•0 comments

Image Translator – AI-Powered Photo Translation Tool

https://www.imagetranslatorai.app/
1•Irving-AI•15m ago•0 comments

Senators Investigate Role of A.I. Data Centers in Rising Electricity Costs

https://www.nytimes.com/2025/12/16/business/energy-environment/senate-democrats-electricity-price...
1•fleahunter•19m ago•0 comments

How Sustainable Is This Crazy Server Spending?

https://www.nextplatform.com/2025/12/15/how-sustainable-is-this-crazy-server-spending/
1•rbanffy•20m ago•0 comments

AI Ideas That Only Work Because It's 2026

1•suhaspatil101•25m ago•1 comments

Ask HN: Please, review wordoid2.com, a smart naming webapp inspired by original

https://wordoid2.com/
1•aleks5678•26m ago•1 comments

Show HN: Spec-AGENTS.md – A tiny Doc-Driven "spec" for AI coding tools

https://github.com/yibie/SPEC-AGENTS.md
1•oliverchan2024•27m ago•1 comments

Nvidia B200: Keeping the CUDA Juggernaut Rolling Ft. Verda (Formerly DataCrunch)

https://chipsandcheese.com/p/nvidias-b200-keeping-the-cuda-juggernaut
1•rbanffy•32m ago•0 comments

ArkhamMirror: Airgapped investigation platform with CIA-style hypothesis testing

https://github.com/mantisfury/ArkhamMirror
2•ArkhamMirror•33m ago•1 comments

Cloudflare Radar: The rise of AI, post-quantum, and DDoS attacks

https://blog.cloudflare.com/radar-2025-year-in-review/
1•furkansahin•33m ago•0 comments

Cloudflare Is Experiencing Increased Error Rates Accessing R2 from ENAM

https://www.cloudflarestatus.com/incidents/0z4xng0gllq7
1•ouked•33m ago•0 comments

I ported JustHTML from Python to JavaScript with LLMs in 4.5 hours

https://simonwillison.net/2025/Dec/15/porting-justhtml/
1•genericlemon24•34m ago•0 comments

King of Cannibal Island: Will the AI Bubble Burst?

https://www.lrb.co.uk/the-paper/v47/n23/john-lanchester/king-of-cannibal-island
1•ostacke•35m ago•1 comments

AI space datacenters are impossible

https://ulveon.net/p/2025-12-15-ai-space-datacenters-are-literally-impossible/
2•kevin061•36m ago•0 comments

The Specification Renaissance? Skills and Mindset for Spec Driven Development

https://blog.scottlogic.com/2025/12/15/the-specification-renaissance-skills-and-mindset-for-spec-...
2•furkansahin•36m ago•0 comments

Dispatches

https://rodgercuddington.substack.com/p/dispatches
1•freespirt•36m ago•0 comments

Show HN: ToneFit AI – strength workouts generated from goal, time and equipment

https://www.tonefitai.com/
1•SidDaigavane•36m ago•0 comments

Reflections on U.S. Government Outreach to Think Tanks

https://www.brookings.edu/articles/who-influences-whom-reflections-on-u-s-government-outreach-to-...
1•SiempreViernes•36m ago•0 comments