Tatva

Next.js 16TypeScriptTailwind CSS 4Shadcn UIMotionSupabase
Tatva preview

overview.

Tatva is a digital museum of ancient Indian scriptures providing an interconnected reading experience for Vedas, Puranas, and Epics with hierarchy visualizers and structured context.

technical implementation.

Sanatan Dharma Hierarchy Mapping

Architected a custom structure visualization module mapping complex classifications (Vedas, Upanishads, Epics, Puranas) with seamless UI navigation.

TypeScript-First Scripture Modeling

Designed rigorous schemas to handle highly structured text payloads, capturing nesting levels from Cantos and Chapters to Verses and Commentaries.

High-Performance Next.js Rendering

Implemented Next.js Server Components and dynamic incremental routing to render massive scriptures (like the Mahabharata) with load times under 200ms.

Sanskrit Transliteration & Audio Engine

Integrated Sanskrit transliteration and text-to-speech tools to assist readers in phonetic pronunciation of original Vedic slokas.

key features.

  • Curated Scripture Library: Fully structured digital collection of Vedas, Mahabharata, Ramayana, and Puranas
  • Knowledge Architecture Mapping: Interactive classification mapping Shruti versus Smriti text hierarchies
  • Preface & Contextual Onboarding: Detailed guides to help modern readers grasp the historical context of each text
  • Interconnected References: Discover relationships between cross-referenced slokas and scripture episodes
  • Sanskrit Transliteration Engine: Dynamic Sanskrit script and phonetic Roman reading options
  • Responsive Reader Interface: Elegant dark/light mode optimization prioritizing Sanskrit typographical readability

screenshots.

Tatva Dashboard

Interactive and distraction-free home dashboard mapping major scriptures

Rigveda Scripture View

Clean typography for multi-line Sanskrit slokas with detailed translations

Mahabharata Content Hub

Granular chapter indexing and structure for epic poetry

Valmiki Ramayana Reader

Immersive scripture reader optimized for modern digital screens

challenges & solutions.

Challenge: Structuring unstructured text data from centuries-old sources

Solution: Engineered customized JSON parsers to normalize raw translations and commentary into structured databases with clean paragraph layouts.

Challenge: Rendering large scriptures without performance bottlenecks

Solution: Utilized route-based text segmenting and paginated state loaders to minimize DOM size and maximize fluid reader scrolling.

Challenge: Achieving high typographical readability for mixed languages

Solution: Implemented a custom font scaling and line-height system tailored to Sanskrit, Hindi, and English side-by-side text alignments.

Challenge: Sustaining reader engagement in complex philosophical texts

Solution: Designed visual preface modules and historical context introductions to onboarding readers with intuitive context before they begin reading.

project impact.

8+
scriptures Indexed
50k+
verses Logged
98/100
page Speed
1k+
active Readers