Projects

Distributed systems, machine learning, LLM tooling and full-stack builds. Open any card to see how it works.

Showing all 13 projects

Distributed Systems Aegis Self-hosted distributed job queue and DAG workflow engine GoPostgreSQLSQLiteWebSocketsReactTypeScriptPythonDocker

A from-scratch alternative to Celery, Sidekiq and Temporal: a durable job queue and DAG workflow engine that ships as one static binary with an embedded dashboard.

  • Crash-safe delivery through row leasing and a background reclaim loop, so a crashed worker's job is reassigned automatically
  • Retries with exponential backoff and full jitter, then a dead-letter queue with manual requeue
  • DAG workflows defined in YAML or JSON, with cycle detection and event-driven fan-out and fan-in
  • Leader election with Postgres advisory locks and concurrent claiming with SELECT … FOR UPDATE SKIP LOCKED; embedded SQLite for zero-config single-node use
  • Real-time React dashboard over WebSockets, Go and Python worker SDKs, a CLI and cron schedules
  • Race-tested lifecycle, backoff and DAG tests (go test -race) with CI for Go, Node.js and Python
Machine Learning OmniRecAI Two-stage recommendation system with deep retrieval and learned ranking PyTorchFAISSXGBoostFastAPIPostgreSQLRedisMLflowDocker

A production-style recommendation platform. A two-tower neural network retrieves candidate items, and an XGBoost ranker orders them by predicted engagement.

  • Two-tower retrieval model in PyTorch with 64-dimensional user and item embeddings and FAISS nearest-neighbor search
  • XGBoost ranker over user, item and behavioral features
  • Retrieval Recall@10 of 0.54 and Recall@20 of 0.68; ranking AUC of 0.83 on a synthetic dataset of 10,000 users, 5,000 items and 500,000 interactions
  • FastAPI service with Redis caching and hit/miss metrics, PostgreSQL through SQLAlchemy
  • MLflow experiment tracking and model versioning; all services under Docker Compose with a React dashboard
Distributed Systems Sift Multi-repository code search engine with a trigram index GoReactTypeScriptSQLiteWebSocketsDocker

Instant, ranked, regex-capable search across many git repositories, built on the same trigram technique as Google Code Search and Zoekt rather than a wrapper around grep.

  • Derives required trigrams from a regex's parsed syntax tree, then intersects posting lists to find candidate files; fuzz-tested so it never drops a true match
  • Symbol-aware ranking: Go AST parsing plus heuristic extraction for a dozen other languages, so definitions outrank plain mentions
  • Incremental re-indexing by diffing git commits instead of rebuilding
  • Hand-built binary index with delta-varint posting lists that reloads in milliseconds
  • REST and WebSocket API, a live React dashboard and a CLI, all in one Go binary
Distributed Systems Distributed Collaborative Editor Real-time document editing that stays consistent across servers PythonFastAPIWebSocketsCRDTRedis Pub/SubPostgreSQLDocker

Several users edit the same document at once, and every copy converges to the same state, even when edits arrive through different backend servers.

  • CRDT-based conflict resolution so concurrent edits merge without conflicts
  • WebSocket connection manager on FastAPI and AsyncIO
  • Redis Pub/Sub broadcasts edits between backend instances, so the service scales horizontally
  • PostgreSQL documents and version-history tables with snapshot-based persistence and crash recovery
LLM & RAG ProofTraceLive demo Verification layer that turns AI decisions into auditable, replayable proofs PythonGeminiPydanticpytestGradio

Records which rule an AI applied, how it was interpreted, what evidence it used and whether that evidence actually exists. Built with Taha Sarwat.

  • Gemini parses plain-English rules into structured constraints and marks ambiguous rules as non-enforceable
  • Each rule returns PASS, FAIL or UNVERIFIABLE with an exact evidence quote and a confidence score
  • Every quote is checked in Python against the source text; missing quotes are flagged as hallucinations
  • Replays text under modified rules with rule-level diffs, plus PQL, a small query language for proofs
  • Deterministic pytest suite that runs without API calls
Data & Infrastructure SentryFlow Self-hosted API gateway with rate limiting and usage analytics PythonFastAPIRedisKafkaClickHouseReactChart.js

