frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Rikta – A modular, TypeScript-first back end framework for Node.js

https://github.com/riktaHQ/rikta
2•riktar•17h ago
Hi HN,

I’ve been working on Rikta, a backend framework for Node.js designed to make building scalable TypeScript applications more intuitive and modular.

After working with various Node frameworks, I felt there was a need for something that strictly enforces modularity and provides powerful out-of-the-box integrations without the "magic" that often makes debugging difficult.

What is Rikta? Rikta is a collection of packages designed to work together seamlessly. It’s built around a core that handles the application lifecycle and dependency injection, allowing you to plug in exactly what you need.

Key Features:

Zero-Config Autowiring No imports: [], exports: [], or providers: [] arrays. Just decorate your class, and it works.

Fastify Powered: Built on top of Fastify for maximum performance and low overhead. Rikta is 32% faster than NestJS on average.

Built-in TypeScript Support: Developed in TS for TS. You get full type safety across your entire backend stack.

First-class Integrations: Native support for TypeORM (database) and Swagger (automatic API documentation) via @riktajs/typeorm and @riktajs/swagger.

Developer Experience: A dedicated CLI (@riktajs/cli) to scaffold components and manage the project structure efficiently.

Lightweight Core: The core remains lean; you only add the features your specific application requires.

Why I'm building this: The goal of Rikta is to bridge the gap between "unstructured" Express apps and "overly complex" enterprise frameworks. I wanted a developer experience that feels fast but results in a codebase that a team can maintain for years.

Looking for Feedback & Collaborators: The project is currently in its early stages, and I’m looking for the HN community to help shape its direction. I’d love to hear your thoughts on:

The modularity pattern and Dependency Injection implementation.

The integration of Swagger/OpenAPI as a default.

What's missing in your current Node.js backend workflow that Rikta could solve?

Documentation is available at rikta.dev. I'm looking forward to your critiques and suggestions!

Comments

bryanrasmussen•11h ago
Obviously any observation I make is limited by my experience, but my experience of the last few years is that hardly anyone uses 'this' anymore in JavaScript because everyone uses arrow function, generally mandated by leadership. This observation is of course just limited to the places I've worked.

So the @Get('/') index() { return { message: this.greetingService.getGreeting() }; } example was weird for me to see, although not unwelcome.

I am however not that great at Typescript, which again my experience of work is that most of the developers I encounter aren't, and just use it as a lightweight structuring tool for JavaScript.

The @ decorator is thus always hard for me to reason about what is actually going on.

On the other hand I might be using this in the new year [despite my relative incompetence in Typescript], if I decide to build my next project on Node (I am considering Elixir to use Phoenix, hence having to say "might"), all of which is a long-winded way of saying looks pretty interesting and nice work.

bryanrasmussen•11h ago
when I say "not unwelcome", I generally have not been overly traumatized by 'this' usage as some people have, its tricky nature being somehow enjoyable to my mind.
riktar•6h ago
Thanks for the feedback, Bryan! I really appreciate the honesty, and you’ve touched on a very real shift in the JS ecosystem.

Regarding the this and class-based approach: you’re absolutely right that the industry has leaned heavily towards functional patterns and arrow functions recently. The choice to use classes in Rikta is specifically to support Dependency Injection (DI).

In modular backend systems, DI makes it much easier to manage services (like the GreetingService in the example) and, more importantly, makes unit testing significantly simpler because you can easily swap real services for mocks.

As for the decorators (@): I completely understand why they can feel like "magic" or be hard to reason about. In Rikta, we use them to declaratively attach metadata to your code (e.g., "this method should handle GET requests"). It keeps the boilerplate out of your logic, but I realize it requires a bit of a mental shift if you're used to a more literal, functional style.

Don't worry about the "TypeScript competence" part! One of my goals with Rikta is actually to provide enough structure so that you don't have to be a TS wizard to build something solid. The framework handles the "heavy lifting" of the types, leaving you to focus on your business logic.

Elixir and Phoenix are fantastic choices (concurrency there is hard to beat!), but if you do decide to stick with Node for your next project, I’d love to have you try Rikta. Feel free to reach out if you hit any walls—I’m always looking to make the "getting started" experience smoother for everyone, regardless of their TS experience level.

Thanks again for the kind words!

Grok hasn't paywalled its deepfake image feature

https://www.theverge.com/news/859309/grok-undressing-limit-access-gaslighting
1•ozempicgandalf•39s ago•0 comments

A lot could happen in space this year

