jan vs code2prompt
jan and code2prompt share 7 technologies: Tokio, indicatif, Ratatui, log, env_logger, csv, and Tailwind CSS. Both are written in Rust.
What they share and what sets them apart
janhq
jan
Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.
Rust45.8kRead on November 18, 2026, at commit 49a84bdWhat is jan built with?Only in jan
- Tauri
- Hummingbird
- sqlx-sqlite
tauri-plugin-store
- SQLite
- sqlx
- cua-computer
- @tauri-apps/api
gio
glib
objc2-app-kit
objc2-foundation
rusqlite
- Vite
- React
TanStack
@tauri-apps/plugin-store
PostHog
OpenAI- comfy-table
tauri-plugin-dialog
- console
gtk
- rfd
tauri-plugin-notification
- ed25519-dalek
- hmac
- keyring
- oauth2
- cua-agent
cua-computer-server
- rmcp
- MLX
- MLXLLM
agent-client-protocol
- genai
opencv-python
- Tokenizers
- png
- pulldown-cmark
- swift-jinja
- zip
- schemars
- apple/swift-distributed-tracing
reportportal-client
psutil
tauri-plugin-log
cairo-rs
objc2-web-kit
- webkit2gtk
- webview2-com
- ash
vulkano
- calamine
- html2text
- infer
- pdf-extract
- quick-xml
class-variance-authority
tailwind-merge
sonner
- Radix UI
motion
@uiw/react-textarea-code-editor
- @streamdown/code
- @tanstack/react-virtual
@tauri-apps/plugin-notification
dnd-kit
emoji-picker-react
Framer
- react-textarea-autosize
- use-stick-to-bottom
vaul
- Lucide
@tabler/icons-react
ai
ai-sdk
- streamdown
- react-markdown
shiki
- unist-util-visit
katex
rehype-katex
remark-gfm
remark-math
- Zod
@tauri-apps
In common
mufeedvh
code2prompt
A CLI tool to convert your codebase into a single LLM prompt with source tree, prompt templating, and token counting.
Rust7.8kRead on November 18, 2026, at commit d762d9bWhat is code2prompt built with?Only in code2prompt
- tui-tree-widget
ratatui-textarea
- termtree
- crossterm
inquire
- tiktoken-rs
- handlebars
Side by side
jancode2prompt
SizeLines written by people and agents, without generated ones; code files, without tests.
jan516,948 lines written993 code files
code2prompt17,051 lines written67 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
jan0.5% of its commits signed by AIWith GitHub Copilot, Claude Code, Cursor, Factory, Jules, and Aider
code2prompt1.1% of its commits signed by AIWith Claude Code, Cursor, and GitHub Copilot
ActivityFrom GitHub and its history, on the day SeeRepo read it.
janLast push November 18, 20267,592 commits45,792 stars
code2promptLast push November 6, 2026564 commits7,768 stars
TestsThe files that test the code, and the share of code files a test imports.
jan585 test files51.5% of its code files have a test that imports them
code2prompt27 test files
Frequently asked questions
Which is bigger, jan or code2prompt?
jan, with 516,948 lines written; code2prompt has 17,051.
The proof: janhq/jan's code at commit 49a84bd
Which has more GitHub stars, jan or code2prompt?
jan, with 45,792 stars; code2prompt has 7,768.
The proof: janhq/jan on GitHub
Which has more tests, jan or code2prompt?
jan, with 585 test files; code2prompt has 27.
The proof: janhq/jan's code at commit 49a84bd
Which was updated more recently, jan or code2prompt?
jan: its last push was on November 18, 2026, and code2prompt's on November 6, 2026.
The proof: janhq/jan's commits on GitHub
Which has more commits signed by AI, jan or code2prompt?
code2prompt: an AI signed 1.1% of its commits, with Claude Code, Cursor, and GitHub Copilot; in jan, 0.5%.
See inside your code, today.
Paste your repo and see it drawn, part by part: a medium one in under a minute.
Free, no account.Private repo? Sign in with GitHub

