Skip to content
r.

fojin

xr843/fojin · Public GitHub repository

Buddhist Digital Text Platform — 10,500+ texts, 660+ sources, trilingual cross-canon, AI Q&A (RAG), knowledge graph, full-text search · fojin.ai: paste a passage, see which lines come from the canon

Open project in RepoShelf

Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

fojin live demo screenshot
Captured from the live demo · 2026-11-23

About this project

Author-written excerpt from the project README.

Ask the Buddhist canon — get cited, verifiable answers.

AI Q&A grounded in the world's largest open aggregation of Buddhist texts: 600+ sources, 30+ languages, trilingual cross-canon retrieval — every answer linked back to its source passage.

Ask a question in plain language and FoJin's assistant "XiaoJin" answers from the canon itself — Retrieval-Augmented Generation over 670K+ embedded passages, optional cross-encoder reranking and root-sutra recall, clickable 【《sutra》juan N】 citations that open the exact source text, anti-hallucination guards, and a citation drawer with side-by-side 汉 / 巴利 / 藏文 cross-canon parallels. You can also ask in the voice of 15 historical Buddhist masters, each scoped to their own tradition's scriptures.

Requirements and intended audience

Ask the Buddhist canon — get cited, verifiable answers.

Not recorded: external api key, paid service, self-hosting. Missing information does not mean there are no requirements.

Statements extracted from the author’s documentation · Checked 2026-10-18. Source: https://github.com/xr843/fojin/blob/master/README.md

Recorded maintenance information

Last recorded source update: 2026-11-22. Saved release: v1.0.0 · 2026-03-23. These dates do not guarantee ongoing maintenance.

Technologies
React, Python
Licence
Apache-2.0. Generally permits modification and commercial use, subject to the licence’s notices and conditions.
Demo check
A public page loaded on 2026-11-23. This does not test every feature.

Browse related categories