Source: https://seerepo.com/compare/balderdashy/sails/vs/TriliumNext/Trilium
Markdown source: https://seerepo.com/compare/balderdashy/sails/vs/TriliumNext/Trilium.md
Description: sails and Trilium share 3 technologies: Express, express-session, and EJS. sails is written in JavaScript and Trilium in TypeScript.

# sails vs Trilium

sails and Trilium share 3 technologies: Express, express-session, and EJS. sails is written in JavaScript and Trilium in TypeScript.

- [balderdashy/sails](https://seerepo.com/r/balderdashy/sails): Realtime MVC Framework for Node.js
- [TriliumNext/Trilium](https://seerepo.com/r/TriliumNext/Trilium): Build your personal knowledge base with Trilium Notes

## What they share and what sets them apart

- In common: Express, express-session, EJS
- Only in sails: Nunjucks
- Only in Trilium: Preact, reveal.js, Vite, Electron, SQLite, MCP, Anthropic, WXT, OpenAI, Bootstrap, lightningcss, MapLibre, Excalidraw, tabulator-tables, @floating-ui/dom, react-zoom-pan-pinch, fullcalendar, Mermaid, CodeMirror, gridstack, react-window, D3, boxicons, dompurify, marked, katex, qrcode-generator, sherpa-onnx-node, gifenc, pngjs, opentype.js, ttf2woff2, appcompat, coordinatorlayout, androidx.core:core-splashscreen, helmet, openid-client, tesseract.js, node-html-parser, jimp, @hyzyla/pdfium, is-svg, js-yaml, officeparser, unpdf, Zod, @catppuccin/codemirror, @lezer/highlight, Replit, codemirror-lang-elixir, codemirror-lang-hcl, ssddanbrown, exceljs, numfmt, highlight.js, pdfjs-dist, ai, ai-sdk, OpenRouter, sanitize-filename, xml2js, @braintree/sanitize-url, sanitize-html, sax, turndown

## Side by side

| | sails | Trilium |
|---|---|---|
| Size | 39,542 lines written, 111 code files | 855,748 lines written, 1,930 code files |
| Who writes it | 0% of its commits signed by AI | 14.7% of its commits signed by AI. With Claude Code, Gemini CLI, GitHub Copilot, and Amp |
| Activity | Last push May 27, 2026, 6,261 commits, 22,775 stars | Last push November 6, 2026, 36,283 commits, 38,725 stars |
| Tests | 98 test files. 4.5% of its code files have a test that imports them | 1,553 test files. 73.1% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, sails or Trilium?

Trilium, with 855,748 lines written; sails has 39,542.

The proof: [TriliumNext/Trilium's code at commit 7f12054](https://github.com/TriliumNext/Trilium/tree/7f120547683e6ff21cdb34b0763dde07b41ea1d4)

### Which has more GitHub stars, sails or Trilium?

Trilium, with 38,725 stars; sails has 22,775.

The proof: [TriliumNext/Trilium on GitHub](https://github.com/TriliumNext/Trilium)

### Which has more tests, sails or Trilium?

Trilium, with 1,553 test files; sails has 98.

The proof: [TriliumNext/Trilium's code at commit 7f12054](https://github.com/TriliumNext/Trilium/tree/7f120547683e6ff21cdb34b0763dde07b41ea1d4)

### Which was updated more recently, sails or Trilium?

Trilium: its last push was on November 6, 2026, and sails's on May 27, 2026.

The proof: [TriliumNext/Trilium's commits on GitHub](https://github.com/TriliumNext/Trilium/commits)

### Which has more commits signed by AI, sails or Trilium?

Trilium: an AI signed 14.7% of its commits, with Claude Code, Gemini CLI, GitHub Copilot, and Amp.

The proof: [the commits each tool signed in TriliumNext/Trilium](https://seerepo.com/r/TriliumNext/Trilium/ai)

## Sources

- balderdashy/sails: Read on November 4, 2026, at commit 7b76422 (https://github.com/balderdashy/sails/tree/7b76422cc27823df033572bdda5c4910a68b697f)
- TriliumNext/Trilium: Read on November 6, 2026, at commit 7f12054 (https://github.com/TriliumNext/Trilium/tree/7f120547683e6ff21cdb34b0763dde07b41ea1d4)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
