<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" 
     xmlns:atom="http://www.w3.org/2005/Atom"
     xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Shardendu Mishra</title>
    <link>https://mishrashardendu22.dev</link>
    <description>Professional personal website showcasing projects, experiences, skills, and certifications</description>
    <language>en</language>
    <lastBuildDate>Mon, 30 Nov 2026 06:22:14 GMT</lastBuildDate>
    <atom:link href="https://mishrashardendu22.dev/feed.xml" rel="self" type="application/rss+xml"/>
    
    <item>
      <title>Founding Software Engineer at CareerCafe</title>
      <link>https://mishrashardendu22.dev/experiences/6a6901cdd19296e9fb0a132d</link>
      <description># CareerCafe

## Overview

Joined CareerCafe as a Software Development and AI Integration Intern and was promoted to **Founding Engineer** within three months. Worked across backend engineering, system architecture, cloud infrastructure, authentication, AI integration, and product development to help build a multi-tenant education platform from the ground up. Contributed to the MVP launch, pilot deployments, and core engineering decisions alongside senior engineers. 

## Responsibilities

- Designed and implemented the backend architecture for a multi-tenant education platform.
- Designed a normalized **28-table PostgreSQL database schema** supporting tenant isolation.
- Built **120+ REST APIs** powering the platform.
- Implemented authentication using **Better Auth**.
- Developed **school-scoped Role-Based Access Control (RBAC)** for secure tenant isolation.
- Worked on backend architecture, API design, and database optimization.
- Collaborated closely with product and engineering teams on platform architecture.
- Helped prototype and iterate on new product features.
- Led deployment and refinement of the MVP during pilot rollouts across **5+ schools**.
- Improved platform SEO and production readiness.
- Mentored an intern on backend development, API testing, database design, and query optimization.
- Participated in infrastructure, deployment, debugging, and production issue resolution.
- Worked across backend systems, cloud services, authentication, and AI integrations to support platform growth. 

## Technologies

- Go
- PostgreSQL
- Better Auth
- REST APIs
- RBAC
- Docker
- Linux
- Cloud Infrastructure
- AI Integrations
- System Design

## Highlights

- Promoted from **Software Development &amp; AI Integration Intern** to **Founding Engineer** in 3 months.
- Designed the platform&apos;s core backend architecture.
- Built a scalable multi-tenant authorization model.
- Contributed to launching the MVP into real-world pilot programs.
- Worked directly with senior engineers on architecture and product direction.
- Mentored junior engineering contributors during development. :contentReference[oaicite:2]{index=2}</description>
      <pubDate>Tue, 28 Jul 2026 19:23:57 GMT</pubDate>
      <category>Experience</category>
      <guid isPermaLink="true">https://mishrashardendu22.dev/experiences/6a6901cdd19296e9fb0a132d</guid>
    </item>
    <item>
      <title>agentic-google-workspace-orchestrator</title>
      <link>https://mishrashardendu22.dev/projects/6a68ffadd19296e9fb0a132c</link>
      <description># Agentic Google Workspace Orchestrator

A secure, multi-service orchestration platform for Gmail, Google Calendar, and Google Drive.

This repository combines:
- FastAPI backend with PostgreSQL + `pgvector` and Redis
- Next.js chat and orchestration frontend
- Hybrid retrieval across full-text search, semantic embeddings, and Reciprocal Rank Fusion (RRF)
- Typed execution plan DAG generation and Python-controlled action gating
- Google OAuth sync for Gmail, Calendar, and Drive data

## What this project does

The system can:
- classify user intent and extract structured entities from natural language
- execute parallel search across Gmail, Calendar, and Drive
- generate safe workflow plans using a type-driven LLM + Python validator
- gate mutating actions behind explicit confirmation
- persist conversations, orchestration state, and audit records
- provide an interactive frontend + OpenAPI backend docs

## Architecture Overview

Primary components:
- `app/main.py` — FastAPI application entrypoint, CORS, middleware, health endpoints
- `app/api/` — REST routers for auth, sync, search, query, actions, orchestration, and conversations
- `app/orchestration/` — intent classification, planning, validation, execution, and confirmation flow
- `app/retrieval/` — hybrid search implementation using PostgreSQL FTS, pgvector embeddings, and RRF fusion
- `app/models/` — SQLAlchemy model definitions for users, workspace items, orchestration runs, and pending actions
- `frontend/` — Next.js UI for conversation-driven orchestration and action confirmation

### Local runtime topology

```text
Host Machine:
  ├─ Next.js frontend  http://localhost:3000
  ├─ FastAPI backend  http://localhost:8000
  ├─ PostgreSQL + pgvector  localhost:5432
  └─ Redis  localhost:6379
```

## Prerequisites

- Python 3.12+
- Node.js 20+ and `pnpm`
- Docker Engine + Docker Compose
- Google Cloud OAuth application credentials
- OpenRouter API key

## Quick Start

1. Install Python and frontend dependencies:

```bash
uv sync
cd frontend &amp;&amp; pnpm install &amp;&amp; cd ..
```

2. Copy the example environment variables:

```bash
cp .env.example .env
```

3. Update `.env` with your credentials:

```ini
DATABASE_URL=postgresql+asyncpg://postgres:postgres@localhost:5432/orchestrator
REDIS_URL=redis://localhost:6379/0

OPENROUTER_API_KEY=sk-or-v1-...
OPENROUTER_BASE_URL=https://openrouter.ai/api/v1
LLM_MODEL=openai/gpt-oss-120b:free
EMBEDDING_MODEL=nvidia/llama-nemotron-embed-vl-1b-v2:free

GOOGLE_CLIENT_ID=your-client-id.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=your-client-secret
GOOGLE_REDIRECT_URI=http://localhost:8000/api/v1/auth/google/callback

CORS_ORIGINS=http://localhost:3000
FRONTEND_URL=http://localhost:3000
NEXT_PUBLIC_API_BASE_URL=http://localhost:8000
```

&gt; Google OAuth Redirect URI must be configured as:
&gt; `http://localhost:8000/api/v1/auth/google/callback`