https://arstechnica.com/space/2026/01/here-are-the-launches-and-landings-were-most-excited-about-...
1•rainallday•3m ago•0 comments

Golomb-Rice coding for compressing a set of hashes

https://www.johndcook.com/blog/2026/01/09/golomb-rice/
1•ibobev•3m ago•0 comments

LLM Memory Is Broken

https://philippdubach.com/posts/summarizing-conversation-history/
2•7777777phil•4m ago•0 comments

GLX: A Bash Replacement–Oriented Programming Language for System Scripting

1•danishk-sinha•5m ago•0 comments

AI gig work explainer [video]

https://www.youtube.com/watch?v=JQ5i_zkiZrw
2•RitesofThing•7m ago•0 comments

So, you want to serialize a B-Tree?

https://kerkour.com/btree-serde-sqlite
2•redcannon218•7m ago•0 comments

ICE Is What Happens When America Refuses to Learn from Black History

https://jemartisby.substack.com/p/ice-is-what-happens-when-america
3•TheUtleyPost•7m ago•0 comments

The Realities of Generative AI in Software Engineering

https://medium.com/takealot-engineering/the-realities-of-generative-ai-in-software-engineering-e1...
1•igitur•10m ago•0 comments

HEINEKEN's Digital Transformation: Why Change Management Comes First?

https://virtocommerce.com/blog/heineken-change-management
1•lizzieyo•10m ago•0 comments

Orbital Rocket Simulation

https://www.donutthejedi.com/
4•tgig•11m ago•1 comments

The 1000 Commits Problem

https://davekiss.com/blog/the-1000-commits-problem
2•foltik•12m ago•0 comments

The Value of Technological Progress

https://worksinprogress.co/issue/the-value-of-technological-progress/
1•ortegaygasset•12m ago•0 comments

Apple's John Ternus Could Be Tim Cook's Successor as CEO

https://www.nytimes.com/2026/01/08/technology/apple-ceo-tim-cook-john-ternus.html
1•tosh•12m ago•0 comments

How problematic is resampling audio from 44.1 to 48 kHz?

https://kevinboone.me/sample48.html
1•brewmarche•12m ago•0 comments

Ollee Watch one: Drop-in smart PCB for Casio F‑91W

https://www.olleewatch.com/shop/p/ollee-watch-one-kit
1•Lwrless•13m ago•0 comments

Code Review in the Age of AI

https://addyo.substack.com/p/code-review-in-the-age-of-ai
1•ostenbom•13m ago•0 comments

GLX: A New Programming Language, Replacement for Bash and Other Shell

1•danishk-sinha•16m ago•0 comments

Cloudflare: /cdn-cgi/ Endpoint

https://developers.cloudflare.com/fundamentals/reference/cdn-cgi-endpoint/
2•tosh•17m ago•0 comments

If you think you are good at math, you need to change your major out of STEM [video]

https://www.youtube.com/watch?v=7s8PfNFeKkQ
1•CGMthrowaway•20m ago•1 comments

Show HN: RCS Composer – a visual editor that outputs RBM JSON

1•lukaslukas•20m ago•0 comments

MCP CLI: Dynamic discovering and interacting with MCP servers

https://github.com/philschmid/mcp-cli
1•philschmidxxx•20m ago•1 comments

A Year of MCP: From Internal Experiment to Industry Standard

https://www.pento.ai/blog/a-year-of-mcp-2025-review
1•leopiney•22m ago•0 comments

Ash HN: Excavating Decision Archaeology

2•brihati•22m ago•0 comments

Scroll to Accept? – AI's pull-to-refresh moment

https://ideas.fin.ai/p/scroll-to-accept
1•destraynor•23m ago•0 comments

Automatic TLS Certificates for Common Lisp with pure-TLS/acme

https://atgreen.github.io/repl-yell/posts/pure-tls-acme/
1•todsacerdoti•23m ago•0 comments

You Can't Debug a System by Blaming a Person

https://humansinsystems.com/blog/you-cant-debug-a-systems-by-blaming-a-person
2•yunusozen•24m ago•0 comments

Beating the House for the Love of Math

https://advantage-player.com/blog/from-excel-to-web-blackjack-calculator
1•prolly97•24m ago•1 comments

AngelScript

https://en.wikipedia.org/wiki/AngelScript
3•flykespice•27m ago•0 comments

An alternative to code mode: serverless MCP

https://www.speakeasy.com/blog/how-we-reduced-token-usage-by-100x-dynamic-toolsets-v2
2•ndimares•28m ago•0 comments