frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Titan – JavaScript-first framework that compiles into a Rust server

https://www.npmjs.com/package/@ezetgalaxy/titan
22•soham_byte•5d ago
Hi HN,

I built Titan, a backend framework where you write routes and logic in JavaScript, and the CLI compiles everything into a single Rust + Axum binary using the Boa JS engine. No Node.js is required in production.

The idea is to keep JS developer experience while getting Rust performance and a self-contained deployable server.

Current features:

JS route DSL

Action system mapped to Rust

esbuild bundling

Generated Rust server with Axum

Hot-reload dev server

Single-binary output

Repo: https://github.com/ezet-galaxy/-ezetgalaxy-titan

Would love feedback on the architecture, DX, and whether this hybrid JS→Rust approach is useful.

Thanks for reading!

Comments

Terretta•1d ago
> Would love feedback on the … DX

Is it that the two extra characters 'an' in 'titan' are so difficult to type for the CLI, or is it just for the giggles when you 'dev'?

tigranbs•2h ago
TBH, the idea seems way outdated for the current state of software engineering. The Rust compiler provides a massive benefit for AI Coding because it literally catches all the failure cases, so all AI have to do is implement the logical parts, which is usually a no-brainer for something like a Claude Code or Codex.

For example, the https://github.com/SaynaAI/sayna has been mostly Claude Code + me reviewing the stuff + some small manual touches if needed, but for the most part, I have found that Claude Code writes way more stable Rust code than JS.

It would be easier and safer to give the JS code to a translator and have it translate it into Rust, and then continue AI Dev with Rust, than to invest time in an automated compiler from JS to Rust. IMHO!

Yokohiii•1h ago
Not everyone is doing the AIch
waterTanuki•2h ago
One of your merits listed is "Pure JavaScript developer experience". I don't think most devs, even JS devs would consider this a merit lol. Cool project either way.
isuckatcoding•2h ago
Tit? Really? Just two more letters.

Second, how does concurrency (like promises) translate to rust ?

jitl•2h ago
I guess as long as you have basically no business logic, perhaps it makes sense to orchestrate route handling in Rust?

But Boa is very very slow compared to JIT compiled JavaScript. As soon as your business logic starts trying to stand up and walk I think you’ll start hitting request latency sadness.

css_apologist•2h ago

    const body = JSON.stringify({
        model: "gpt-4.1-mini",
        messages: [{ role: "user", content: "hii" }]
    });

    const r = t.fetch("https://api.openai.com/v1/chat/completions", {
        method: "POST",
        headers: {
            "Content-Type": "application/json",
            "Authorization": `Bearer ${API_KEY}`
        },
        body
    });

    const json = JSON.parse(r.body);
.. no async? i wonder how they are doing this & how they plan on more js interop
pavelai•47m ago
While the idea is somewhat new for today's JS. And I see some benefits for this to make single-purpose servers compiled into tiny binaries. I believe it would take some time to make this popular. You should to find the niche where it's required right now. And also I would spend more time working on marketing: explainer, documentation, landing page. For example now the readme looks too ai-written

What's about code and DX: it's not a good practice to export anything using globals, this is what JS world refused to do long ago. It turns your code into a hardly debuggable mess quickly

wavemode•9m ago
> you write routes and logic in JavaScript, and the CLI compiles everything into a single Rust + Axum binary using the Boa JS engine

It's not clear to me how this would have better performance than plain Node.js, which is a C++ binary using the V8 JS engine.

It looks like you're handling routing in Rust, but this seems unlikely to move the needle measurably. In fact, it could be hurting you - you're basically betting that the rust program (route request + invoke JS interpreter + marshal data) is faster than the much simpler JavaScript program (route request). That doesn't seem likely.

Show HN: Titan – JavaScript-first framework that compiles into a Rust server

https://www.npmjs.com/package/@ezetgalaxy/titan
22•soham_byte•5d ago•9 comments

Show HN: Learn Japanese contextually while browsing

https://lingoku.ai/learn-japanese
53•englishcat•5h ago•24 comments

Show HN: brig – a devcontainer CLI in Go

https://github.com/nlsantos/brig
2•nsantos•28m ago•0 comments

Show HN: TheAuditor v2.0 – A “Flight Computer” for AI Coding Agents