4. Start the app:

```bash
make dev
```

## Common commands

```bash
make infra           # start PostgreSQL + Redis only
make migrate         # apply Alembic migrations
make backend         # run backend on port 8000
make frontend        # run frontend on port 3000
make test            # run backend tests + frontend build check
make benchmark       # run hybrid retrieval benchmark
make clean           # remove local caches
make reset           # destroy local PostgreSQL/Redis volumes
```

## API and user-facing endpoints

- Frontend UI: `http://localhost:3000`
- Backend API: `http://localhost:8000`
- OpenAPI: `http://localhost:8000/docs`
- Health probe: `GET /health`
- Readiness probe: `GET /ready`

Detailed API reference is available in `API.md`.

## Project documentation

- `API.md` — API reference and endpoint examples
- `DEMO.md` — demo script and evaluation query guidance
- `DESIGN.md` — system architecture, ER diagram, and scaling rationale
- `SAMPLE_QUERIES.md` — sample orchestrator prompts and expected behavior
- `RETRIEVAL_EVAL.md` — retrieval evaluation methodology and metrics

## Security and responsible use

This project uses OAuth tokens and API keys. Keep credentials private and never commit them to source control.

For vulnerability reporting, see `SECURITY.md`.

## Contribution guide

Contributions are welcome. Please read `CONTRIBUTING.md` before opening issues or pull requests.

## License

This project is licensed under the MIT License. See `LICENSE` for details.
</description>
      <pubDate>Tue, 28 Jul 2026 19:14:53 GMT</pubDate>
      <category>Project</category>
      <guid isPermaLink="true">https://mishrashardendu22.dev/projects/6a68ffadd19296e9fb0a132c</guid>
    </item>
    <item>
      <title>github-backup-automation-system</title>
      <link>https://mishrashardendu22.dev/projects/6a68fca5d19296e9fb0a132b</link>
      <description># GitHub Backup Observatory

## Overview

The GitHub Backup Observatory is a compact, multi-service architecture designed to clone, archive, and consolidate GitHub repositories into a singular, unified backup repository. Built for reliability and observability, the system integrates a Go-based CLI worker, a Go and PostgreSQL-powered REST API and WebSocket backend, a Next.js frontend dashboard for real-time monitoring, and an AI-driven Agentic Observatory.

## Live Resources