Sits in front of your APIs: authenticates requests by API key, enforces per-endpoint rate limits and streams every request into an analytics store.

  • API keys that can be issued, scoped and revoked per user
  • Sliding-window and token-bucket rate limiting, configurable per endpoint, with Redis counters
  • Request logs published to Kafka and batch-consumed into ClickHouse, so dashboards query pre-aggregated metrics
  • React dashboard with usage charts, a per-user view, a live rate-limit monitor and a logs explorer
Data & Infrastructure InsightBoard Self-hosted product analytics: tracking SDK, event pipeline and dashboards TypeScriptReactFastAPIKafkaClickHouseRedis

A Mixpanel-style analytics stack you run yourself: a JavaScript SDK sends events through an ingestion API and Kafka into ClickHouse, and a React dashboard turns them into insights.

  • TypeScript SDK that batches events and buffers them offline in localStorage
  • FastAPI ingestion API with JWT auth and Redis sliding-window rate limiting, publishing batches to Kafka
  • Kafka consumer writing to ClickHouse MergeTree tables partitioned by month, with hourly and daily rollups
  • Dashboard with event trends, a funnel builder, session heatmaps, a drag-and-drop board builder and a live feed
LLM & RAG LexRAG Bilingual legal question answering with cited sources PythonFlaskOpenAI File SearchSupabasePostgreSQL

A retrieval-augmented assistant for Georgian legal documents that answers in Georgian or English, cites its sources and keeps context across questions.

  • Retrieval over legal PDFs with OpenAI Vector Stores and the File Search API
  • Multi-turn context through Responses API response chaining
  • Supabase PostgreSQL for users, sessions and chat history
  • PIN-protected admin panel for document management and bcrypt password hashing
Machine Learning Mad AdsHackathon AI ad marketplace that places brand ads at natural breaks in creator videos PythonFastAPIReactSnowflakeGeminiEmbeddingsComputer Vision

Matches brands to creators automatically, then edits the right ad into the right moment of a video, so small creators can earn from brand deals.

  • Scene segmentation to find natural break points in creator videos
  • Vector embeddings to match the content's themes with product categories
  • Rule-based and ML-based scoring to choose which ad to place
  • Automated video editing pipeline that stitches ads into the creator's timeline
Machine Learning PlastAlertOpen source Early-warning alarm for neural networks that are losing the ability to learn PyTorchPage-CUSUMGradioPlotlypandaspytestGitHub Actions

Networks that keep training on changing data, such as RL agents and continual learners, can quietly lose plasticity. PlastAlert watches two statistics inside the network and flags the drop, with no labels and no reference network.

  • Tracks feature rank and gradient-to-weight ratio in any PyTorch model, with log-ratio Page-CUSUM change detection
  • Caught 13 of 15 plasticity collapses with 1 false alarm in 9 healthy runs, on held-out seeds of a 48-run continual-learning benchmark I built (23,040 telemetry readings)
  • Alarm-triggered ReDo neuron recycling raised late-run plasticity from 0.51 to 0.90 of a fresh network, matching blind periodic resets with half as many resets
  • Gradio demo: train twin networks live, replay and re-tune the alarm on recorded runs, or upload your own training log
Machine Learning Diabetic Retinopathy Detection Severity classification of retinal images with CNN ensembles TensorFlowKerasResNet50XceptionOpenCV

Classifies retinal fundus images into five clinical severity levels, comparing transfer-learning architectures on an imbalanced real-world dataset.

  • APTOS 2019: 3,662 images across 5 imbalanced severity classes
  • ResNet50 (0.49 accuracy), ResNet50 + VGG16 (0.66) and ResNet50 + Xception (0.72)
  • Two-phase training: frozen warm-up, then fine-tuning with early stopping and learning-rate scheduling
  • Per-class precision, recall and F1, confusion matrices and quadratic Cohen's kappa
Full-stack SecureSwipeAI Face-recognition checkout for campus dining PythonFace RecognitionComputer Vision

Contactless meal checkout: face recognition confirms the student, and the system authorizes the meal against their entitlements. Built with Taha Sarwat.

  • Face-recognition identity check at checkout
  • Authorization against each student's predefined meal entitlements
Full-stack EthicureGroup project Hospital management system with patient, doctor and admin portals PHPMySQLJavaScriptBootstrap

A hospital management system with separate portals for patients, doctors and administrators.

  • Patients register, book appointments and see their history
  • Doctors see booked appointments and search patients
  • Admins manage doctors, patients, appointments, prescriptions and feedback; PDFs generated with TCPDF
More code Explore everything on GitHub 13 projects · 40 technologies
NextReal Deployments →