{"id":24987764,"url":"https://github.com/dev-d-gr8/sakha","last_synced_at":"2026-04-06T01:33:31.071Z","repository":{"id":275735914,"uuid":"926997836","full_name":"DEV-D-GR8/Sakha","owner":"DEV-D-GR8","description":"A RAG based iOS application to answer user's queries based on the context of Shrimad Bhagvad Geeta in Hindi and English.","archived":false,"fork":false,"pushed_at":"2025-02-10T04:28:33.000Z","size":1926,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T11:17:04.803Z","etag":null,"topics":["ai","aws","aws-ecs","django","firebase","generative-ai","ios","ios-development","langchain","mobile-app","mongodb","openai","postgresql","python","redis","swift","swiftui"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DEV-D-GR8.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-04T08:20:49.000Z","updated_at":"2025-02-10T10:42:21.000Z","dependencies_parsed_at":"2025-02-04T10:36:25.917Z","dependency_job_id":null,"html_url":"https://github.com/DEV-D-GR8/Sakha","commit_stats":null,"previous_names":["dev-d-gr8/sakha"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEV-D-GR8%2FSakha","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEV-D-GR8%2FSakha/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEV-D-GR8%2FSakha/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEV-D-GR8%2FSakha/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DEV-D-GR8","download_url":"https://codeload.github.com/DEV-D-GR8/Sakha/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246174606,"owners_count":20735417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","aws","aws-ecs","django","firebase","generative-ai","ios","ios-development","langchain","mobile-app","mongodb","openai","postgresql","python","redis","swift","swiftui"],"created_at":"2025-02-04T11:55:51.083Z","updated_at":"2025-12-30T19:19:01.027Z","avatar_url":"https://github.com/DEV-D-GR8.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sakha: AI-powered Wisdom from Shrimad Bhagavad Gita\n\nSakha is a **multitenant RAG based generative AI iOS application** that provides answers strictly in the context of the **Shrimad Bhagavad Gita** using **Retrieval-Augmented Generation (RAG)**. Users can interact with Sakha in either **Hindi or English**, and their conversations are persisted to allow seamless continuation.\n\nSakha integrates multiple technologies, including **Django, OpenAI GPT-4o, Langchain, Firebase authentication, Pinecone (vector store), Redis (cache), PostgreSQL, and MongoDB**. The backend is deployed on **AWS (ECS Fargate, API Gateway, RDS, ElastiCache, and Terraform-managed infrastructure)** with **CI/CD automation via Jenkins**.\n\n## Tech Stack\n\n### **Backend**\n- **Frameworks:** Django, Langchain\n- **AI Integration:** OpenAI GPT-4o\n- **Vector Database:** Pinecone\n- **Database:** PostgreSQL (RDS), MongoDB\n- **Cache:** Redis (ElastiCache)\n- **Authentication:** Firebase\n- **Cloud Infrastructure:** AWS (ECS Fargate, API Gateway)\n- **CI/CD:** Jenkins, Terraform\n\n### **Frontend**\n- **Platform:** iOS (Swift, SwiftUI)\n- **Architecture:** MVVM (Model-View-ViewModel)\n- **UI Components:** Custom chat interface, Dynamic chat list, Markdown parsing\n- **Animations \u0026 UX Enhancements:** Smooth transitions, Typing indicators\n- **Storage:** Firebase Authentication, Secure user data persistence\n\n## Features\n\n- **Shrimad Bhagavad Gita-based AI chatbot**\n  - Generates responses strictly based on Bhagavad Gita’s teachings\n  - Provides the **Shloka (in Sanskrit)**, **Chapter \u0026 Verse number**, **Meaning**, and **Answer**\n  - Multi-language support: **English \u0026 Hindi**\n  - AI-generated **conversation names**\n- **Chat persistence**\n  - Users can continue their chats seamlessly with context retention\n- **Firebase authentication**\n  - Secure user authentication using Firebase\n- **Fast and scalable backend**\n  - Uses Redis for caching\n  - Stores vectorized Bhagavad Gita data in Pinecone\n- **AWS Deployment**\n  - ECS (Fargate) + API Gateway for serverless scaling\n  - PostgreSQL (RDS) \u0026 MongoDB for structured and unstructured data\n  - ElastiCache (Redis) for performance optimization\n  - CI/CD via Jenkins for automated deployments\n- **Infrastructure as Code (IaC)**\n  - Managed with Terraform\n- **iOS App Features**\n  - Interactive chat interface with Markdown parsing\n  - Smooth and intuitive UX with SwiftUI animations\n  - User profile management and chat history\n  - Secure storage and Firebase-based authentication\n\n## Demo Video\n\n[Watch the Demo on YouTube](https://youtu.be/Z5c3ISRnX00?si=e8sC_ioPymUihz2R)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-d-gr8%2Fsakha","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdev-d-gr8%2Fsakha","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-d-gr8%2Fsakha/lists"}