About Projects Terminal Stack Field Notes Contact
PRMX.IN // SYSTEMS & TOOLS LAB

Ujan Chakraborty.
Software builder, systems hacker, and toolmaker.

I spend my time deep in code—building high-throughput media pipelines, reverse-engineering real-time APIs, automating news intelligence, and building lightweight software that solves tangible friction.

Status Node
● Active • Deployed
Core Specialization
Automation & Telemetry
Primary Languages
Python / Go / C++ / TS
Cloudflare Edge
PRMX.in (Live)
PRMX // RUNTIME PREVIEW
# FlyOverhead — High-precision ADS-B flight overhead tracking with predictive acoustics
import math, time
from telemetry import ADSBReceiver, TelegramNotifier

class OverheadVectorEngine:
    def __init__(self, observer_lat=22.5726, observer_lon=88.3639, observer_alt=9.0):
        self.coords = (observer_lat, observer_lon, observer_alt)
        self.speed_of_sound = 343.0  # m/s at 20°C sea level

    def compute_slant_and_lag(self, target_lat, target_lon, alt_baro, ground_speed_kts):
        # 3D spherical trigonometry + altitude vector
        d_ground = self.haversine(self.coords[0], self.coords[1], target_lat, target_lon)
        alt_meters = alt_baro * 0.3048
        slant_range = math.sqrt(d_ground**2 + alt_meters**2)
        
        # Acoustic delay: time for sound to reach ground observer
        acoustic_lag_sec = slant_range / self.speed_of_sound
        return {
            "slant_range_km": round(slant_range / 1000, 2),
            "acoustic_delay": f"{acoustic_lag_sec:.1f}s",
            "alert_window": "T-60s PREDICTIVE DISPATCH"
        }
#!/usr/bin/env bash
# StreamDVR & ClipDeck: Zero-copy ring-buffer stream segmenter
STREAM_URL="$1"
BUFFER_DIR="/var/run/prmx/ring_buffer"
CLIP_WINDOW=60

echo "[PRMX-DVR] Initializing circular segmenter for $STREAM_URL..."

ffmpeg -hide_banner -loglevel error \
  -i "$STREAM_URL" \
  -c copy \
  -f segment \
  -segment_time 5 \
  -segment_wrap 12 \
  -reset_timestamps 1 \
  "$BUFFER_DIR/seg_%02d.ts" &

# Instant trigger hook on keypress
capture_clip() {
    local OUT_FILE="clips/clip_$(date +%s).mp4"
    ffmpeg -y -f concat -safe 0 -i "$BUFFER_DIR/manifest.txt" -c copy "$OUT_FILE"
    echo "[OK] Exported 60s instantaneous clip: $OUT_FILE"
}
// MINUTES — Automated Multi-City News Pipeline
import { LLMFilter, CardRenderer, TelegramChannel } from '@prmx/engine';

const CITIES = ['Kolkata', 'Mumbai', 'Delhi', 'Varanasi', 'Amravati'];

export async function runNewsTriage(rawArticle: RawFeedItem) {
  const verdict = await LLMFilter.evaluate({
    content: rawArticle.body,
    criteria: ['high_civic_impact', 'non_clickbait', 'verified_source']
  });

  if (verdict.publish) {
    const graphicCard = await CardRenderer.buildBadgeCard({
      title: verdict.cleanHeadline,
      city: rawArticle.city,
      theme: 'prmx-dark-modern'
    });

    await TelegramChannel.dispatch(rawArticle.city, {
      photo: graphicCard.buffer,
      caption: verdict.telegramFormattedMarkdown
    });
  }
}

Selected Projects & Tools

A selection of tools, automation backends, and standalone projects built to solve specific challenges with speed and precision.

Aviation / Math #01

FlyOverhead

High-precision ADS-B flight overhead tracking with a 1-minute predictive Telegram alert. Calculates 3D slant range, elevation angles, and acoustic lag so you hear the aircraft right as the notification arrives.

Python ADS-B Protocol Acoustics Math Telegram Bot
Systems / Networking #02

DeskGlide

Cross-machine input and clipboard multiplexer. Extended 2MB buffer, custom screenshot snipping pipeline, and zero-latency Wi-Fi / Ethernet dual-homed sync across workstations.

C++ WinAPI Hooks Sockets Cross-Platform
AI / Publishing #03

MINUTES News Engine

Automated multi-city news intelligence engine covering 5 Indian cities. Scrapes verified local feeds, performs LLM deduplication and classification, renders branded visual cards, and pushes updates via Telegram.

Node.js Gemini API Canvas / Graphics Automated Dispatch
Media Engineering #04

StreamDVR & ClipDeck

Continuous 24-hour stream recording daemon with circular memory ring buffers. Allows retroactive 60-second clip extraction on hotkeys without re-encoding overhead or dropped frames.

FFmpeg Bash / Daemon Ring Buffers HLS / RTMP
Edge / Infrastructure #05

PRMX API Gateways

Low-latency unified API router and caching proxy aggregating Gemini, DeepSeek, and open models. Features automated rate-limit smoothing, error failover, and request instrumentation.

Cloudflare Workers TypeScript Edge Caching REST Proxies
Video Pipeline #06

PRMX Clipping Engine

Automated media processing pipeline for rapid video slicing, speech transcription synchronization, aspect ratio transformation, and high-throughput content export.

Python Whisper AI Video Pipelines Automation

Core Stack & Focus Areas

Technological domains and tools I work with daily to engineer resilient, self-contained systems.

01. Systems & Languages
  • Python — Daemons, scrapers, data pipelines
  • Go & C++ — High-speed networking, hooks
  • TypeScript / JS — Node backends & web apps
  • Bash & PowerShell — OS orchestration
  • SQL & SQLite — Local transactional stores
02. Media & Protocols
  • FFmpeg — Hardware acceleration, transcoding
  • ADS-B / Telemetry — Radio telemetry tracking
  • WebSockets & Sockets — Real-time event streams
  • HLS, RTSP & RTMP — Live stream ingestion
  • Zero-copy Buffering — Ring storage loops
03. Edge & Cloud Infra
  • Cloudflare — Pages, Workers, DNS, Edge KV
  • Docker & Daemons — Containerized background tasks
  • Telegram Bot API — Webhook & polling architectures
  • Reverse Proxies — Load balancing & routing
  • Local-first Architecture — Zero SaaS bloat
04. Engineering Ethos
  • Speed over bloat — Minimal runtime dependencies
  • Resilience — Programs that heal from restarts
  • Functional simplicity — Direct solutions to problems
  • Fast feedback loops — Build, test, deploy immediately
  • Radical autonomy — Own the entire pipeline

Thoughts & Engineering Logs

Short logs and takeaways from building tools in the wild.

01
Calculating acoustic lag: alerting an observer before overhead jet roar arrives
Combining barometric altitude, 3D slant vectors, and temperature-adjusted sound speed for precise notification timing.
Telemetry Log
02
Why local-first automation beats multi-tier cloud clusters for solo tools
How a simple loop on a mini-PC outperforms complex cloud queues in cost, latency, and operational peace of mind.
Systems Architecture
03
Zero-copy segment wrapping with FFmpeg for instant retrospective stream clipping
Leveraging keyframe-aligned ring buffers to export clips in under 200 milliseconds.
Media Engineering

Let's build something sharp.

Whether you want to discuss a custom automation, stream pipeline, software project, or collaborate on experimental tooling—get in touch.

GitHub: ujanchakraborty ↗
✓ Email copied to clipboard