TutorLoom
The learning platform for companies, colleges and training institutes. Free and open source, with an Enterprise edition.
Pregúntale a la Sagrada Escritura.
Translation pending
EducationTypeScript · PythonGitHub @NicoSM2002OnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗Una app web católica para conversar con la Sagrada Escritura. Cualquier persona puede preguntar lo que lleva dentro y la app responde con un versículo bíblico (cita textual) seguido de una explicación pastoral cercana.
Copia las variables de entorno:
cp .env.local.example .env.local
Edita .env.local y añade al menos ANTHROPIC_API_KEY (obligatorio). Si tienes VOYAGE_API_KEY la calidad de búsqueda mejora notablemente.
(Opcional, recomendado) Genera los embeddings — una sola vez:
# 1. Genera embeddings float32 (~150 MB, sólo desarrollo local)
npx tsx scripts/build_embeddings.ts
# 2. Cuantiza a int8 (~36 MB, lo que se sube a Vercel)
npx tsx scripts/quantize_embeddings.ts
Output:
data/biblia.embeddings.json — versión float32 completa (no commitear)data/biblia.embeddings.bin + .meta.json — cuantizado int8 (commitear)El runtime auto-detecta cuál usar: prefiere el .bin si existe.
Arranca el dev server:
npm run dev
biblia-app/
├── app/
│ ├── page.tsx ← chat principal (client component)
│ ├── api/chat/route.ts ← streaming endpoint
│ ├── layout.tsx ← fonts, metadata
│ └── globals.css ← paleta + tipografía + animaciones
├── components/
│ ├── Header.tsx
│ ├── Cross.tsx ← cruz latina custom
│ ├── VerseCard.tsx ← cartouche del versículo
│ ├── ResponseText.tsx ← respuesta pastoral
│ ├── QuestionLine.tsx ← pregunta del usuario
│ ├── Loading.tsx ← "Buscando en la Palabra…"
│ └── ChatInput.tsx
├── lib/
│ ├── bible.ts ← carga + búsqueda BM25/vectorial
│ ├── claude.ts ← cliente Claude + system prompt católico
│ ├── validate.ts ← validación literal del versículo citado
│ └── utils.ts ← cn() helper
├── data/
│ ├── biblia.json ← 34,623 versículos estructurados
│ ├── biblia-raw.txt ← texto plano del PDF
│ └── biblia.embeddings.json (generado opcionalmente)
├── scripts/
│ ├── extract_bible.py ← PDF → biblia.json
│ ├── build_embeddings.ts ← biblia.json → biblia.embeddings.json
│ └── test_search.ts ← sanity check de búsqueda BM25
└── Contexto/
└── Biblia.pdf ← fuente original
{verse: {reference, text}, response}.verse, response_delta, result) — el frontend muestra el versículo y luego va escribiendo la respuesta.lib/validate.ts verifica que el versículo existe literal en biblia.json. Si no coincide, se descarta y se muestra solo la respuesta sin cita falsa.npm i -g vercel
vercel
Configura las variables de entorno en el dashboard de Vercel:
ANTHROPIC_API_KEY (requerido)VOYAGE_API_KEY (recomendado)next.config.ts ya incluye outputFileTracingIncludes para bundlear los archivos data/. El primer arranque puede ser lento mientras carga los embeddings en memoria; luego es muy rápido.
Aesthetic concept: Lectio in silentio — el misal contemporáneo. Cada pregunta es una página de un breviario digital.
#FAF7F2 (blanco hueso), #B8924A (dorado mate), #1B3A6B (azul mariano), #1F1B16 (gris carbón).Sagrada Biblia. Versión oficial de la Conferencia Episcopal Española. © Conferencia Episcopal Española, 2011. © Biblioteca de Autores Cristianos.
Esta es una app de uso personal/educativo. Para uso comercial, contactar con la BAC y la Conferencia Episcopal.