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

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.
- Search across Buddhist canons by title, translator, catalog number, or full-text keyword. Powered by Elasticsearch with ICU tokenizer for multi-language support.
- Compare translations side by side — Classical Chinese, Sanskrit, Pali, Tibetan, English, Japanese, Korean, Gandhari, and 21 more languages.
- Chinese Buddhist Dictionaries (14)
- NTI Reader (佛学辞典) — 161K entries, Chinese↔English
- Suihan Lu (新集藏經音義隨函錄) — 72K entries, Tang dynasty phonetic glossary
Requirements and intended audience
Ask the Buddhist canon — get cited, verifiable answers.
- Account · Required
Available at /research (sign-in required); API at POST /api/research/query.
- Account · Required
JWT with a 30-day idle budget (sliding renewal, capped 90 days from sign-in); POST /api/auth/logout-all revokes every outstanding token.
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
More projects to explore
awesome-selfhosted
awesome-selfhosted/awesome-selfhosted
A list of Free Software network services and web applications which can be hosted on your own servers
awesome-go
avelino/awesome-go
A curated list of awesome Go frameworks, libraries and software
NextChat
ChatGPTNextWeb/NextChat
✨ Zero-config AI chat assistant. No API key needed — sign up and instantly chat with GPT-5, Claude 4, Gemini 2.5, DeepSeek & 100+ top models. Pay-as-you-go saves you more. Available on Web, iOS, macOS, Android, Linux, Windows.
vue-element-admin
PanJiaChen/vue-element-admin
A magical vue admin https://panjiachen.github.io/vue-element-admin