Skip to content

Commit 7b7be34

Browse files
authored
Merge pull request #5 from Karrot-Tech/dev
Release v1.2.2: Comprehensive Rebrand, Performance Optimization & Admin UI Polish
2 parents b8a0d94 + 6e9be14 commit 7b7be34

320 files changed

Lines changed: 237 additions & 724083 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
File renamed without changes.

README.md

Lines changed: 72 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -1,84 +1,72 @@
1-
# Krishnasagar - WIP
2-
3-
Krishnasagar is a serverless video localization pipeline that automates transcription, translation, and dubbing of content using Google Cloud AI services.
4-
5-
> **Status:** The **Web Project** is currently in **Beta Release**. All other projects (Cloud Functions, etc.) are in **Dev Locked Mode**.
6-
7-
## Setup & Deployment
8-
9-
gcloud services enable storage.googleapis.com \
10-
cloudfunctions.googleapis.com \
11-
run.googleapis.com \
12-
speech.googleapis.com \
13-
translate.googleapis.com \
14-
texttospeech.googleapis.com \
15-
videointelligence.googleapis.com \
16-
youtube.googleapis.com \
17-
logging.googleapis.com \
18-
monitoring.googleapis.com
19-
20-
21-
gsutil mb -l asia-south1 gs://krishnasagar-videos-raw
22-
gsutil mb -l asia-south1 gs://krishnasagar-videos-processed
23-
gsutil mb -l asia-south1 gs://krishnasagar-videos-final
24-
25-
### extract_audio
26-
gcloud functions deploy krishnasagar-extract-audio \
27-
--runtime python39 \
28-
--trigger-resource krishnasagar-videos-raw \
29-
--trigger-event google.storage.object.finalize \
30-
--entry-point extract_audio \
31-
--memory 512MB \
32-
--region asia-south1 \
33-
--source cloud_functions/extract_audio
34-
35-
### transcribe_audio
36-
gcloud functions deploy krishnasagar-transcribe-audio \
37-
--runtime python39 \
38-
--trigger-resource krishnasagar-videos-processed \
39-
--trigger-event google.storage.object.finalize \
40-
--entry-point transcribe_audio \
41-
--memory 512MB \
42-
--region asia-south1 \
43-
--source cloud_functions/transcribe_audio
44-
45-
### translate_text
46-
gcloud functions deploy krishnasagar-translate-text \
47-
--runtime python39 \
48-
--trigger-resource krishnasagar-videos-processed \
49-
--trigger-event google.storage.object.finalize \
50-
--entry-point translate_text \
51-
--memory 512MB \
52-
--region asia-south1 \
53-
--source cloud_functions/translate_text
54-
55-
### generate_audio
56-
gcloud functions deploy krishnasagar-generate-voice \
57-
--runtime python39 \
58-
--trigger-resource krishnasagar-videos-processed \
59-
--trigger-event google.storage.object.finalize \
60-
--entry-point generate_audio \
61-
--memory 512MB \
62-
--region asia-south1 \
63-
--source cloud_functions/generate_audio
64-
65-
### generate_subtitles
66-
gcloud functions deploy krishnasagar-generate-subtitles \
67-
--runtime python39 \
68-
--trigger-resource krishnasagar-videos-processed \
69-
--trigger-event google.storage.object.finalize \
70-
--entry-point generate_subtitles \
71-
--memory 512MB \
72-
--region asia-south1 \
73-
--source cloud_functions/generate_subtitles
74-
75-
### Build the Docker Image
76-
gcloud builds submit --tag gcr.io/potent-airfoil-454402-e4/krishnasagar-video-merger cloud_run/merge_audio_video
77-
78-
### Deploy the Service
79-
80-
gcloud run deploy krishnasagar-video-merger \
81-
--image gcr.io/potent-airfoil-454402-e4/krishnasagar-video-merger \
82-
--region asia-south1 \
83-
--platform managed \
84-
--allow-unauthenticated
1+
# Saileela Rahasya
2+
3+
**Saileela Rahasya** is a progressive web application dedicated to uncovering the hidden spiritual instructions ("Bodhakatha") within the miraculous stories ("Leela") of Sai Baba.
4+
5+
This project, originally architected in `ARCHITECTURE.md`, has evolved into a full-featured PWA that provides devotees with a structured, immersive platform to explore Sai Baba's teachings.
6+
7+
---
8+
9+
> **Current Status:**
10+
> - **Web App:** v1.2.2 (Production Release)
11+
> - **Backend:** Next.js Server Actions + Prisma + Neon (Postgres)
12+
> - **Authentication:** Clerk
13+
> - **Infrastructure:** Vercel
14+
15+
---
16+
17+
## 🌟 Core Features
18+
19+
The application is built around five core pillars of spiritual engagement:
20+
21+
1. **Leela (The Narrative)**: A chronological library of Sai Baba's divine plays, linking narrative articles directly to source video content.
22+
2. **Bodhakatha (The Instruction)**: Semantic organization of content by virtue (e.g., Faith, Patience), focusing on the "Why" behind the miracles.
23+
3. **Live Stream (Darshan)**: Real-time video integration for live events and a curated archive of past discourses and Aartis.
24+
4. **Audio (Bhajan)**: A specialized audio player for daily Aartis, Mantras, and Bhajans, optimized for background listening.
25+
5. **Ask (Personal Guidance)**: A private, ticket-based inquiry system allowing users to seek personalized spiritual guidance from the Saileela Rahasya team.
26+
27+
## 🛠 Tech Stack
28+
29+
* **Framework:** Next.js 14+ (App Router)
30+
* **Styling:** Tailwind CSS + Custom Design System (Ochre Theme)
31+
* **Database:** PostgreSQL (Neon) via Prisma ORM
32+
* **Auth:** Clerk (Custom Appearance)
33+
* **Icons:** Lucide React + Custom SVG Assets
34+
* **Deployment:** Vercel
35+
36+
## 📂 Project Structure
37+
38+
- **`web/`**: Main Next.js application.
39+
- `src/app`: App Router pages and layouts.
40+
- `src/components`: Reusable UI components (Atomic design).
41+
- `src/lib`: Utilities for DB, Auth, and helpers.
42+
- `src/actions`: Server Actions for data mutation.
43+
- `src/context`: React Context for global state (Audio, Inquiry).
44+
- **`data/`**: Schemas and migration scripts for content generation.
45+
46+
## 🚀 Getting Started
47+
48+
### Prerequisites
49+
- Node.js 18+
50+
- npm/pnpm
51+
52+
### Installation
53+
54+
1. **Clone the repository:**
55+
```bash
56+
git clone https://github.com/Karrot-Tech/saileela-rahasya.git
57+
cd saileela-rahasya/web
58+
```
59+
60+
2. **Install dependencies:**
61+
```bash
62+
npm install
63+
```
64+
65+
3. **Environment Setup:**
66+
Create a `.env` file in `web/` based on `.env.example`, populating keys for Clerk, Database URL, and Admin settings.
67+
68+
4. **Run Development Server:**
69+
```bash
70+
npm run dev
71+
```
72+
Open `http://localhost:3000` to view the app.

cloud_functions/extract_audio/main.py

Lines changed: 0 additions & 55 deletions
This file was deleted.

cloud_functions/extract_audio/requirements.txt

Whitespace-only changes.

cloud_functions/generate_audio/main.py

Lines changed: 0 additions & 57 deletions
This file was deleted.

cloud_functions/generate_audio/requirements.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

cloud_functions/generate_subtitles/main.py

Lines changed: 0 additions & 67 deletions
This file was deleted.

cloud_functions/generate_subtitles/requirements.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)