Source: https://seerepo.com/compare/khoj-ai/khoj/vs/Renhuai123/ziwei-doushu
Markdown source: https://seerepo.com/compare/khoj-ai/khoj/vs/Renhuai123/ziwei-doushu.md
Description: khoj and ziwei-doushu share 4 technologies: React, Next.js, Tailwind CSS, and Framer. khoj is written in Python and ziwei-doushu in TypeScript.

# khoj vs ziwei-doushu

khoj and ziwei-doushu share 4 technologies: React, Next.js, Tailwind CSS, and Framer. khoj is written in Python and ziwei-doushu in TypeScript.

- [khoj-ai/khoj](https://seerepo.com/r/khoj-ai/khoj): Your AI second brain. Self-hostable. Get answers from the web or your docs. Build custom agents, schedule automations, do deep research. Turn any online or local LLM into your personal, autonomous AI (gpt, claude, gemini, llama, qwen, mistral). Get started - free.
- [Renhuai123/ziwei-doushu](https://seerepo.com/r/Renhuai123/ziwei-doushu): 紫微斗数开源排盘引擎 — 基于倪海厦《天纪》体系，含完整排盘算法、四化系统、格局知识库、古籍原文数据

## What they share and what sets them apart

- In common: React, Next.js, Tailwind CSS, Framer
- Only in khoj: Django, FastAPI, pgvector, psycopg2-binary, Postgres, OpenAI, Anthropic, PostHog, Resend, anyio, AIOHTTP, uvicorn, electron-store, Electron, Rich, Google, itsdangerous, authlib, einops, openai-whisper, torch, sentence-transformers, LangChain, e2b-code-interpreter, langchain-text-splitters, MCP, tiktoken, transformers, defusedxml, docx2txt, lxml, markdown-it-py, pymupdf, pillow, beautifulsoup4, magika, jinja2, markdownify, Pydantic, email-validator, psutil, isomorphic-dompurify, class-variance-authority, tailwind-merge, Radix UI, React Hook Form, cmdk, embla-carousel-autoplay, embla-carousel-react, Excalidraw, input-otp, intl-tel-input, Mermaid, vaul, @phosphor-icons/react, Lucide, katex, markdown-it, dompurify, @hookform/resolvers, Zod
- Only in ziwei-doushu: html2canvas

## Side by side

| | khoj | ziwei-doushu |
|---|---|---|
| Size | 71,518 lines written, 205 code files | 15,685 lines written, 63 code files |
| Who writes it | 0% of its commits signed by AI | 74.2% of its commits signed by AI. With Claude Code |
| Activity | Last push August 2, 2026, 4,763 commits, 38,022 stars | Last push November 3, 2026, 62 commits, 16,620 stars |
| Tests | 30 test files. 14.1% of its code files have a test that imports them | 0 test files |

- 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, khoj or ziwei-doushu?

khoj, with 71,518 lines written; ziwei-doushu has 15,685.

The proof: [khoj-ai/khoj's code at commit ae229ca](https://github.com/khoj-ai/khoj/tree/ae229ca894c0b80ad84664afcfdde523b5e87057)

### Which has more GitHub stars, khoj or ziwei-doushu?

khoj, with 38,022 stars; ziwei-doushu has 16,620.

The proof: [khoj-ai/khoj on GitHub](https://github.com/khoj-ai/khoj)

### Which has more tests, khoj or ziwei-doushu?

khoj, with 30 test files.

The proof: [khoj-ai/khoj's code at commit ae229ca](https://github.com/khoj-ai/khoj/tree/ae229ca894c0b80ad84664afcfdde523b5e87057)

### Which was updated more recently, khoj or ziwei-doushu?

ziwei-doushu: its last push was on November 3, 2026, and khoj's on August 2, 2026.

The proof: [Renhuai123/ziwei-doushu's commits on GitHub](https://github.com/Renhuai123/ziwei-doushu/commits)

### Which has more commits signed by AI, khoj or ziwei-doushu?

ziwei-doushu: an AI signed 74.2% of its commits, with Claude Code.

The proof: [the commits each tool signed in Renhuai123/ziwei-doushu](https://seerepo.com/r/Renhuai123/ziwei-doushu/ai)

## Sources

- khoj-ai/khoj: Read on November 6, 2026, at commit ae229ca (https://github.com/khoj-ai/khoj/tree/ae229ca894c0b80ad84664afcfdde523b5e87057)
- Renhuai123/ziwei-doushu: Read on November 7, 2026, at commit a600484 (https://github.com/Renhuai123/ziwei-doushu/tree/a600484a49255039d0725f1ba9e11ca81a948f97)

## 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.
