# fojin

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

Canonical page: https://www.reposhelf.co.uk/projects/github/xr843/fojin.html

- Project ID: xr843/fojin
- Source: GitHub
- Original project: https://github.com/xr843/fojin
- Description attribution: project author metadata
- Categories: Developer tools
- Technologies: React, Python
- Licence: Apache-2.0
- Repository availability checked: 2026-11-23T14:24:50.360Z
- Demo page loaded: 2026-11-23T16:41:58.601Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> Ask the Buddhist canon — get cited, verifiable answers.

> AI Q&amp;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

## Author-documented requirements and 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.

Source: https://github.com/xr843/fojin/blob/master/README.md

Extraction checked: 2026-10-18T22:45:25.705Z

Last recorded source update: 2026-11-22T14:05:28.000Z

Saved release: v1.0.0 — 2026-03-23T08:40:06.000Z. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=xr843%2Ffojin). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
