SJShantnu Jain
Personal projects · Engineering · AI

Hands-On

I lead partner and field engineering teams, and I stay close to the technology by building with it. Outside work, my hobby is photo and video editing, and I keep trying new tech to make that workflow smoother. Some of these projects started right there. They're personal projects, mostly built to learn, that keep me current on cloud, AI and infrastructure, and on the tradeoffs that come with each.

Demo available on request.

01

RAG Chatbot for Partner API Support

A scaled-down rebuild of the partner-support RAG architecture from my case study, answering questions from 18 API reference documents (838 chunks).

  • Retrieval: hybrid keyword and semantic search in Postgres with pgvector, fused with Reciprocal Rank Fusion and re-ranked by a cross-encoder.
  • Query understanding: a rule-based stage corrects typos and classifies intent before retrieval.
  • Honest answers: built to say “I don't have that information” rather than guess.
  • Measured quality: a retrieval eval (recall@5/@10, abstain correctness), a generation-quality eval that checks the answer text, automated tests, and a live thumbs-up/down feedback loop I can triage against each request's context.
  • Key lesson: swapping embedding models broke my confidence gate, because raw similarity stopped separating good matches from bad. I fixed it by gating on the reranker's calibrated relevance score instead.
PythonPostgres/pgvectorRRFCross-encoderFastAPI
02

Serverless Video Platform on AWS

A serverless YouTube-style platform on AWS, built mainly to learn the AWS media and AI services hands-on.

  • What it does: upload a video and it's transcoded to adaptive streaming, automatically labeled and moderated, embedded for semantic search, and searchable by keyword or plain-English description within minutes.
  • Tradeoff 1: I chose S3 Vectors over OpenSearch because an always-on cluster would cost more than the workload at this scale.
  • Tradeoff 2: I merged keyword and semantic results with Reciprocal Rank Fusion to avoid normalizing incompatible scores.
  • Operations: everything is infrastructure-as-code (CDK) and idles at under a dollar a month.

Live demo available on request. It runs on my own AWS account, so I share access directly rather than leave it open to the public.

AWS CDKStep FunctionsMediaConvertRekognitionBedrock NovaS3 VectorsCognitoCloudFront
03

DrawStack: Self-Hosted Lucidchart Replacement

DrawStack is a whiteboarding tool I host on my own personal cloud. With it, I was able to cancel my Lucidchart subscription.

  • Setup: Nextcloud as the document library and draw.io as the canvas editor, running in Docker behind Caddy with fail2ban blocking brute-force logins.
  • Custom migration tool: draw.io's official Lucid importer silently hung because browsers now block the third-party cookies it depends on, so I wrote my own. It exports only the documents I created, keeps the folder structure, and converts them to draw.io files locally with no third-party service.
  • Key lesson: stacking a second login in front of Nextcloud as “defense in depth” broke authentication, so I went back to a single login backed by fail2ban.
Docker ComposeNextclouddraw.ioCaddyfail2banJavaScript
04

Video Semantic Extraction

A Python tool that extracts meaning from home videos with Gemini: what happens, how people feel, what they say, and when. It turns that into searchable, timestamped labels, and a browser board helps me pick the best moments for a family movie.

  • Why I built it: my NAS holds hundreds of gigabytes of family video, and finding the right clip by scrubbing through files doesn't scale. With AI labelling what's in each video, I can search by what happens, like “climbing the stairs” or “laughing with the dog”, instead of by file name.
  • What it does: point it at a video on my NAS or in Immich and it returns scene-by-scene labels: activity, emotion, speech, audio events and notable moments, plus a readable report and subtitle file. A review board shows the clips with real frames, the child's age at each one, and the video quality. I describe the movie I want, it builds a draft timeline, and I trim, reorder and export the picks as a cut list for my editor.
  • Tradeoff 1: I used Gemini through OpenRouter instead of Google's own SDK, so I could try different models behind one key. OpenRouter has no file upload, so ffmpeg first cuts, downsizes and compresses each clip. Only those small chunks leave my machine, never the originals.
  • Tradeoff 2: I forced the model to answer in a strict JSON schema instead of free text. The labels stay consistent enough to filter, rank and merge across chunks, and a bad response fails loudly instead of quietly corrupting the data.
  • Operations: the whole board is one static HTML file with no server or database. Tests mock the API, and a guard test fails if a key, private IP or personal path ever reaches the repo.
PythonGeminiOpenRouterFFmpegStructured outputImmich
05

Photo Library Cleanup Toolkit

Smaller utility

Four small Python scripts that cleaned up years of accumulated photos and videos before I moved them to cloud storage.

  • Folders: flatten nested folders.
  • Corrupt files: flag files damaged by failed transfers.
  • Duplicates: remove them by content hash.
  • Dates: restore the real dates on WhatsApp exports using the timestamp in each filename.
  • Safe by design: every script asks before deleting anything and uses only the standard library, so there's nothing to install.

Small, but a complete example of scratching my own itch.

Want a walkthrough
of any of these?

Happy to demo a project live or talk through the tradeoffs.

Get in touch → jn.shantnu@gmail.com