head to head · open source

document vs chat-js

document has 2,042 GitHub stars, 234 forks, 5 open issues and last shipped 2 days ago. chat-js has 1,206 stars, 123 forks, 40 open issues and last shipped 3 days ago. document leads on adoption by 69% (2,042 vs 1,206 stars). document is written in TypeScript under AGPL-3.0; chat-js is written in TypeScript under Apache-2.0. document has attracted 11% as many forks as stars, chat-js 10%. document was the more recently maintained of the two, and both are self-hostable with no licence fee. The two share 1 topic tag (ai), so they are genuine substitutes rather than adjacent tools.

Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.

document ★ 2.0K chat-js ★ 1.2K category AI & Machine Learning

← all 20902 open source comparisons

Side by side

document chat-js
GitHub stars ★ 2.0K ★ 1.2K
License AGPL-3.0 Apache-2.0
Written in TypeScript TypeScript
Last push 2026-11-30 2026-11-29
Forks ⑂ 234 ⑂ 123
Self-hosting Yes Yes
Data ownership Your server Your server

pick document if

  • You weight community size — 2.0K stars and counting
  • You want the AGPL-3.0 license terms
  • Your stack matches TypeScript
  • You value the larger contributor base for long-term maintenance

full document profile →

pick chat-js if

  • You want the chat-js feature set and don't need the biggest community
  • You prefer the Apache-2.0 license terms
  • Your stack matches TypeScript
  • You evaluated both and chat-js fits your workflow better

full chat-js profile →

About document

Online Document Editor English 简体中文 日本語 한국어 Deutsch Español Português فارسی An open source document workspace for you and your AI agents. Open, edit, convert and save Word, Excel and PowerPoint files, and annotate PDFs in your browser. Core document processing runs locally, with no account or Office installation required. Use optional AI assistance (Experimental Beta), let browser agents call document tools through WebMCP, or install it as a PWA. Cached editor resources work offline; you can also self host or embed the editor in your app. Try it online: edit.chaxus.com ✨ Features Edit locally. Open, edit and…

read the full document overview →

About chat-js

ChatJS The building blocks for your AI app. Start with a working AI chat. Choose your models and tools. Own the code. Create an app · Try the demo · Read the docs ChatJS 1.0 is in alpha. Use chat js@alpha to try it. APIs, configuration, and generated code may change before the stable release. Quickstart Use Node.js 24 or newer. You can scaffold interactively from the terminal. The browser builder lets you preview the UI, configure the agent, and copy a tailored command. Open the builder The CLI asks which gateway, authentication providers, and optional features to include. Fill in .env.local with your PostgreSQL…

read the full chat-js overview →

More in AI & Machine Learning

Related comparisons

More AI Interaction & Interfaces projects

Compare either of these against the rest of the AI Interaction & Interfaces field.

Frequently asked questions

Is document or chat-js more popular?

document has 2,042 GitHub stars and chat-js has 1,206. document has the larger community by that measure.

Are document and chat-js free?

Both are open source. document is licensed under AGPL-3.0 and chat-js under Apache-2.0. Neither carries a licence fee.

What is the difference between document and chat-js?

document is written in TypeScript and chat-js in TypeScript. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.

Which should I choose, document or chat-js?

Choose document if you want the larger community (2,042 stars) or its AGPL-3.0 licence terms. Choose chat-js if its feature set, stack or Apache-2.0 licence fits better. Both are self-hostable.