Project ideas from Hacker News discussions.

Temporal: The 9-year journey to fix time in JavaScript

📝 Discussion Summary (Click to expand)

Key take‑aways from the discussion

Theme What people said Representative quote
1. Adoption & ecosystem support Developers are excited that Temporal is finally shipping in major runtimes (Node, Deno, browsers) and that polyfills already exist. “I’ve been using it server‑side via the js‑temporal polyfill for some time, no issues.” – CharlesW
The rollout is still uneven, especially in Safari, but the trend is clear. “Deno has had it behind the --untable-temporal flag… removed the requirement for the flag and it is out of the box.” – WorldMaker
2. API design – explicit, immutable, type‑safe Temporal’s separation of Plain, Zoned, Instant types and immutability is praised as a major improvement over Date and Moment. “The main advantage of json is that it’s human readable… Temporal is typed; its serialization helpers aren’t, because there’s no single way to talk about types across serialization.” – jayflux
The verbosity is accepted as a trade‑off for correctness. “It’s a bit more verbose, but I’ll take writing a handful of extra characters over being called at 3 AM to fix a DST bug any day of the week.” – wesselbindt
3. Serialization & inter‑op concerns The fact that Temporal objects lose their prototype when stringified is a pain point for people who share data between client and server. “JSON.parse(JSON.stringify(Temporal.PlainYearMonth.from({year:2026,month:1})))… won’t work, because it misses the prototype.” – VanCoding
Solutions involve revivers or thin transform layers, and the debate touches on OOP vs functional style. “All Temporal objects are easily (de)serializable, though. .toString and Temporal.from work great.” – qcoret
4. Historical lineage & influence Many note that Temporal was inspired by Java’s JSR‑310 / Joda‑Time and that the design borrows from languages like C#’s NodaTime. “It’s a copy of Java’s JSR310, which in turn took many years to get right.” – andrewl‑hn
The discussion also touches on how other ecosystems (Java, C#, Python) shaped the spec. “The Temporal team made the right call… the API makes clear distinctions between the different types.” – rmunn

These four themes capture the bulk of the conversation: the excitement around real‑world adoption, the appreciation for a cleaner, immutable API, the practical challenges of serializing Temporal objects, and the historical context that explains why the design looks the way it does.


🚀 Project Ideas

Temporal Polyfill CDN & Runtime Optimizer

Summary

  • Provides a minimal, auto‑detecting Temporal polyfill bundle that works in Safari, older Node, Deno, Bun, and browsers without native support.
  • Includes automatic IANA tzdata updates via CDN and a lightweight serialization helper.
  • Core value: eliminates the need for developers to ship large polyfills or manage tzdata manually.

Details

Key Value
Target Audience Front‑end and back‑end developers using Temporal in mixed‑environment projects.
Core Feature CDN‑hosted, tree‑shakable Temporal polyfill with auto‑fallback, tzdata CDN, and built‑in JSON reviver/serializer.
Tech Stack ES modules, Rollup, CDN (Cloudflare Workers), Node.js, Deno, Bun.
Difficulty Medium
Monetization Revenue‑ready: subscription for premium CDN tier and custom tzdata updates.

Notes

  • “Can't wait for it to land in the server‑side runtimes” – bnb, apaprocki.
  • “Polyfill for Safari” – WorldMaker, bnb.
  • “Need to bundle tzdata” – nekevss, anowell.
  • Discussion around “polyfill size” and “runtime support” makes a CDN‑based solution attractive.

MPA PWA Offline Toolkit

Summary

  • A CLI that scans a multi‑page application, auto‑generates a ServiceWorker, precache manifest, and fallback pages with minimal config.
  • Uses Temporal for scheduling background sync and cache invalidation.
  • Core value: solves the “no high‑level PWA tools for MPAs” frustration.

Details

Key Value
Target Audience Web developers building MPAs who need offline support.
Core Feature Automatic ServiceWorker generation, precache, runtime caching, Temporal‑based sync scheduler.
Tech Stack Node.js, Workbox‑lite, Temporal, Rollup, Vite.
Difficulty Medium
Monetization Hobby

Notes

  • “Very happy for it finally being there!” – WorldMaker.
  • “No great high‑level tools for writing an MPA’s ServiceWorker” – WorldMaker.
  • “Workbox is bloated” – WorldMaker, timthetinker.
  • The tool directly addresses the pain points raised about PWA tooling for MPAs.

Temporal Serialization Helper Library

Summary

  • Provides automatic reviver/serializer for Temporal objects, type‑safe wrappers, and integration helpers for tRPC, Prisma, and GraphQL.
  • Supports JSON, CBOR, and custom binary formats.
  • Core value: removes the “prototype‑stripping” pain when sending Temporal data over the wire.

Details

Key Value
Target Audience Full‑stack TypeScript developers using Temporal across client/server.
Core Feature temporal-serialize/temporal-deserialize, type‑safe adapters, tRPC middleware, Prisma connector.
Tech Stack TypeScript, Node.js, tRPC, Prisma, CBOR, devalue.
Difficulty Medium
Monetization Revenue‑ready: one‑time license for enterprise use.

Notes

  • “Prototype‑stripping problem” – VanCoding, timthetinker.
  • “Need reviver” – anowell, devalue.
  • “Serialization is real pain” – many comments.
  • The library directly solves the serialization friction highlighted throughout the thread.

Temporal Migration Assistant

Summary

  • Static analysis tool that scans a codebase, identifies legacy Date/moment usage, and generates automated patches to replace them with Temporal APIs.
  • Includes unit‑test generation and a diff preview.
  • Core value: lowers the barrier to adopting Temporal in legacy projects.

Details

Key Value
Target Audience Legacy JavaScript/TypeScript codebases with heavy date usage.
Core Feature AST‑based refactoring, patch generation, test scaffolding, documentation snippets.
Tech Stack TypeScript, ESLint, jscodeshift, Jest.
Difficulty High
Monetization Hobby

Notes

  • “Need to move away from custom/minimal DT lib” – anowell.
  • “Temporal is great but hard to adopt” – many comments.
  • “Polyfill for Safari” – bnb, WorldMaker.
  • The assistant directly addresses the adoption friction and the need for automated migration.

Read Later