https://github.com/TheAuditorTool/Auditor
24•ThailandJohn•16h ago•7 comments

Show HN: Sqlit – A lazygit-style TUI for SQL databases

https://github.com/Maxteabag/sqlit
132•MaxTeabag•1d ago•19 comments

Show HN: Interactive Common Lisp: An Enhanced REPL

https://github.com/atgreen/icl
87•atgreen•3d ago•5 comments

Show HN: Obsidenc – a Rust-based paranoid-grade encryption utility

https://github.com/markrai/obsidenc
2•markrai•2h ago•0 comments

Show HN: My Tizen multiplayer drawing game flopped, but then hit 100M drawings

https://www.drawize.com/
21•lombarovic•14h ago•2 comments

Show HN: I built the fastest RSS reader in Zig

https://github.com/superstarryeyes/hys
19•superstarryeyes•10h ago•2 comments

Show HN: Solving the ~95% legislative coverage gap using LLM's

https://lustra.news/
35•fokdelafons•16h ago•21 comments

Show HN: Deterministic PCIe Diagnostics for GPUs on Linux

https://github.com/parallelArchitect/gpu-pcie-diagnostic
14•gpu_systems•9h ago•4 comments

Show HN: Zenflow – orchestrate coding agents without "you're right" loops

https://zencoder.ai/zenflow
27•andrewsthoughts•14h ago•11 comments

Show HN: A real-time 4D fractal explorer in the browser using WebGPU

https://bryanjj.github.io/nebula/
24•bryan0•5d ago•8 comments

Show HN: A pager

https://www.udp7777.com/
100•keepamovin•2d ago•42 comments

Show HN: Python packages for FastAPI apps – auth, logging, config, LLM, more

https://github.com/Netrun-Systems/netrun-oss
4•DanielGarza•6h ago•1 comments

Show HN: Skouriasmeno Papaki – S3 transfer tool, up to 12x faster than AWS-CLI

https://github.com/NetViper-Labs/skouriasmeno-papaki
4•NetViper•7h ago•0 comments

Show HN: F. Incantatem – CLI, Decorator & notebook ext. for traceback analysis

https://github.com/aguilar-ai/fincantatem
2•Paralus•7h ago•0 comments

Show HN: AI Trolley Problem Arena

https://www.aitrolleyproblem.com/
8•justintorre75•7h ago•1 comments

Show HN: Picknplace.js, an Alternative to Drag and Drop

https://jgthms.com/picknplace.js/
27•bbx•14h ago•13 comments

Show HN: A24z – AI Engineering Ops Platform

https://www.a24z.ai/
8•brandonin•9h ago•4 comments

Show HN: Stop AI scrapers from hammering your self-hosted blog

https://github.com/vivienhenz24/fuzzy-canary
25•misterchocolat•10h ago•2 comments

Show HN: Search the lyrics of 500 HÖR Berlin techno sets

https://hor.greg.technology/
16•gregsadetsky•5d ago•11 comments

Show HN: Ducktape – a tiny HTTP/2 wrapper around DuckDB's Appender API

https://github.com/artie-labs/ducktape
9•williamhaw•14h ago•0 comments

Show HN: A community-curated list of BYOC (Bring Your Own Cloud) vendors

https://github.com/nuonco/awesome-byoc
9•realsharkymark•8h ago•0 comments

Show HN: Dev Tools – 24 browser-based utilities with no signup or tracking

https://dev-tools.online
3•ghdj•11h ago•0 comments

Show HN: Cordon – Reduce large log files to anomalous sections

https://github.com/calebevans/cordon
17•calebevans•1d ago•0 comments

Show HN: AI Generated SVG's

https://vectorart.ai
2•tm11zz•11h ago•0 comments

Show HN: Pothole Detection System (YOLOv8 – FastAPI – Docker – React Native)

https://github.com/PeterHdd/pothole-detection-yolo
2•peterhddcoding•13h ago•0 comments

Show HN: Kafkatop 2.0 – top for Kafka – rewritten in Go with partition analytics

https://github.com/sivann/kafkatop
2•sivann•14h ago•0 comments

Show HN: DuckDB Table Visualizer –> Iceberg

https://duckdb.org/visualizer/
2•carlopi•14h ago•0 comments