- **Live Dashboard**: [github.mishrashardendu22.is-a.dev](https://github.mishrashardendu22.is-a.dev)
- **Video Demonstration**: [YouTube](https://www.youtube.com/watch?v=be0UBwk2asc)

## Architecture Overview

This repository operates as a monorepo containing the following core services:

1. **Worker (CLI)**: The root-level Go application responsible for the core logic. It traverses target GitHub accounts, deduplicates repositories, verifies remote HEAD hashes, executes shallow clones, and archives the repositories to a centralized `_Repos` Git repository.
2. **Backend API (`backend/`)**: A Go-based web server integrated with PostgreSQL. It serves operational metrics, historical run data, and real-time logs via REST APIs and WebSockets.
3. **Frontend Dashboard (`frontend/`)**: A Next.js application providing a comprehensive, real-time user interface for monitoring backup executions, performance metrics, and system logs.
4. **Agentic Observatory (`agentic-observatory/`)**: A Python-based agentic layer utilizing FastAPI and OpenRouter to autonomously analyze and interact with the backup data.

## Core Engine: Worker (CLI)

The primary backup engine resides in the root directory. It leverages a lightweight SQLite database for local state management and metadata tracking.

### Operational Phases

- **Phase 1: Hash Verification**: Concurrently computes the remote HEAD to determine if repository changes have occurred since the last backup.
- **Phase 2: Clone and Archive**: Performs shallow clones of modified repositories, removes `.git` directories to prevent nested repository issues, and generates `tar.gz` archives.
- **Phase 3: Commit and Push**: Commits the generated archives to the central `_Repos` Git repository and pushes the updates to the remote origin.

### Configuration

Environment variables must be configured prior to execution. Create a `.env` file in the root directory based on the provided `sample.env`:

- `ORG_ACCOUNT` / `PROJECT_ACCOUNT`: Target GitHub accounts for the backup process.
- `DB_PATH`: Absolute or relative path for the SQLite database file (defaults to `./app.db`).
- `BACKUP_REPO_PATH`: The remote Git URL for the centralized `_Repos` directory.
- `GITHUB_TOKEN_PRIVATE` / `GITHUB_TOKEN_PERSONAL`: Authentication tokens for GitHub API access.

### Execution

Ensure the Go toolchain, `git`, and `tar` are installed on the host system.

```bash
# Configure .env or export environment variables
go run main.go
```

## Service Documentation

For detailed instructions concerning the deployment, configuration, and development of individual services, refer to their respective documentation:

- **[Backend Documentation](./backend/README.md)**
- **[Frontend Documentation](./frontend/README.md)**
- **[Agentic Observatory Documentation](./agentic-observatory/README.md)**

## Contributing

Contributors are expected to adhere to the established coding conventions. Refer to `CONTRIBUTING.md` for guidelines on submitting improvements and modifications.</description>
      <pubDate>Tue, 28 Jul 2026 19:01:57 GMT</pubDate>
      <category>Project</category>
      <guid isPermaLink="true">https://mishrashardendu22.dev/projects/6a68fca5d19296e9fb0a132b</guid>
    </item>
    <item>
      <title>API Engineer Fellow at Keploy</title>
      <link>https://mishrashardendu22.dev/experiences/68c546e9538a0e733808c763</link>
      <description># API Engineer Fellow – Keploy 🐰
_Remote · Kanpur Nagar, Uttar Pradesh, India_

## Overview
Selected among the top 168 fellows out of 19,000 applicants for Keploy&apos;s prestigious API Fellowship program. Developed Go-powered automation tools, built production-grade APIs, and implemented AI-driven testing solutions. Successfully contributed the only solo-developer API to Keploy&apos;s official public APIs collection while mastering backend systems, testing automation, and CI/CD pipelines.

## Key Responsibilities
- **Go-Powered Automation:** Built high-performance CLI tools including Go-TransferScript for bulk GitHub repository transfers, GitHub Cleaner for removing unused React components across 50+ repos, and AI Git History Rewriter using OpenRouter API.
- **API Development:** Created production-grade Dragon Ball REST API with Express.js, TypeScript, MongoDB, JWT authentication, and comprehensive Swagger/OpenAPI documentation.
- **Testing Automation:** Developed AI Unit Test Generator for C++/Drogon systems using GitHub Models, OpenRouter, and Llama APIs with automated feedback loops for continuous code quality enhancement.
- **CI/CD Implementation:** Built complete automated testing pipelines using GitHub Actions, Jest, Supertest, and Keploy&apos;s AI-powered testing tools.
- **Open Source Contribution:** Successfully merged Dragon Ball API into Keploy&apos;s official public APIs collection as the only solo-developer contribution.

## Technologies Used
- **Backend:** Go, Express.js, TypeScript, C++, Drogon Framework
- **Databases:** MongoDB, Redis
- **AI Integration:** OpenRouter API, GitHub Models, Llama
- **Testing:** Jest, Supertest, Keploy AI tools
- **DevOps:** GitHub Actions, Docker, CI/CD pipelines
- **Authentication:** JWT
- **Documentation:** Swagger/OpenAPI
- **Tools:** Git, GitHub, Figma, Vercel

## Links
- **Portfolio Project:** [Dragon Ball API Project](https://mishrashardendu22.is-a.dev/projects/6873ec516798e4d1e0dc2a58)
- **Demo Video:** [Dragon Ball API Demo](https://youtu.be/W11A4M4QZgU)
- **Fellowship Certificate:** [View Certificate](https://drive.google.com/file/d/1GEqYO3yAJsAs5mBtawT4UONoVW5H7pod/view?usp=sharing)</description>
      <pubDate>Sat, 13 Sep 2025 10:26:49 GMT</pubDate>
      <category>Experience</category>
      <guid isPermaLink="true">https://mishrashardendu22.dev/experiences/68c546e9538a0e733808c763</guid>
    </item>
    <item>
      <title>Co-Lead at Velocity, IIIT-Dharwad</title>
      <link>https://mishrashardendu22.dev/volunteer/68ab871d1cf2ca00881cfe1d</link>
      <description>Leading and co-leading the development group at IIIT Dharwad, Velocity is a community-driven initiative aimed at fostering a collaborative environment where developers continuously learn, grow, and celebrate development as a craft. The mission of Velocity is to cultivate technical excellence, encourage peer learning, and promote innovation through hands-on experience and impactful projects. As a Velocity Club Member, collaborated with senior members in Team Velocity on multiple projects and actively participated in the recruitment and onboarding of junior members to strengthen the team’s capabilities and ensure continuity.

### Velocity, IIIT-Dharwad

### Hack2Future Website Contribution
Contributed to the development of the official website for Hack2Future, IIIT Dharwad’s national-level hackathon, with a focus on enhancing UI/UX and building modular, reusable frontend components. Played a key role in improving the overall design system to ensure a seamless, responsive, and engaging user experience across devices.</description>
      <pubDate>Sun, 24 Aug 2025 21:41:49 GMT</pubDate>
      <category>Volunteer</category>
      <guid isPermaLink="true">https://mishrashardendu22.dev/volunteer/68ab871d1cf2ca00881cfe1d</guid>
    </item>
    <item>
      <title>Tech Team Member at Vidkarya</title>
      <link>https://mishrashardendu22.dev/volunteer/68ab86b21cf2ca00881cfe1c</link>
      <description>We are Vidkarya, group of passionate tech enthusiasts, dedicated to crafting innovative solutions.At Vidkarya, we curate a rich repository of notes, blogs, and various useful materials, tailored to meet the diverse needs of college students. What sets us apart is our commitment to fostering collaboration and innovation. On our platform, users have the unique opportunity to not only access valuable resources but also to share their own projects. This collaborative space allows like-minded students to connect, exchange ideas, and embark on inspiring ventures together. Join us at Vidkarya, where knowledge meets collaboration, and together, we shape the future of learning.

# [Vidkarya](https://vidkarya.vercel.app/) 

**Education &amp; Project Overview**  
Actively working on and contributing to Vidkarya, a project initiated by a senior at IIIT Dharwad to build a comprehensive website and community catering to all student needs. Vidkarya aims to create a centralized platform for academic resources, discussions, and student engagement.

As a Full Stack MERN Web Developer, my contributions include:
- Developing a comprehensive website as a one-stop solution for students
- Collaborating with senior developers to design and implement new features
- Enhancing and optimizing existing functionalities for improved performance, maintainability, and user experience

Vidkarya empowers college students with high-quality digital learning resources, providing tools ranging from curated notes to personalized mentorship to unlock their full potential.</description>
      <pubDate>Sun, 24 Aug 2025 21:40:02 GMT</pubDate>
      <category>Volunteer</category>
      <guid isPermaLink="true">https://mishrashardendu22.dev/volunteer/68ab86b21cf2ca00881cfe1c</guid>
    </item>
    <item>
      <title>Website Development Team at Indian Institute of Information Technology (IIIT) Dharwad</title>
      <link>https://mishrashardendu22.dev/volunteer/68ab7e451cf2ca00881cfe1a</link>
      <description>Contributed significantly to the development and ongoing enhancement of IIIT Dharwad’s official website, a production-grade platform that is live, actively maintained, and optimized for performance, usability, and user engagement. The site supports dynamic content delivery to a substantial user base.

## About IIIT Dharwad
The Indian Institute of Information Technology, Dharwad (IIIT Dharwad) is an Institute of National Importance set up under a non-profit, Public-Private-Partnership (PPP) model by the Ministry of Education (India).

## Contributions
- **CMS Integration**: Designed and implemented data schemas in Sanity CMS to define and structure content types.  
- **GROQ Queries**: Developed GROQ queries and backend logic for seamless data retrieval.  
- **Secure Workflows**: Engineered authenticated user flows for content creation, updates, and deletion.  
- **Access Control**: Implemented role-based access control ensuring data integrity across the system.

*Work on this project concluded in **August 2025**.*</description>
      <pubDate>Sun, 24 Aug 2025 21:04:05 GMT</pubDate>
      <category>Volunteer</category>
      <guid isPermaLink="true">https://mishrashardendu22.dev/volunteer/68ab7e451cf2ca00881cfe1a</guid>
    </item>
    <item>
      <title>Tech Team at Return 0 - Competitive Programming Club, IIIT Dharwad</title>
      <link>https://mishrashardendu22.dev/volunteer/68ab79471cf2ca00881cfe19</link>
      <description>A vibrant community of competitive programmers and DSA enthusiasts committed to mastering algorithmic problem-solving, excelling in coding contests, and advancing data structures and algorithms expertise.

### Return 0 – Competitive Programming &amp; DSA Community

Return 0 is a community for competitive programmers and DSA enthusiasts, designed to help members sharpen problem-solving skills, prepare for coding competitions, and master algorithmic thinking.  

As a member of the Tech Team since February 2024, I have actively contributed to:

- Contests and competitive challenges  
- Peer-learning sessions  
- Daily coding practice  

**Achievements:**

- Reached a LeetCode rank of 37,822  
- Solved 834 problems  
- Earned 16 badges, including the 365 Days Badge  
- Made 4,829 submissions in a year
</description>
      <pubDate>Sun, 24 Aug 2025 20:42:47 GMT</pubDate>
      <category>Volunteer</category>
      <guid isPermaLink="true">https://mishrashardendu22.dev/volunteer/68ab79471cf2ca00881cfe19</guid>
    </item>
    <item>
      <title>Tech Team at Blocsoc IIT Dharwad</title>
      <link>https://mishrashardendu22.dev/volunteer/68ab77d21cf2ca00881cfe18</link>
      <description>BlocSoc is a vibrant Web3 developer community dedicated to promoting learning, collaboration, and innovation within the decentralized ecosystem. 

### BlocSoc – Web3 Developer Community

The community empowers developers to build on blockchain technologies—such as Solana, smart contracts, and other protocols—through:

- Hands-on projects  
- Knowledge sharing  
- Contributions to open-source initiatives
</description>
      <pubDate>Sun, 24 Aug 2025 20:36:34 GMT</pubDate>
      <category>Volunteer</category>
      <guid isPermaLink="true">https://mishrashardendu22.dev/volunteer/68ab77d21cf2ca00881cfe18</guid>
    </item>
    <item>
      <title>Software Development Intern at Acumant</title>
      <link>https://mishrashardendu22.dev/experiences/68ab75d21cf2ca00881cfe17</link>
      <description># Software Development Intern – Acumant  
_Remote · Kanpur Nagar, Uttar Pradesh, India_

## Overview  
Developed a cross-platform mobile application for a healthcare client to streamline stroke assessment. The application guided medical staff through structured clinical questions and utilized AI-driven analysis to accelerate diagnosis and improve hospital workflow efficiency.

## Key Responsibilities  
- **Proof of Concept (PoC):** Built the initial PoC to validate the core functionality and demonstrate feasibility.  
- **Collaboration:** Worked closely with the client and technical team lead, maintaining feedback loops and aligning with evolving requirements.  
- **UI/UX Design:** Designed user interfaces optimized for medical professionals, emphasizing clarity, ease of use, and accessibility.  
- **Iterative Development:** Employed a prototyping-based development approach, rapidly iterating on features in response to stakeholder feedback.

## Technologies Used  
- **Frontend:** React, TypeScript  
- **Backend:** Node.js, Express  
- **AI &amp; Logic:** TensorFlow.js (for basic AI integration), custom rule-based systems  
- **Database:** Firebase  
- **Tools:** Figma, Vercel, Git, GitHub

## Links  
- **Live Demo 1:** [Frontend (V1)](https://frontend-acumant-neuro.vercel.app)  
- **Live Demo 2:** [Frontend (V2)](https://neuro-assist-v2.vercel.app)  
- **Internship Certificate:** [View Certificate](https://drive.google.com/file/d/1YIIY8ghuTa0qQmQUvCEl1CtMRxEYRC0R/view?usp=drive_link)</description>
      <pubDate>Sun, 24 Aug 2025 20:28:02 GMT</pubDate>
      <category>Experience</category>
      <guid isPermaLink="true">https://mishrashardendu22.dev/experiences/68ab75d21cf2ca00881cfe17</guid>
    </item>
    <item>
      <title>Intern - Frontend Web Developer at DevForces</title>
      <link>https://mishrashardendu22.dev/experiences/68ab69581cf2ca00881cfe16</link>
      <description># Frontend Web Developer – DevForces  
_Remote · Dharwad, Karnataka, India_

## Overview  
Built and optimized user-facing components for a competitive programming platform. Worked on delivering responsive and intuitive experiences across critical pages like the landing and battles interface.

## Key Responsibilities  
- **UI Component Architecture:** Developed scalable and reusable components from scratch.  
- **Responsive Design:** Ensured consistent behavior across devices and screen sizes.  
- **UX Improvements:** Focused on clean, intuitive, and high-performance user interfaces.  
- **Agile Development:** Contributed to iterative feature rollouts with continuous feedback loops.

## Major Projects  
- **Landing Page:** Designed and implemented the platform&apos;s main entry point with modern UI/UX patterns.  
- **Battles Interface:** Created real-time competition interface with interactive, dynamic elements.

## Technologies Used  
- **Frontend:** React.js, Vite, Vanilla CSS  
- **Design &amp; Tools:** Figma, Git, GitHub

## Skills Demonstrated  
- Component-based frontend architecture  
- Responsive web design  
- UI/UX design best practices  
- Team collaboration in remote development</description>
      <pubDate>Sun, 24 Aug 2025 19:34:48 GMT</pubDate>
      <category>Experience</category>
      <guid isPermaLink="true">https://mishrashardendu22.dev/experiences/68ab69581cf2ca00881cfe16</guid>
    </item>
    <item>
      <title>Hacksagon Finalist – ABV‑IIITM Gwalior / IEEE</title>
      <link>https://mishrashardendu22.dev/certificates/68754bc9e37e573cc1d68ede</link>
      <description>## Dhvani - Smart Health Management Platform

Modular, full‑stack health management with **role‑based access** for patients, healthcare orgs, admins. Integrated **microservices** built in **Go**, **Node.js**, **Python**. Frontend: **React**, **TypeScript**. Backend: **MongoDB**, **Redis**, Docker, Kubernetes.

### Key Features:
- **Medical image analysis** via Vision Transformer (ViT) microservice in Go + Python.
- **Disease detection &amp; stroke risk assessment** using LLMs (Meta’s Gemma) + AI imaging pipeline.
- **Diet Planner &amp; Nutrition Calculator** microservice: Go + LLM for NLU parsing → calculates nutrition score + schedules.
- **AI‑powered chatbot** using LLM integration for patient support.
- **Blood bank management** with inventory, requests, notifications.
- **Scalable architecture**: containerized microservices, Go routines, Go channels for concurrent processing, Redis cache, Swift REST APIs, WebSockets for real‑time updates.

Live: https://dhvani-five.vercel.app/user/dashboard | Repo: https://github.com/MishraShardendu22/Dhvani</description>
      <pubDate>Mon, 14 Jul 2025 18:26:17 GMT</pubDate>
      <category>Certificate</category>
      <guid isPermaLink="true">https://mishrashardendu22.dev/certificates/68754bc9e37e573cc1d68ede</guid>
    </item>
    <item>
      <title>IIT Dharwad Hackathon Winner – Blood Sphere</title>
      <link>https://mishrashardendu22.dev/certificates/68754bc8e37e573cc1d68edd</link>
      <description>## Blood Sphere – Hackathon Winning Project @ IIT Dharwad (Team ParashuRam)

Developed a full‑stack, microservices‑based **blood bank management system** to streamline donation, inventory, and request handling.

### Tech Stack:
- **Go (Golang)** for microservices handling core logic and inventory management
- **Node.js** for backend integration, routing, and API orchestration
- **React.js** + **Next.js** for the frontend with modern UI/UX
- **Nextra** for clean, structured technical documentation
- **MongoDB** as the primary database

### Features:
- Real-time inventory tracking
- Role-based access for hospitals, admins, and donors
- Blood request/fulfillment engine
- Retrieval-Augmented Generation (RAG) setup for future AI integration
- Deployed as a **SaaS model** with modular microservices

Awarded **Winner** of the IIT Dharwad Hackathon hosted by CGC.</description>
      <pubDate>Mon, 14 Jul 2025 18:26:16 GMT</pubDate>
      <category>Certificate</category>
      <guid isPermaLink="true">https://mishrashardendu22.dev/certificates/68754bc8e37e573cc1d68edd</guid>
    </item>
    <item>
      <title>dragon-ball-api - (Open Sourced To Keploy)</title>
      <link>https://mishrashardendu22.dev/projects/6873ec516798e4d1e0dc2a58</link>
      <description>
## Dragon Ball RESTful API - Keploy Collection

**Repository:** [Keploy Public APIs Collection](https://github.com/keploy/public-apis-collection#anime--manga)  
**Merged PR:** [#105 - Dragon Ball API Contribution](https://github.com/keploy/public-apis-collection/pull/105)

The **only solo developer-built API** featured in Keploy’s official public APIs collection, standing among submissions from organizations.

---

### 🏗️ Backend Architecture

- **Express.js + TypeScript**: Fully typed, production-grade REST API.
- **MongoDB + Mongoose**: Structured, scalable schema for characters, series, and trivia data.
- **JWT**: Secure role-based authentication and token management.
- **CORS**: Proper handling of cross-origin requests for safe frontend access.

---

### 📘 API Documentation

- **Swagger/OpenAPI 3.0**: Fully interactive, auto-generated API docs.
- **Structured Error Responses**: Descriptive, standardized error handling.
- **Rate Limiting**: Prevents brute-force and abuse scenarios.

---

### 🧪 Testing &amp; QA

- **Keploy AI Testing**: Snapshot-based regression testing with AI verification.
- **Jest**: Coverage for both unit and integration layers.
- **Supertest**: Endpoint behavior validation with real HTTP assertions.
- **GitHub Actions**: CI/CD pipeline for automated test, build, and deploy.

---

### 🔥 Key Features

- **Comprehensive Trivia Dataset**: Covers Dragon Ball, Z, GT, and Super.
- **Dual Access Layer**: Public APIs plus gated admin management routes.
- **Dynamic Question System**: Admin interface to add/update trivia.
- **Performance Optimization**: Indexed queries and lean data responses.
&quot;</description>
      <pubDate>Sun, 13 Jul 2025 17:26:41 GMT</pubDate>
      <category>Project</category>
      <guid isPermaLink="true">https://mishrashardendu22.dev/projects/6873ec516798e4d1e0dc2a58</guid>
    </item>
    <item>
      <title>dfs-based-repository-cleaning-engine</title>
      <link>https://mishrashardendu22.dev/projects/6873dde96798e4d1e0dc2a56</link>
      <description># DFS based repository cleaninge engine

Autonomous Repository Maintenance and Dead Component Elimination Engine.

GitHub-Cleaner-Go is a production-grade automation tool that systematically traverses GitHub repositories, performs static import analysis on React codebases, identifies and removes unused UI components, validates builds post-cleanup, and commits the results without human intervention.

Built for developers managing large React ecosystems where component bloat accumulates across repositories. The tool functions as an autonomous maintenance agent, reducing technical debt through programmatic dead-code elimination.

## Latest Check
- Runtime: 16m 1.22s
- Concurrency: 10 workers
- Repositories scanned: 148

---

## Architecture

```
+------------------------------------------------------------------------------------------+
|                              GitHub-Cleaner-Go Engine                                     |
+------------------+---------------------------+-------------------------------------------+
|  Repository      |  Static Analysis           |  Build and Commit                          |
|  Orchestration   |  Pipeline                  |  Pipeline                                 |
+------------------+---------------------------+-------------------------------------------+
|  - GitHub API    |  - Regex Import Scan       |  - npm install                             |
|  - SSH Clone     |  - Source Graph Build      |  - Production Build                        |
|  - DFS Traversal |  - Dead-Component ID       |  - Git Commit                              |
|  - Concurrent    |  - File Deletion           |  - Local Cleanup                           |
|    (5 workers)   |                           |                                           |
+------------------+---------------------------+-------------------------------------------+
|                        Observability Layer                                              |
|              Prometheus Metrics (:2112) + Structured JSON Logging                        |
+------------------------------------------------------------------------------------------+
```

The system operates as a three-stage pipeline: **repository orchestration**, **static analysis and dead-component elimination**, and **build verification and commit**. Repositories are processed concurrently (up to 5 at a time) via a goroutine pool with channel-based rate limiting.

---

## Core Features

- **Autonomous Repository Discovery** - Fetches all repositories from a GitHub account via the REST API (up to 100 repos per request).
- **Concurrent Processing** - Processes up to 5 repositories simultaneously using goroutines with channel-based semaphore limiting.
- **Recursive Filesystem Traversal** - Walks directory trees (DFS) to locate React projects with `components/ui` directory structures.
- **Regex-Based Static Import Analysis** - Scans `.ts`, `.tsx`, `.js`, `.jsx` files for import statements referencing `components/ui/*` components.
- **Dead Component Elimination** - Compares used components against filesystem entries; removes orphaned components.
- **Build Validation** - Executes `npm install --legacy-peer-deps &amp;&amp; npm run build` to verify post-cleanup integrity.
- **Prometheus Metrics** - Exposes real-time metrics including active workers, repos processed, clone/build durations, files deleted, and failure counters.
- **Structured JSON Logging** - All operations logged with `slog` in JSON format with consistent attribute structure.
- **Git Automation** - Automatically commits cleanup changes with standardized commit messages.
- **Ephemeral Repository Lifecycle** - Clones, processes, and destroys local repository copies leaving no residual artifacts.

---

## Technical Workflow

### Stage 1: Repository Orchestration

1. **GitHub API Discovery** - Issues `GET /users/{username}/repos?per_page=100` to enumerate all repositories (unauthenticated, 60 req/hr limit).
2. **Concurrent Clone Pool** - Up to 5 repositories cloned simultaneously via goroutine pool with channel-based capacity control.
3. **SSH Clone** - Clones each repository via `git@github.com:{username}/{repo}.git`.
4. **Absolute Path Resolution** - Uses `filepath.Abs` to resolve the cloned repository root (no `os.Chdir` state mutation).
5. **Recursive Scanner Invocation** - Initiates `DeepSearchAndClean()` on the repository root.

### Stage 2: Static Analysis and Cleanup Pipeline

1. **Filesystem Enumeration** - Lists files and directories at current level via `Segregator()` (separates files from directories).
2. **React Project Detection** - Checks for `package.json` containing both `react` and `react-dom` dependencies.
3. **UI Directory Discovery** - DFS walk via `FindUIDir()` to locate `components/ui` directories.
4. **Source Graph Analysis** - Walks every `.ts/.tsx/.js/.jsx` file, extracting import paths matching the pattern:
   - `[./@&quot;]components/ui/([A-Za-z0-9_-]+)`
5. **Usage Mapping** - Builds a lowercase-normalized set of used component names.
6. **Dead Component Elimination** - Iterates over `components/ui` entries, deleting any file whose base name (without extension) has zero import references.
7. **Build Verification** - Runs the project build to confirm no regressions were introduced; build exit code is captured and logged.

### Stage 3: Commit and Cleanup

1. **Git Commit** - Stages and commits all changes with message: `auto: cleanup ui and build` (requires `git cm` alias for `commit -am`).
2. **Repository Destruction** - Recursively removes the cloned repository via deferred `os.RemoveAll` on absolute path.

---

## Example Execution Flow

```
flowchart TD
    A[GitHub API: Fetch Repos] --&gt; B[Concurrent Pool: Up to 5 Workers]
    B --&gt; C[Clone Repo via SSH]
    C --&gt; D[Resolve Absolute Path]
    D --&gt; E{Has package.json?}
    E --&gt;|Yes| F{Is React Project?}
    E --&gt;|No| G[Recurse into Subdirectories]
    F --&gt;|Yes| H[Find components/ui]
    F --&gt;|No| G
    H --&gt; I{Found UI Dir?}
    I --&gt;|Yes| J[Scan All Source Files for Imports]
    I --&gt;|No| G
    J --&gt; K[Build Used-Component Set]
    K --&gt; L[Delete Unused Components]
    L --&gt; M[npm install + npm run build]
    M --&gt; N[Git Commit]
    N --&gt; O[Remove Local Clone]
    G --&gt; P[Traverse Next Directory]
    P --&gt; E
    O --&gt; Q{More Repos?}
    Q --&gt;|Yes| C
    Q --&gt;|No| R[Done]
```

---

## Repository Traversal

The traversal is implemented as a **depth-first recursive directory walk** (`DeepSearchAndClean`). At each node:

1. The directory is enumerated for files and subdirectories using `Segregator()`.
2. If a `package.json` is present, the node is treated as a potential project root and passed to `CleanThis`.
3. If no `package.json` exists, the function recurses into each subdirectory.

This design allows the system to handle monorepos, nested projects, and repositories with complex directory structures. The traversal terminates at leaf directories with no further subdirectories or upon discovering a valid React project.

---

## Static Import Analysis

The static analysis subsystem uses **regex-based import scanning** rather than full AST parsing. The regular expression:

```
[./@&quot;]components/ui/([A-Za-z0-9_-]+)
```

Matches import statements in the following common patterns:

| Import Pattern     | Example                              |
|--------------------|--------------------------------------|
| Relative import    | `./components/ui/Button`             |
| Absolute import    | `@/components/ui/Card`               |
| String import      | `&quot;components/ui/Modal&quot;`              |
| Named import       | `components/ui/Button`               |

The analysis builds a **usage map** (boolean, presence-based) by lowercasing the captured component name. Files are then compared against this map; any file in `components/ui` whose stem does not appear in the usage set is considered dead and scheduled for deletion.

**Known Limitation**: Dynamic imports using template literals or computed strings are not resolved. The analysis also does not handle re-exports or barrel files.

---

## Build Validation

Post-cleanup, the system executes:

```bash
npm install --legacy-peer-deps &amp;&amp; npm run build
```

This serves dual purposes:
1. **Integrity Check** - Verifies that no deleted component was actually required at build time (catches false positives).
2. **Dependency Resolution** - Ensures the project is in a buildable state after modifications.

Build results are logged with duration and status. Build failures are tracked via Prometheus metrics but do not halt the pipeline.

---

## Observability

### Prometheus Metrics

Metrics are exposed via an HTTP server on **`:2112/metrics`**:

| Metric                            | Type      | Description                       |
|-----------------------------------|-----------|-----------------------------------|
| `repos_processed_total`           | Counter   | Total repos processed             |
| `react_repos_total`               | Counter   | React repos found                 |
| `files_deleted_total`             | Counter   | Total files deleted               |
| `clone_failures_total`            | Counter   | Clone failures                    |
| `build_failures_total`            | Counter   | Build failures                    |
| `cleanup_failures_total`          | Counter   | Cleanup failures                  |
| `git_commit_failures_total`       | Counter   | Git commit failures               |
| `active_workers`                  | Gauge     | Current active goroutines         |
| `repo_processing_duration_seconds`| Histogram | Per-repo processing time          |
| `clone_duration_seconds`          | Histogram | Clone operation duration          |
| `build_duration_seconds`          | Histogram | Build operation duration          |

### Grafana Dashboard

A full monitoring stack is available via Docker Compose:

```bash
make start      # Start Prometheus + Grafana + App
make grafana    # Open Grafana at http://localhost:3000
make prometheus # Open Prometheus at http://localhost:9090
make metrics    # Curl raw metrics endpoint
```

---

## Installation

### Prerequisites

| Dependency     | Version | Purpose                                              |
|----------------|---------|------------------------------------------------------|
| Go             | 1.24.4+ | Compilation and runtime                              |
| Git            | 2.x+    | Repository cloning and automation                    |
| SSH Agent      | Any     | Authentication for repository cloning                |
| npm / Node.js  | Any     | React project build validation                       |
| Docker (opt.)  | Any     | Prometheus/Grafana monitoring stack                  |

### Build and Run

```bash
# Clone the repository
git clone git@github.com:MishraShardendu22/GitHub-Cleaner-Go.git
cd GitHub-Cleaner-Go

# Build the binary
go build -o github-cleaner .

# Run
./github-cleaner
```

### Quick Start with Make

```bash
make run           # Run cleanup engine
make metrics       # View Prometheus metrics
make start         # Start monitoring stack + app
make clean         # Stop services and remove _Repos
```

---

## Usage

```bash
go run main.go
```

Fetches repositories from the configured GitHub account, clones each one, performs dead component analysis, deletes unused files, validates builds, commits changes, and cleans up.

---

## Project Structure

```
GitHub-Cleaner-Go/
 main.go                    # Core cleanup engine and repository orchestration
 go.mod                     # Go module definition
 Makefile                   # Build, run, and monitoring targets
 docker-compose.yml         # Prometheus + Grafana stack
 README.md                  # This file
 CONTRIBUTING.md            # Contributor guidelines
 SECURITY.md                # Security considerations
 .gitignore                 # Git exclusion rules
 model/
  metric.model.go           # Prometheus metrics struct definition
  repo.model.go             # GitHub API repo response model
 util/
  contains.util.go          # Slice containment check
  find-ui-directory.util.go # DFS components/ui locator
  logger.util.go            # Structured JSON logging helpers
  metrics.util.go           # Prometheus metric registrations
  repo.util.go              # GitHub API repository fetcher
  segregator.util.go        # File/directory splitter
 prometheus/
  prometheus.yml            # Prometheus scrape configuration
 docs/
  architecture.md           # System architecture documentation
  how-it-works.md           # Detailed operational explanation
  cleanup-engine.md         # Cleanup pipeline specification
  repository-scanner.md     # Scanner implementation details
  build-validation.md       # Build verification methodology
  security.md               # Security model and risks
  limitations.md            # Known limitations
  roadmap.md                # Future development plans
```

---

## Technical Limitations

- **Regex-based analysis** - Cannot resolve dynamic imports, computed paths, or re-exports. May produce false negatives for obfuscated import patterns.
- **React-only scope** - Currently limited to React projects with `components/ui` structures. No support for Vue, Angular, or other frameworks.
- **SSH-only authentication** - Requires configured SSH keys for repository cloning. No HTTPS fallback.
- **Single-user mode** - Hardcoded to a single GitHub username. No multi-account or organization support.
- **No dry-run mode** - Operations are destructive by design. No preview capability for what would be deleted.
- **Git alias dependency** - Requires `git cm` alias for `git commit -am`.
- **No API pagination** - Only fetches the first 100 repos from the GitHub API.
- **No directory exclusion** - Traverses `.git`, `node_modules`, and hidden directories.

---

## Safety Warnings

&gt; **Destructive Operations**
&gt; This tool deletes files and makes Git commits automatically. It is strongly recommended to:
&gt; - Test on a fork or backup repository first.
&gt; - Review the codebase to understand deletion criteria.
&gt; - Ensure all important work is committed and pushed before running.
&gt; - Use a feature branch if possible (modify the commit step to push to a branch).

---

## Contributing

See [CONTRIBUTING.md](CONTRIBUTING.md) for detailed contributor guidelines, including setup instructions, code style expectations, and pull request process.

---

## License

This project is licensed under the **MIT License**. See the LICENSE file for details.

The MIT License was chosen for this project because:
- It permits commercial and private use without restrictions.
- It allows other developers to integrate the cleanup engine into their own tooling.
- It is the most widely understood and accepted license in the open-source ecosystem.
- It imposes no copyleft obligations, which is appropriate for an automation tool that may be embedded into CI/CD pipelines.
- It provides appropriate disclaimer of liability (critical for a tool that performs destructive filesystem operations).

---

## Author

**MishraShardendu22**

- GitHub: [@MishraShardendu22](https://github.com/MishraShardendu22)
- Project: [Repository-cleaning-engine](https://github.com/MishraShardendu22/Repository-cleaning-engine)

---

## Related Links

- [Go Programming Language](https://go.dev/)
- [GitHub REST API Documentation](https://docs.github.com/en/rest)
- [React Documentation](https://react.dev/)
- [Prometheus Documentation](https://prometheus.io/docs/)
</description>
      <pubDate>Sun, 13 Jul 2025 16:25:13 GMT</pubDate>
      <category>Project</category>
      <guid isPermaLink="true">https://mishrashardendu22.dev/projects/6873dde96798e4d1e0dc2a56</guid>
    </item>
    <item>
      <title>github-repo-metadata-rewriter</title>
      <link>https://mishrashardendu22.dev/projects/6873dde16798e4d1e0dc2a4f</link>
      <description># Git Commit Metadata Rewriter

## Overview

The Git Commit Metadata Rewriter is a specialized utility engineered in Go to retroactively modify Git commit metadata, including author names, email addresses, and timestamps, for cloned GitHub repositories. The system integrates with an AI model to generate realistic, non-uniform commit distributions, subsequently rewriting the repository&apos;s history to reflect the updated timelines.

## Live Resources

- **Video Demonstration**: [YouTube](https://www.youtube.com/watch?v=jHUGKcj5OwE)
- **Commit Testing Sample**: [Test Repository](https://github.com/ShardenduMishra22/Dhvani-Commit-Tester)

## Core Capabilities

- **Automated Repository Management**: Seamlessly clones public GitHub repositories for localized processing.
- **AI-Driven Timestamp Generation**: Leverages the OpenRouter API to programmatically generate realistic commit date distributions.
- **History Modification**: Utilizes Git filter-branch operations to systematically rewrite commit history with the newly generated metadata.
- **Automated Synchronization**: Executes force-pushes to synchronize the rewritten history with the remote repository origin.
- **State Cleanup**: Automatically purges temporary files and local repository clones upon process completion to maintain system hygiene.

## Operational Workflow

1. **Initialization**: Clones the specified target GitHub repository to the local environment.
2. **Extraction**: Exports the existing commit log to `edited_commits.txt`.
3. **Generation**: Interfaces with the AI model to establish new, realistic commit dates within a defined timeframe.
4. **Data Mapping**: Compiles the updated commit metadata into `updated_commits.txt`.
5. **Execution**: Rewrites the Git history applying the new metadata parameters.
6. **Synchronization**: Force-pushes the modified commit history to the remote source.
7. **Cleanup**: Removes all local artifacts and cloned data.

## Installation and Configuration

### 1. Repository Setup

Clone the repository and resolve dependencies:

```bash
git clone &lt;repository-url&gt;
cd Hackathon-Time-Script
go mod tidy
```

### 2. API Authentication

An OpenRouter API key is required for timestamp generation.
Create a `.env` file in the project root directory:

```env
API_KEY=your_openrouter_api_key_here
```

### 3. Target Configuration

Modify `main.go` to define the target repository and the desired date range parameters:

- `repo`: Set to the target repository identifier (e.g., `MishraShardendu22`).
- `start` / `end`: Define the boundaries for the newly generated commit dates.

### 4. Execution

```bash
go run main.go
```

## AI Integration Details

The system relies on the OpenRouter API to produce plausible commit timelines. The underlying prompt is strictly constrained to alter timestamps while preserving original author attributions and commit messages. Failure to provide a valid API key will result in immediate process termination.

## Troubleshooting

- **Missing API_KEY**: Verify the `.env` file is present and properly formatted.
- **Authentication Failures**: Ensure SSH keys are correctly configured with GitHub and that the executing environment holds sufficient push permissions for the target repository.
- **Empty AI Responses**: Confirm API key validity and network connectivity. An index out of range panic typically indicates a malformed or empty API response.
- **Protected Branches**: Force-push operations will fail on protected branches. Branch protection rules on the remote must be temporarily disabled prior to execution.

## System Architecture

```text
Hackathon-Time-Script/
├── main.go                # Primary execution script
├── util/
│   ├── clone.go           # Repository cloning and log extraction logic
│   ├── run.go             # AI model integration and timestamp generation
│   └── edit.go            # History rewriting and synchronization procedures
├── edited_commits.txt     # Extracted original commit log (Generated)
├── updated_commits.txt    # AI-modified commit log (Generated)
├── .env                   # Environment configuration (Ignored in version control)
├── go.mod                 # Go module dependencies
└── go.sum                 # Go module checksums
```

## Contributing

Review `CONTRIBUTING.md` for detailed contributor guidelines and procedures. Adherence to the `CODE_OF_CONDUCT.md` is strictly enforced.

## Security

For instructions on disclosing security vulnerabilities, please refer to `SECURITY.md`.

## License

Distributed under the MIT License. See `LICENSE` for further details. This project was developed to observe GitHub&apos;s visualization of commit histories and the systemic effects of rewritten repositories.
</description>
      <pubDate>Sun, 13 Jul 2025 16:25:05 GMT</pubDate>
      <category>Project</category>
      <guid isPermaLink="true">https://mishrashardendu22.dev/projects/6873dde16798e4d1e0dc2a4f</guid>
    </item>
  </channel>
</rss>