A
khoj
84.4
38,157 stars · AGPL-3.0
Self-Hosted
photoprism leads by 5.4 · narrow
A
84.4
38,157 stars · AGPL-3.0
B · leads
89.8
40,456 stars · license n/a
khoj versus photoprism is a Self-Hosted comparison assembled from public repository metrics, the license on file, and whether each product can be self-hosted. khoj is written mainly in Python; photoprism is written mainly in Go. The composite score is 84.4 for khoj and 89.8 for photoprism.
photoprism has 40,456 GitHub stars to khoj's 38,157, a gap of 2,299 (1.06×). Forks are 2,555 for khoj and 2,339 for photoprism. On the log scale used inside this pair, adoption is 99 versus 100, and the fork community is 100 versus 99.
Push history: khoj was last pushed on 02 August 2026 (107 days ago), and photoprism was last pushed on 17 November 2026 (0 days ago). Open issues stand at 173 for khoj (0.005 per star) and 454 for photoprism (0.011 per star). Issue-health scores are 96 and 84; activity scores are 58 and 100.
khoj is listed as AGPL-3.0, which this catalog treats as a network copyleft grant. Letting users interact with a modified copy over a network can trigger a duty to offer them the corresponding source. photoprism is listed as no SPDX license on file, which this catalog treats as no clear license grant in the data stored here. Public code without a license is not free to use. License scores in this pair are 52 for khoj and 30 for photoprism. This is a procurement signal, not legal advice.
In Self-Hosted, both khoj (38,157 stars) and photoprism (40,456 stars) are marked self-hostable. Deploy scores are 100 and 100. Running either one means you own upgrades, backups, and the license duties that follow a modified copy. Pricing labels on file: khoj is open source, photoprism is unpriced in this catalog.
The lead is split. khoj is furthest ahead on license flexibility (52 to 30), while photoprism is furthest ahead on recent activity (100 to 58). Choose the dimension a rollout cannot compromise on.
photoprism finishes ahead at 89.8 against khoj at 84.4, a 5.4 point narrow margin under the published weights.
Scores are computed inside this pair only. Method and weights.
Bars are scaled within the row. Higher is stronger. Open issues are a raw count, so that row has no bar.
| Signal | khoj | photoprism |
|---|---|---|
| GitHub stars | 38,157 | 40,456 |
| Forks | 2,555 | 2,339 |
| Open issues | 173 | 454 |
| Adoption | 99 | 100 |
| Activity | 58 | 100 |
| Community | 100 | 99 |
| Issue health | 96 | 84 |
| License | 52 | 30 |
| Self-hosting | 100 | 100 |
| Composite | 84.4 | 89.8 |
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.
AI-Powered Photos App 🌈💎✨
photoprism has more GitHub stars: 40,456 versus 38,157 for khoj. The gap is 2,299 stars.
photoprism was pushed more recently: 17 November 2026 versus 02 August 2026 for khoj. That is 107 days apart.
Yes. This catalog marks both khoj and photoprism as self-hostable. Confirm each project's deploy docs before you plan a migration.
khoj is listed as AGPL-3.0, which this catalog treats as a network copyleft grant. Letting users interact with a modified copy over a network can trigger a duty to offer them the corresponding source. photoprism is listed as no SPDX license on file, which this catalog treats as no clear license grant in the data stored here. Public code without a license is not free to use. Read both grants before you embed either codebase in a hosted product. This is not legal advice.
photoprism scores 89.8 and khoj scores 84.4. This page calls that a narrow lead for photoprism.