Project ideas from Hacker News discussions.

Rewriting Bun in Rust

📝 Discussion Summary (Click to expand)

Summary of the most common themes in the discussion

Theme Key Insight & Supporting Quote
1. Economic cost of the LLM‑driven rewrite > “around $165,000 at API pricing” — duhhhhh1212
2. Maintainability / “vibe‑coding” worries > “They turned it into something unreadable.” — silver_silver
> “This blog post is an ad for Claude, nothing more.” — silver_silver
3. Perceived PR/marketing motive of Anthropic > “People say a lot of things, especially when they have a vested interest in a positive outcome.” — silver_silver
4. Language‑specific trade‑offs (Zig vs. Rust) > “Zig’s explicitness and lack of abstraction have a real cost that it is basically one of the most verbose programming languages I've ever seen, it’s somehow even more verbose than Go.” — YuechenLi

These four points capture the predominant viewpoints: the high financial cost, concerns over code readability and the “vibe‑coding” approach, suspicions of Anthropic’s promotional intent, and the language‑level debate around Zig’s verbosity versus Rust’s safety.


🚀 Project Ideas

Generating project ideas…

LLM‑Audit: Provenance & Verification Service for Large‑Scale Code Ports

Summary

  • Detects and flags AI‑generated or heavily modified sections in codebases, providing a trustworthy audit trail.
  • Addresses HN frustration over opaque LLM rewrite processes and maintainability concerns.
  • Core value: Immutable, verifiable provenance for every commit touched by LLMs.

Details

Key Value
Target Audience Open‑source maintainers, LLM‑tooling engineers, corporate dev‑ops teams
Core Feature Automatic diff analysis + blockchain‑style immutable signature of AI‑generated patches
Tech Stack Rust backend, PostgreSQL, IPFS for storage, Web UI (React + TypeScript)
Difficulty Medium
Monetization Revenue-ready: Subscription (tiered per repo GB)

Notes

  • HN users repeatedly asked for “proof that the rewrite is safe” – this service directly answers that.
  • Generates a shareable provenance badge that can be embedded in READMEs, sparking discussion and trust.

Test‑Craft: Automated Regression Suite Generator for LLM‑Rewritten Projects

Summary

  • Creates exhaustive, deterministic test suites from existing behavior specifications when a project is ported with LLMs.
  • Solves the “how do you review +1 M line PR?” pain point highlighted in the blog post.
  • Core value: Guarantees functional parity without manual effort.

Details

Key Value
Target Audience Project maintainers, QA engineers, LLM‑assisted developers
Core Feature Generates test harnesses by inferring input‑output pairs from runtime traces and writes them in the target language
Tech Stack Python (pandas for analysis), Rust (core engine), Docker for isolation, FastAPI front‑end
Difficulty High
Monetization Revenue-ready: Pay‑per‑test‑run (micro‑transactions)

Notes

  • Commenters like “theLiminator” praised strong test suites; this tool makes that feasible at scale.
  • Enables practical utility for any future LLM‑driven rewrite, reducing reviewer workload.

ProvenanceDB: Immutable Ledger for AI‑Mediated Code Evolution

Summary

  • Stores a tamper‑proof ledger of every AI‑generated change across a repository’s history.
  • Mirrors HN concerns about “gaslighting” and lack of transparency in LLM rewrites.
  • Core value: Trust through verifiable, time‑stamped audit logs.

Details

Key Value
Target Audience Open‑source maintainers, legal/compliance teams, security auditors
Core Feature Append‑only logs with cryptographic signatures; API for querying change origins
Tech Stack Go (core), LevelDB, GraphQL gateway, Web dashboard (Vue)
Difficulty Medium
Monetization Revenue-ready: Usage‑based pricing (per 10k events)

Notes

  • HN discussions often cited “thevinter” and “rvz” about assuming model capabilities; this tool makes those assumptions auditable.
  • Sparks community dialogue by exposing exactly which lines were AI‑written.

BinaryShrink: LLM‑Optimized Cross‑Language Binary Size Reducer

Summary

  • Applies aggressive linker and LTO tricks automatically after an LLM rewrite, cutting binary size by ~20% as seen in the Bun case.
  • Directly addresses HN frustrations about “binary bloat” and “unreadable” generated code.
  • Core value: One‑click size reduction with provenance verification.

Details

Key Value
Target Audience System‑level engineers, performance‑critical teams, library maintainers
Core Feature Takes compiled artifacts, runs automated analysis, applies cross‑language LTO, strip unused sections, and outputs optimized binaries
Tech Stack Rust (CLI), clang/LLVM passes, Python orchestrator, SQLite for metadata
Difficulty Low
Monetization Hobby

Notes

  • Community members like “simonw” and “theLiminator” noted Rust’s suitability for size‑optimized builds; this tool extends that benefit to any LLM‑ported code.
  • Provides practical utility for anyone shipping binaries after a rewrite.

ContractGuard: LLM‑Assisted Cross‑Language Contract Validation

Summary

  • Validates interface contracts (e.g., API signatures, data schemas) when code is translated between languages by LLMs.
  • Tackles the “maintainability” and “unreadable” concerns voiced by users like “egorfine” and “silver_silver”.
  • Core value: Guarantees that LLM‑generated glue code respects strict typing and safety contracts.

Details

Key Value
Target Audience API designers, library maintainers, microservice architects
Core Feature Parses source and target language definitions, generates runtime assertions and static checks, reports mismatches
Tech Stack TypeScript (frontend), Rust (analysis engine), PostgreSQL (schema store), Next.js UI
Difficulty Medium
Monetization Revenue-ready: Enterprise licensing (per seat)

Notes

  • HN users repeatedly mentioned “maintainability” and “readability” issues; this service directly mitigates them.
  • Enables discussion around safer LLM‑driven integrations and could become a standard in CI pipelines.

Read Later