SIX-SEVEN
Invented by @splch · · 424,991

The Sails.js, Inertia.js, Xapian, Saturn, Elasticsearch, Varnish, electron, and n8n Stack

The SIXSEVEN Stack

The SIXSEVEN stack is a polyglot, distributed architecture designed for high-performance applications that need both flexible backend services and sophisticated desktop experiences. At its core, Sails.js provides the primary Node.js MVC framework, handling real-time server-side routing and controller logic with built-in WebSocket support for live data synchronization. Inertia.js sits on top of Sails, allowing us to render interactive React, Vue, or Svelte frontends without building a separate SPA—requests hit server-side controllers that return pre-rendered component state, keeping the developer experience lean and the data flow predictable. For applications requiring specialized full-text search capabilities alongside Elasticsearch, Xapian operates as a secondary search index optimized for specific query patterns and offline-first scenarios where Elasticsearch might be overkill or unavailable.

The stack handles scale and performance through a strategic caching and search layer. Varnish Cache sits in front of the Sails application, aggressively caching HTTP responses and taking load off the backend for common queries. Elasticsearch powers the primary distributed search engine for large datasets and analytics, while n8n orchestrates complex workflows—connecting services, transforming data between systems, and triggering background jobs based on application events. Saturn, our F# functional MVC framework, runs alongside Sails in a service-oriented capacity, handling computationally intensive or business-critical operations that benefit from functional paradigms and static typing. For desktop and cross-platform delivery, Electron wraps the same Inertia.js frontend code, allowing us to ship native desktop applications without maintaining separate codebases. This combination gives teams a pragmatic, layered approach to building modern applications that scale across web, API, and desktop surfaces.