{"generated_at":"2026-12-01T04:39:43+00:00","profile":{"login":"dsk-dev-ai","name":"Darshan Kachare","bio":"Software Engineer • Systems Design • AI Infrastructure • Platform Engineering • Open Source Contributor","followers":10,"following":6,"public_repos":39,"stars":34,"forks":1,"avatar_url":"https://avatars.githubusercontent.com/u/259028460?v=4"},"stats":{"merged_prs_total":381,"merged_repos_total":30,"public_prs":187,"org_public_prs":16,"upstream_prs":9,"org_prs":153,"own_prs":219,"merged_by_month":[{"month":"2026-01","count":0},{"month":"2026-02","count":0},{"month":"2026-03","count":3},{"month":"2026-04","count":4},{"month":"2026-05","count":24},{"month":"2026-06","count":35},{"month":"2026-07","count":123},{"month":"2026-08","count":51},{"month":"2026-09","count":63},{"month":"2026-10","count":21},{"month":"2026-11","count":57},{"month":"2026-12","count":0}]},"languages":[{"name":"Python","count":19,"share":0.6333},{"name":"TypeScript","count":8,"share":0.2667},{"name":"Rust","count":2,"share":0.0667},{"name":"JavaScript","count":1,"share":0.0333}],"featured":["mcp-nexus","distrlab","textrieve","genomeai","repoarch","hunteros","algorithm-discovery-engine","ai-blog-writer","bookforge-ai"],"projects":[{"slug":"repoarch","name":"repoarch","full_name":"dsk-dev-ai/repoarch","description":"Turn any codebase into beautiful architecture diagrams — one command, no AI, no server, runs on any laptop. Zero dependencies, pure Python, agent-friendly (Cursor, Claude Code, Codex, OpenCode).","language":"Python","stars":5,"forks":0,"open_issues":0,"topics":["ai-agents","architecture-diagram","cli","code-visualization","developer-tools","local-first","mermaid","no-dependency","opencode","python"],"homepage":"","url":"https://github.com/dsk-dev-ai/repoarch","license":"MIT","pushed_at":"2026-09-01T12:48:35Z","created_at":"2026-08-30T19:30:09Z","archived":false,"has_readme":true,"default_branch":"main","size_kb":0,"watchers":5,"contributors_count":0,"latest_release":{"tag":"v1.0.0","name":"repoarch v1.0.0","published_at":"2026-08-30T20:35:25Z","html_url":"https://github.com/dsk-dev-ai/repoarch/releases/tag/v1.0.0"},"last_commit":{"sha":"e1168d3","sha_full":"e1168d3f5b02594dc22d72023baed78bf2ddd57e","date":"2026-09-01T12:48:29Z","message":"Add docs website + GitHub Pages deployment","html_url":"https://github.com/dsk-dev-ai/repoarch/commit/e1168d3f5b02594dc22d72023baed78bf2ddd57e"}},{"slug":"textrieve","name":"textrieve","full_name":"dsk-dev-ai/textrieve","description":"Free, private image-to-text (OCR). Web UI, REST API & CLI in one repo — FastAPI + RapidOCR (ONNX). No API keys, nothing stored.","language":"Python","stars":2,"forks":0,"open_issues":0,"topics":["computer-vision","developer-tools","fastapi","image-to-text","machine-learning","ocr","ocr-engine","onnx","open-source","python","rapidocr","text-extraction","web-app"],"homepage":"https://textrieve.onrender.com","url":"https://github.com/dsk-dev-ai/textrieve","license":"Apache-2.0","pushed_at":"2026-09-25T09:26:36Z","created_at":"2026-09-24T20:18:18Z","archived":false,"has_readme":true,"default_branch":"main","size_kb":0,"watchers":2,"contributors_count":0,"latest_release":{"tag":"v1.2.0","name":"v1.2.0 — PDF support & language hints","published_at":"2026-09-25T05:04:27Z","html_url":"https://github.com/dsk-dev-ai/textrieve/releases/tag/v1.2.0"},"last_commit":{"sha":"fa795ef","sha_full":"fa795ef704577da021c9e65155294f5e11c1849c","date":"2026-09-25T09:22:41Z","message":"docs: add CONTRIBUTING guide","html_url":"https://github.com/dsk-dev-ai/textrieve/commit/fa795ef704577da021c9e65155294f5e11c1849c"}},{"slug":"genomeai","name":"GenomeAI","full_name":"dsk-dev-ai/GenomeAI","description":"Open-source AI platform for genomics & bioinformatics — 18 free public genome research tools","language":"Python","stars":2,"forks":0,"open_issues":0,"topics":["ai","bioinformatics","biology","biomedical","clinical","data-science","drug-discovery","fastapi","genetics","genome","genomics","llm","machine-learning","medicine","nextjs","open-source","protein","python","research","workflow"],"homepage":"https://genomeai.vercel.app","url":"https://github.com/dsk-dev-ai/GenomeAI","license":"Apache-2.0","pushed_at":"2026-09-19T17:09:10Z","created_at":"2026-07-21T18:12:41Z","archived":false,"has_readme":true,"default_branch":"main","size_kb":0,"watchers":2,"contributors_count":0,"latest_release":{"tag":"v1.1.0","name":"GenomeAI v1.1.0 — accurate claims, finished docs","published_at":"2026-08-30T05:52:57Z","html_url":"https://github.com/dsk-dev-ai/GenomeAI/releases/tag/v1.1.0"},"last_commit":{"sha":"66ece45","sha_full":"66ece45884a474c9d8ee4fdce9e43cdfc69959a1","date":"2026-09-19T17:09:07Z","message":"fix: eliminate chart selection race in useExpressionChart/useVolcanoPlot/useHeatmap","html_url":"https://github.com/dsk-dev-ai/GenomeAI/commit/66ece45884a474c9d8ee4fdce9e43cdfc69959a1"}},{"slug":"ai-blog-writer","name":"ai-blog-writer","full_name":"dsk-dev-ai/ai-blog-writer","description":"AI Blog Generator using Flask + Ollama (100% FREE local LLM, no API costs)","language":"Python","stars":2,"forks":1,"open_issues":0,"topics":["ai","ai-tools","automation","blog-generator","flask","llm","ollama","python"],"homepage":"","url":"https://github.com/dsk-dev-ai/ai-blog-writer","license":"MIT","pushed_at":"2026-09-09T18:13:33Z","created_at":"2026-02-03T11:34:52Z","archived":false,"has_readme":true,"default_branch":"main","size_kb":0,"watchers":2,"contributors_count":0,"latest_release":{},"last_commit":{"sha":"02e3555","sha_full":"02e3555e3d12ef6bbd907b7235d2c3fca6127652","date":"2026-09-09T18:13:31Z","message":"docs: add CONTRIBUTING/SECURITY and CI/license badges","html_url":"https://github.com/dsk-dev-ai/ai-blog-writer/commit/02e3555e3d12ef6bbd907b7235d2c3fca6127652"}},{"slug":"bookforge-ai","name":"bookforge-ai","full_name":"dsk-dev-ai/bookforge-ai","description":"AI-powered technical eBook production platform for researching, writing, reviewing, formatting, and publishing professional AI and software engineering books using NVIDIA NIM, local LLMs, and open-source tooling.","language":"Python","stars":2,"forks":0,"open_issues":0,"topics":["ai","documentation","ebook","llm","machine-learning","mcp","natural-language-processing","open-source","platform","publisher","python","technical-writing"],"homepage":"","url":"https://github.com/dsk-dev-ai/bookforge-ai","license":"MIT","pushed_at":"2026-09-09T17:54:16Z","created_at":"2026-07-26T08:42:44Z","archived":false,"has_readme":true,"default_branch":"main","size_kb":0,"watchers":2,"contributors_count":0,"latest_release":{},"last_commit":{"sha":"0b4c474","sha_full":"0b4c4749f4e114a995edc16968d2c9a8b9223f4b","date":"2026-09-09T17:54:14Z","message":"docs: add root CONTRIBUTING/SECURITY and CI/license badges","html_url":"https://github.com/dsk-dev-ai/bookforge-ai/commit/0b4c4749f4e114a995edc16968d2c9a8b9223f4b"}},{"slug":"dsk-packages","name":"dsk-packages","full_name":"dsk-dev-ai/dsk-packages","description":"A collection of high-quality TypeScript packages, developer utilities, and open-source tools.","language":"TypeScript","stars":1,"forks":0,"open_issues":6,"topics":["developer-tools","monorepo","npm","open-source","pnpm","typescript"],"homepage":"","url":"https://github.com/dsk-dev-ai/dsk-packages","license":"MIT","pushed_at":"2026-11-23T03:36:37Z","created_at":"2026-07-16T17:27:22Z","archived":false,"has_readme":true,"default_branch":"main","size_kb":0,"watchers":1,"contributors_count":2,"latest_release":{"tag":"@darshankachare/logger@2.1.0","name":"@darshankachare/logger@2.1.0","published_at":"2026-07-16T22:06:19Z","html_url":"https://github.com/dsk-dev-ai/dsk-packages/releases/tag/%40darshankachare/logger%402.1.0"},"last_commit":{"sha":"824c30c","sha_full":"824c30c0747dc9c1b212f62a1c4ff6b408289b8b","date":"2026-09-07T12:42:34Z","message":"fix: security overrides + dependency updates","html_url":"https://github.com/dsk-dev-ai/dsk-packages/commit/824c30c0747dc9c1b212f62a1c4ff6b408289b8b"}},{"slug":"paypilot-ai","name":"paypilot-ai","full_name":"dsk-dev-ai/paypilot-ai","description":"Accountable AI purchasing agent: Gemini proposes, a human-signed spending mandate decides, real PayPal sandbox capture pays, digital goods are delivered instantly, and a tamper-evident receipt ledger proves every step. Built for the PayPal AI Hackathon.","language":"TypeScript","stars":1,"forks":0,"open_issues":0,"topics":["ag-grid","agentic-commerce","ai-agents","ai-safety","ai-shopping-agent","autonomous-agents","digital-goods","google-gemini","hackathon","nextjs","paypal","paypal-ai-hackathon","paypal-sandbox","postgresql","prisma","react","receipt-ledger","spending-mandates","typescript","verifiable-consent"],"homepage":"https://paypilot-ai-14gl.onrender.com","url":"https://github.com/dsk-dev-ai/paypilot-ai","license":"MIT","pushed_at":"2026-11-09T12:19:05Z","created_at":"2026-10-20T09:54:18Z","archived":false,"has_readme":true,"default_branch":"main","size_kb":0,"watchers":1,"contributors_count":0,"latest_release":{},"last_commit":{"sha":"653cc3d","sha_full":"653cc3d642d5b2b96d7e990ada74dff966f97efe","date":"2026-11-09T12:19:01Z","message":"docs: make README discoverable with badges, screenshots, and live links","html_url":"https://github.com/dsk-dev-ai/paypilot-ai/commit/653cc3d642d5b2b96d7e990ada74dff966f97efe"}},{"slug":"bugdrop-portfolio","name":"bugdrop-portfolio","full_name":"dsk-dev-ai/bugdrop-portfolio","description":"An interactive developer portfolio that turns real-world bugs into superpowers through a gamified vending machine. Built with HTML, CSS, JavaScript and AWS Amplify.","language":"JavaScript","stars":1,"forks":0,"open_issues":0,"topics":["aws","aws-amplify","creative-coding","css","debugging","developer-portfolio","gamified-portfolio","github-pages-alternative","html","incident-management","interactive-portfolio","javascript","open-source","portfolio-website","serverless","student-developer","vanilla-javascript","web-development"],"homepage":"https://main.d37v5f104dujlp.amplifyapp.com","url":"https://github.com/dsk-dev-ai/bugdrop-portfolio","license":"MIT","pushed_at":"2026-11-02T16:36:05Z","created_at":"2026-11-02T11:58:12Z","archived":false,"has_readme":true,"default_branch":"main","size_kb":0,"watchers":1,"contributors_count":0,"latest_release":{"tag":"v1.5.0","name":"v1.5.0 — cabinet export and reset","published_at":"2026-11-02T12:53:23Z","html_url":"https://github.com/dsk-dev-ai/bugdrop-portfolio/releases/tag/v1.5.0"},"last_commit":{"sha":"22140f9","sha_full":"22140f967dcfaea7a85e885c01a7ec15e8f501e0","date":"2026-11-02T16:36:02Z","message":"fix: align submission with Amplify-only deployment","html_url":"https://github.com/dsk-dev-ai/bugdrop-portfolio/commit/22140f967dcfaea7a85e885c01a7ec15e8f501e0"}},{"slug":"sheetcraft","name":"sheetcraft","full_name":"dsk-dev-ai/sheetcraft","description":"An open-source spreadsheet editor written from scratch in pure Rust. Offline, instant, free forever.","language":"Rust","stars":1,"forks":0,"open_issues":0,"topics":["csv","desktop-app","excel","offline","opensource","privacy","rust","spreadsheet"],"homepage":"","url":"https://github.com/dsk-dev-ai/sheetcraft","license":"MIT","pushed_at":"2026-11-02T04:40:37Z","created_at":"2026-10-31T15:48:56Z","archived":false,"has_readme":true,"default_branch":"main","size_kb":0,"watchers":1,"contributors_count":0,"latest_release":{"tag":"v0.3.0","name":"v0.3.0","published_at":"2026-10-31T23:51:39Z","html_url":"https://github.com/dsk-dev-ai/sheetcraft/releases/tag/v0.3.0"},"last_commit":{"sha":"fbccdbd","sha_full":"fbccdbd281988a9f6b3d3f1fed8c5463aabb2205","date":"2026-11-02T04:40:34Z","message":"Add freeze panes (#18)","html_url":"https://github.com/dsk-dev-ai/sheetcraft/commit/fbccdbd281988a9f6b3d3f1fed8c5463aabb2205"}},{"slug":"ghost-data-still-exists","name":"ghost-data-still-exists","full_name":"dsk-dev-ai/ghost-data-still-exists","description":"Ghost Data Still Exists - deletion audit agent and public demo (HackerRank Orchestrate October 2026)","language":"Python","stars":1,"forks":0,"open_issues":0,"topics":[],"homepage":"","url":"https://github.com/dsk-dev-ai/ghost-data-still-exists","license":null,"pushed_at":"2026-10-28T02:33:03Z","created_at":"2026-10-27T19:01:51Z","archived":false,"has_readme":true,"default_branch":"main","size_kb":0,"watchers":1,"contributors_count":2,"latest_release":{},"last_commit":{"sha":"52862f2","sha_full":"52862f247e1bfe6d3c67189ec3e3425793955343","date":"2026-10-28T02:33:01Z","message":"Document live Gemini-enabled demo","html_url":"https://github.com/dsk-dev-ai/ghost-data-still-exists/commit/52862f247e1bfe6d3c67189ec3e3425793955343"}},{"slug":"meshery-designs","name":"meshery-designs","full_name":"dsk-dev-ai/meshery-designs","description":"AI-native platform design for Meshery","language":"Python","stars":1,"forks":0,"open_issues":0,"topics":[],"homepage":"","url":"https://github.com/dsk-dev-ai/meshery-designs","license":"Apache-2.0","pushed_at":"2026-10-19T04:55:41Z","created_at":"2026-09-28T10:31:35Z","archived":false,"has_readme":true,"default_branch":"main","size_kb":0,"watchers":1,"contributors_count":0,"latest_release":{"tag":"v1.1.0","name":"v1.1.0 — real workload images, live Meshery exercise, upstream gateway-api model","published_at":"2026-10-19T04:45:32Z","html_url":"https://github.com/dsk-dev-ai/meshery-designs/releases/tag/v1.1.0"},"last_commit":{"sha":"d28547d","sha_full":"d28547de6809ef4dc15a125020e4f818ed7ef7a1","date":"2026-10-19T04:55:39Z","message":"docs: add Meshery Community section with key links","html_url":"https://github.com/dsk-dev-ai/meshery-designs/commit/d28547de6809ef4dc15a125020e4f818ed7ef7a1"}},{"slug":"distrlab","name":"distrlab","full_name":"dsk-dev-ai/distrlab","description":"DistrLab — break a live distributed system in your browser (cache stampedes, queue backpressure, rate limiting, LB strategies, partitions, replica lag). Svelte 5 + Canvas + Web Worker.","language":"TypeScript","stars":1,"forks":0,"open_issues":0,"topics":["canvas","distributed-systems","queueing-theory","render","simulation","svelte","svelte5","system-design","typescript","visualization","web-worker"],"homepage":"https://distrlab.onrender.com","url":"https://github.com/dsk-dev-ai/distrlab","license":"Apache-2.0","pushed_at":"2026-10-07T14:40:12Z","created_at":"2026-10-06T18:01:38Z","archived":false,"has_readme":true,"default_branch":"main","size_kb":0,"watchers":1,"contributors_count":0,"latest_release":{"tag":"v1.1.0","name":"DistrLab v1.1.0 — circuit breaker & smarter load balancing","published_at":"2026-10-07T14:40:34Z","html_url":"https://github.com/dsk-dev-ai/distrlab/releases/tag/v1.1.0"},"last_commit":{"sha":"264ece7","sha_full":"264ece7aa6d5f9968f8913e137b3719ca5851612","date":"2026-10-07T14:39:53Z","message":"Merge pull request #1 from dsk-dev-ai/feat/v1.1-resilience-depth","html_url":"https://github.com/dsk-dev-ai/distrlab/commit/264ece7aa6d5f9968f8913e137b3719ca5851612"}},{"slug":"hunteros","name":"hunteros","full_name":"dsk-dev-ai/hunteros","description":"Repository intelligence platform for white-box security research, architecture analysis, and AI-assisted code review.","language":"TypeScript","stars":1,"forks":0,"open_issues":11,"topics":["architecture","code-review","monorepo","open-source","security","security-research","typescript"],"homepage":"","url":"https://github.com/dsk-dev-ai/hunteros","license":"Apache-2.0","pushed_at":"2026-09-25T07:41:36Z","created_at":"2026-07-19T08:26:48Z","archived":false,"has_readme":true,"default_branch":"main","size_kb":0,"watchers":1,"contributors_count":0,"latest_release":{},"last_commit":{"sha":"5471329","sha_full":"5471329164ec5204f4049c10bfc99809d548dce7","date":"2026-09-25T07:41:34Z","message":"docs: full README (packages/rules/apps/quickstart) + align all manifests to Apache-2.0","html_url":"https://github.com/dsk-dev-ai/hunteros/commit/5471329164ec5204f4049c10bfc99809d548dce7"}},{"slug":"algorithm-discovery-engine","name":"algorithm-discovery-engine","full_name":"dsk-dev-ai/algorithm-discovery-engine","description":"Multi-language algorithms & data structures solving engine: Java, C++ and Rust tiers with a Python reference, cross-language benchmarks, and a local synthesizer that rediscovers algorithms (Kadane, buy-and-sell, jump game) from examples.","language":"Python","stars":1,"forks":0,"open_issues":0,"topics":["ai","algorithm-discovery","algorithms","benchmark","cpp","data-structures","developer-tools","education","java","learning","machine-learning","open-source","pattern-discovery","programming","python","rust","scientific-computing","sequence-analysis"],"homepage":"https://dsk-dev-ai.github.io/algorithm-discovery-engine/","url":"https://github.com/dsk-dev-ai/algorithm-discovery-engine","license":"MIT","pushed_at":"2026-09-25T07:41:08Z","created_at":"2026-07-31T06:50:49Z","archived":false,"has_readme":true,"default_branch":"main","size_kb":0,"watchers":1,"contributors_count":0,"latest_release":{"tag":"v1.0.1","name":"v1.0.1","published_at":"2026-09-11T17:37:10Z","html_url":"https://github.com/dsk-dev-ai/algorithm-discovery-engine/releases/tag/v1.0.1"},"last_commit":{"sha":"c8a37e1","sha_full":"c8a37e18acf2ccf119696599145464bed686dd65","date":"2026-09-25T07:41:05Z","message":"fix: replace dead /stargazers badge link with repo root (GitHub decommissioned the path)","html_url":"https://github.com/dsk-dev-ai/algorithm-discovery-engine/commit/c8a37e18acf2ccf119696599145464bed686dd65"}},{"slug":"mcp-nexus","name":"mcp-nexus","full_name":"dsk-dev-ai/mcp-nexus","description":"The intelligent routing & discovery layer for MCP tools. One umbrella endpoint in front of hundreds — dynamic capability discovery, explainable routing, policy-aware execution, LLM-optional hybrid router.","language":"TypeScript","stars":1,"forks":0,"open_issues":0,"topics":["agent-tools","ai","ai-agents","developer-tools","llm","llm-routing","mcp","mcp-server","mcp-tools","model-context-protocol","router","tool-registry","typescript"],"homepage":"https://dsk-dev-ai.github.io/mcp-nexus/","url":"https://github.com/dsk-dev-ai/mcp-nexus","license":"Apache-2.0","pushed_at":"2026-09-24T18:22:14Z","created_at":"2026-09-23T15:08:20Z","archived":false,"has_readme":true,"default_branch":"main","size_kb":0,"watchers":1,"contributors_count":0,"latest_release":{"tag":"v1.0.0","name":"v1.0.0 — MCP Nexus is stable, measurable, and documented","published_at":"2026-09-24T18:12:36Z","html_url":"https://github.com/dsk-dev-ai/mcp-nexus/releases/tag/v1.0.0"},"last_commit":{"sha":"c29b15c","sha_full":"c29b15c5a4d722682635c0377fa9d550f3e741f3","date":"2026-09-24T18:22:14Z","message":"Merge pull request #16 from dsk-dev-ai/release/1.0.0","html_url":"https://github.com/dsk-dev-ai/mcp-nexus/commit/c29b15c5a4d722682635c0377fa9d550f3e741f3"}},{"slug":"login-register-system-with-flask-sqlite","name":"Login-Register-System-with-Flask-SQLite","full_name":"dsk-dev-ai/Login-Register-System-with-Flask-SQLite","description":"Secure Login & Register System built with Flask + SQLite featuring authentication, password hashing, sessions, and protected dashboards for real-world web apps.","language":"Python","stars":1,"forks":0,"open_issues":0,"topics":["authentication","backend","database","flask","fullstack","login-system","python","register-system","security","sessions","sqlite","web-development"],"homepage":"","url":"https://github.com/dsk-dev-ai/Login-Register-System-with-Flask-SQLite","license":"MIT","pushed_at":"2026-09-09T18:14:25Z","created_at":"2026-02-03T12:38:41Z","archived":false,"has_readme":true,"default_branch":"main","size_kb":0,"watchers":1,"contributors_count":0,"latest_release":{},"last_commit":{"sha":"354fdff","sha_full":"354fdffbb9f0f9e53a87a21dd8e818083f06d382","date":"2026-09-09T18:14:23Z","message":"docs: add CONTRIBUTING/SECURITY and CI/license badges","html_url":"https://github.com/dsk-dev-ai/Login-Register-System-with-Flask-SQLite/commit/354fdffbb9f0f9e53a87a21dd8e818083f06d382"}},{"slug":"smart-resume-builder-ai","name":"smart-resume-builder-ai","full_name":"dsk-dev-ai/smart-resume-builder-ai","description":"AI-powered Resume Builder using Flask + Ollama that generates professional resumes instantly and exports them as PDF with a modern web interface.","language":"Python","stars":1,"forks":0,"open_issues":0,"topics":["ai","ai-tools","automation","backend","flask","llm","ollama","python","resume-builder","saas","webapp"],"homepage":"","url":"https://github.com/dsk-dev-ai/smart-resume-builder-ai","license":"MIT","pushed_at":"2026-09-09T18:13:54Z","created_at":"2026-02-03T13:36:24Z","archived":false,"has_readme":true,"default_branch":"main","size_kb":0,"watchers":1,"contributors_count":0,"latest_release":{},"last_commit":{"sha":"b8071d1","sha_full":"b8071d1ff94176a52935d022647d5b29008292ad","date":"2026-09-09T18:13:52Z","message":"docs: add CONTRIBUTING/SECURITY and CI/license badges","html_url":"https://github.com/dsk-dev-ai/smart-resume-builder-ai/commit/b8071d1ff94176a52935d022647d5b29008292ad"}},{"slug":"mediahub-downloader","name":"mediahub-downloader","full_name":"dsk-dev-ai/mediahub-downloader","description":"Automation toolkit for media and content workflows — batch captures and downloads from online sources.","language":"Python","stars":1,"forks":0,"open_issues":0,"topics":["desktop-app","downloader","gui","media","pyside6","python","qt","yt-dlp"],"homepage":"","url":"https://github.com/dsk-dev-ai/mediahub-downloader","license":"MIT","pushed_at":"2026-09-09T18:05:56Z","created_at":"2026-04-12T09:09:06Z","archived":false,"has_readme":true,"default_branch":"main","size_kb":0,"watchers":1,"contributors_count":0,"latest_release":{},"last_commit":{"sha":"51646e3","sha_full":"51646e3d59d0a2d7d8cc60d89a9da65ae22d26ee","date":"2026-09-09T18:05:54Z","message":"docs: fix license badge owner, add SECURITY policy and CI badge","html_url":"https://github.com/dsk-dev-ai/mediahub-downloader/commit/51646e3d59d0a2d7d8cc60d89a9da65ae22d26ee"}},{"slug":"tabforge-private","name":"tabforge-private","full_name":"dsk-dev-ai/tabforge-private","description":"Ultra-lightweight multi-tab browser recorder. Record multiple browser tabs simultaneously and save each tab separately in 1080p 30–60 FPS with low RAM usage.","language":"Rust","stars":1,"forks":0,"open_issues":0,"topics":["browser","desktop-app","electron","rust","screen-recording","tauri"],"homepage":"","url":"https://github.com/dsk-dev-ai/tabforge-private","license":"MIT","pushed_at":"2026-09-09T18:05:37Z","created_at":"2026-05-14T04:44:15Z","archived":false,"has_readme":true,"default_branch":"main","size_kb":0,"watchers":1,"contributors_count":0,"latest_release":{},"last_commit":{"sha":"091e01c","sha_full":"091e01c6099b92ed114c18ac02a794465173f0ec","date":"2026-09-09T18:05:35Z","message":"docs: add CONTRIBUTING/SECURITY and CI/license badges","html_url":"https://github.com/dsk-dev-ai/tabforge-private/commit/091e01c6099b92ed114c18ac02a794465173f0ec"}},{"slug":"ai-chat-platform","name":"ai-chat-platform","full_name":"dsk-dev-ai/ai-chat-platform","description":"Full-stack AI chat application built with React, Flask, and Ollama (learning project)","language":"TypeScript","stars":1,"forks":0,"open_issues":0,"topics":["ai","authentication","backend","chat","flask","frontend","jwt","llm","python","react"],"homepage":"","url":"https://github.com/dsk-dev-ai/ai-chat-platform","license":"MIT","pushed_at":"2026-09-09T18:05:01Z","created_at":"2026-02-05T07:33:55Z","archived":false,"has_readme":true,"default_branch":"main","size_kb":0,"watchers":1,"contributors_count":0,"latest_release":{},"last_commit":{"sha":"d145502","sha_full":"d145502d891d47f6687ae8d5a5528ba4d1c2fdf1","date":"2026-09-09T18:04:59Z","message":"docs: add CONTRIBUTING/SECURITY and CI/license badges","html_url":"https://github.com/dsk-dev-ai/ai-chat-platform/commit/d145502d891d47f6687ae8d5a5528ba4d1c2fdf1"}},{"slug":"devos-ai","name":"devos-ai","full_name":"dsk-dev-ai/devos-ai","description":"CLI-based AI tool for analyzing and understanding codebases using LLMs","language":"Python","stars":1,"forks":0,"open_issues":0,"topics":["ai","ai-agents","developer-tools","devtools","llm","nextjs","ollama","open-source","qdrant","rag","rust","vector-database"],"homepage":"https://github.com/dsk-dev-ai/devos-ai","url":"https://github.com/dsk-dev-ai/devos-ai","license":"MIT","pushed_at":"2026-09-07T12:11:14Z","created_at":"2026-03-14T18:42:00Z","archived":false,"has_readme":true,"default_branch":"main","size_kb":0,"watchers":1,"contributors_count":0,"latest_release":{"tag":"v3.0.0","name":"🚀 DevOS AI v3.0.0 — Advanced Context Engine & CLI Upgrade","published_at":"2026-04-12T10:05:28Z","html_url":"https://github.com/dsk-dev-ai/devos-ai/releases/tag/v3.0.0"},"last_commit":{"sha":"2edfa18","sha_full":"2edfa183f2e38ecef15edd4c80a09f5658eec589","date":"2026-09-07T12:11:12Z","message":"chore: remove 62 empty stub files (frontend, api-gateway, docs scaffolding)","html_url":"https://github.com/dsk-dev-ai/devos-ai/commit/2edfa183f2e38ecef15edd4c80a09f5658eec589"}},{"slug":"loggit","name":"loggit","full_name":"dsk-dev-ai/loggit","description":"A friendly terminal git history explorer. Zero dependencies.","language":"Python","stars":1,"forks":0,"open_issues":0,"topics":["cli","cli-tools","developer-tools","devtools","git","git-log","github-actions","productivity","terminal"],"homepage":"https://pypi.org/project/loggit/","url":"https://github.com/dsk-dev-ai/loggit","license":"MIT","pushed_at":"2026-09-01T12:48:54Z","created_at":"2026-08-30T20:59:41Z","archived":false,"has_readme":true,"default_branch":"main","size_kb":0,"watchers":1,"contributors_count":0,"latest_release":{"tag":"v1.0.1","name":"loggit v1.0.1","published_at":"2026-08-31T04:59:29Z","html_url":"https://github.com/dsk-dev-ai/loggit/releases/tag/v1.0.1"},"last_commit":{"sha":"5b23479","sha_full":"5b2347995093366bac52b99b613d48bea14f5130","date":"2026-09-01T12:48:50Z","message":"Add docs website + GitHub Pages deployment","html_url":"https://github.com/dsk-dev-ai/loggit/commit/5b2347995093366bac52b99b613d48bea14f5130"}},{"slug":"tailr","name":"tailr","full_name":"dsk-dev-ai/tailr","description":"Colorized live log viewer for the terminal. Zero dependencies.","language":"Python","stars":1,"forks":0,"open_issues":0,"topics":["cli","cli-tools","color","developertools","devops","github-actions","log","logging","tail","terminal"],"homepage":"https://pypi.org/project/tailr/","url":"https://github.com/dsk-dev-ai/tailr","license":"MIT","pushed_at":"2026-09-01T12:48:46Z","created_at":"2026-08-30T21:26:29Z","archived":false,"has_readme":true,"default_branch":"main","size_kb":0,"watchers":1,"contributors_count":0,"latest_release":{"tag":"v1.0.1","name":"tailr v1.0.1","published_at":"2026-08-31T04:59:28Z","html_url":"https://github.com/dsk-dev-ai/tailr/releases/tag/v1.0.1"},"last_commit":{"sha":"b53bb81","sha_full":"b53bb81cd432009e20b3dbb2acbf6b8cc22b719b","date":"2026-09-01T12:48:43Z","message":"Add docs website + GitHub Pages deployment","html_url":"https://github.com/dsk-dev-ai/tailr/commit/b53bb81cd432009e20b3dbb2acbf6b8cc22b719b"}},{"slug":"ctx","name":"ctx","full_name":"dsk-dev-ai/ctx","description":"Pack any project into a single file for your AI/LLM context. Zero dependencies.","language":"Python","stars":1,"forks":0,"open_issues":0,"topics":["cli","cli-tools","context","developer-tools","devtools","github-actions","llm","productivity","python"],"homepage":"https://pypi.org/project/repobundler/","url":"https://github.com/dsk-dev-ai/ctx","license":"MIT","pushed_at":"2026-09-01T12:48:42Z","created_at":"2026-08-30T21:14:34Z","archived":false,"has_readme":true,"default_branch":"main","size_kb":0,"watchers":1,"contributors_count":0,"latest_release":{"tag":"v1.0.1","name":"ctx v1.0.1","published_at":"2026-08-31T05:01:06Z","html_url":"https://github.com/dsk-dev-ai/ctx/releases/tag/v1.0.1"},"last_commit":{"sha":"754b013","sha_full":"754b01308c3d86adeaa81790e828bd73a2b13912","date":"2026-09-01T12:48:38Z","message":"Add docs website + GitHub Pages deployment","html_url":"https://github.com/dsk-dev-ai/ctx/commit/754b01308c3d86adeaa81790e828bd73a2b13912"}},{"slug":"repochat-ai","name":"repochat-ai","full_name":"dsk-dev-ai/repochat-ai","description":"Prototype for querying and understanding GitHub repositories using local LLMs","language":"Python","stars":1,"forks":0,"open_issues":0,"topics":["ai","code-analysis","developer-tools","langchain","local-llm","ollama","vector-database"],"homepage":"","url":"https://github.com/dsk-dev-ai/repochat-ai","license":"MIT","pushed_at":"2026-03-13T16:50:49Z","created_at":"2026-03-13T13:04:48Z","archived":false,"has_readme":true,"default_branch":"main","size_kb":0,"watchers":1,"contributors_count":0,"latest_release":{},"last_commit":{"sha":"6722f7d","sha_full":"6722f7d12b6f65dff0f92af4c53bed807515ad64","date":"2026-03-13T16:50:49Z","message":"Update architecture.md","html_url":"https://github.com/dsk-dev-ai/repochat-ai/commit/6722f7d12b6f65dff0f92af4c53bed807515ad64"}},{"slug":"stalecheck","name":"stalecheck","full_name":"dsk-dev-ai/stalecheck","description":"Catch stale answers before your users do — claim-level staleness detection with fresh evidence for LLM/RAG apps (Tavily + Gemini).","language":"Python","stars":0,"forks":0,"open_issues":0,"topics":["ai","fact-checking","fastapi","freshness","gemini","hackathon","langchain","llm","nextjs","python","rag","staleness-detection","tavily","typescript"],"homepage":"https://stalecheck.pages.dev","url":"https://github.com/dsk-dev-ai/stalecheck","license":"MIT","pushed_at":"2026-11-11T09:35:19Z","created_at":"2026-11-10T17:08:03Z","archived":false,"has_readme":true,"default_branch":"main","size_kb":0,"watchers":0,"contributors_count":0,"latest_release":{},"last_commit":{"sha":"e0305b7","sha_full":"e0305b7d9db9416c7703193da4a5a60c8197517b","date":"2026-11-11T09:35:14Z","message":"docs: add 18s demo video and link from README","html_url":"https://github.com/dsk-dev-ai/stalecheck/commit/e0305b7d9db9416c7703193da4a5a60c8197517b"}},{"slug":"sandbox-bridge","name":"sandbox-bridge","full_name":"dsk-dev-ai/sandbox-bridge","description":"Two-sided sandbox bridge with a live working-vs-broken API demo and Resend developer alerts.","language":"TypeScript","stars":0,"forks":0,"open_issues":0,"topics":["api-monitoring","developer-tools","nextjs","resend","sandbox"],"homepage":"https://proving-ground-mrm6.onrender.com/demo","url":"https://github.com/dsk-dev-ai/sandbox-bridge","license":null,"pushed_at":"2026-11-07T02:41:31Z","created_at":"2026-11-05T17:14:29Z","archived":false,"has_readme":true,"default_branch":"main","size_kb":0,"watchers":0,"contributors_count":0,"latest_release":{},"last_commit":{"sha":"8bab6ff","sha_full":"8bab6ff92ce7bd6f72dc419096b3184c9ffc13dd","date":"2026-11-07T02:41:25Z","message":"Clarify the product problem, audience, and live proof","html_url":"https://github.com/dsk-dev-ai/sandbox-bridge/commit/8bab6ff92ce7bd6f72dc419096b3184c9ffc13dd"}},{"slug":"attendance-study-toolkit","name":"attendance-study-toolkit","full_name":"dsk-dev-ai/attendance-study-toolkit","description":"Offline-first Android student productivity app for attendance, timetable, study planning, and focus tracking.","language":"TypeScript","stars":0,"forks":0,"open_issues":0,"topics":["android","education","expo","offline-first","react-native"],"homepage":"","url":"https://github.com/dsk-dev-ai/attendance-study-toolkit","license":"MIT","pushed_at":"2026-09-25T07:44:10Z","created_at":"2026-08-13T03:54:25Z","archived":false,"has_readme":true,"default_branch":"main","size_kb":0,"watchers":0,"contributors_count":0,"latest_release":{},"last_commit":{"sha":"b2054d8","sha_full":"b2054d8104604dc578bf11cf6e59bfdeccf447b5","date":"2026-09-25T07:44:08Z","message":"docs: replace Expo boilerplate README with project README (roadmap, stack, quickstart)","html_url":"https://github.com/dsk-dev-ai/attendance-study-toolkit/commit/b2054d8104604dc578bf11cf6e59bfdeccf447b5"}},{"slug":"ai-toolkit-saas","name":"ai-toolkit-saas","full_name":"dsk-dev-ai/ai-toolkit-saas","description":"AI-powered content generation SaaS — blog, tweet & YouTube scripts via Google Gemini + FastAPI, with auth, rate limiting, and caching.","language":"Python","stars":0,"forks":0,"open_issues":0,"topics":["ai","content-generation","fastapi","gemini","open-source","saas"],"homepage":"","url":"https://github.com/dsk-dev-ai/ai-toolkit-saas","license":"MIT","pushed_at":"2026-09-07T12:03:37Z","created_at":"2026-03-17T18:36:24Z","archived":false,"has_readme":true,"default_branch":"main","size_kb":0,"watchers":0,"contributors_count":0,"latest_release":{},"last_commit":{"sha":"d95f2e1","sha_full":"d95f2e1843774669fc6c5ff3b10b12ed62f1e2ff","date":"2026-09-07T12:03:35Z","message":"fix: real token auth, safe CORS, bounded limiter/cache; purge 386 junk files","html_url":"https://github.com/dsk-dev-ai/ai-toolkit-saas/commit/d95f2e1843774669fc6c5ff3b10b12ed62f1e2ff"}},{"slug":"artlab","name":"artlab","full_name":"dsk-dev-ai/artlab","description":"ASCII art in your terminal. Zero dependencies.","language":"Python","stars":0,"forks":0,"open_issues":0,"topics":["art","ascii","cli","cli-tools","fun","github-actions","productivity","rainbow","terminal","text"],"homepage":"https://pypi.org/project/artlab/","url":"https://github.com/dsk-dev-ai/artlab","license":"MIT","pushed_at":"2026-09-01T12:48:49Z","created_at":"2026-08-30T21:41:55Z","archived":false,"has_readme":true,"default_branch":"main","size_kb":0,"watchers":0,"contributors_count":0,"latest_release":{"tag":"v1.0.1","name":"artlab v1.0.1","published_at":"2026-08-31T04:59:30Z","html_url":"https://github.com/dsk-dev-ai/artlab/releases/tag/v1.0.1"},"last_commit":{"sha":"faf784c","sha_full":"faf784c4c477529358b500ffb6b715a7d99449bd","date":"2026-09-01T12:48:46Z","message":"Add docs website + GitHub Pages deployment","html_url":"https://github.com/dsk-dev-ai/artlab/commit/faf784c4c477529358b500ffb6b715a7d99449bd"}},{"slug":"env-proof","name":"env-proof","full_name":"dsk-dev-ai/env-proof","description":"Zero-config environment variable validation for Node.js and TypeScript projects.","language":null,"stars":0,"forks":0,"open_issues":0,"topics":["developer-tools","environment-variables","nodejs","typescript","validation","zero-config"],"homepage":"","url":"https://github.com/dsk-dev-ai/env-proof","license":"MIT","pushed_at":"2026-08-22T14:34:38Z","created_at":"2026-08-22T11:36:34Z","archived":false,"has_readme":true,"default_branch":"main","size_kb":0,"watchers":0,"contributors_count":0,"latest_release":{},"last_commit":{"sha":"fa7e055","sha_full":"fa7e0552336bfc20e2f4afdcba8c5ae3e67eb1cf","date":"2026-08-22T12:36:36Z","message":"Phase 0 close-out: mark checklist complete, resolve validateEnv env-default wording in SPEC","html_url":"https://github.com/dsk-dev-ai/env-proof/commit/fa7e0552336bfc20e2f4afdcba8c5ae3e67eb1cf"}}],"readmes":{"repoarch":"<p align=\"center\">\n  <img src=\"https://img.shields.io/badge/dependencies-ZERO-22c55e?style=flat-square\" alt=\"zero deps\">\n  <img src=\"https://img.shields.io/badge/no%20AI-local-green?style=flat-square\" alt=\"no ai\">\n  <img src=\"https://img.shields.io/badge/no%20server-offline-7C3AED?style=flat-square\" alt=\"no server\">\n  <img src=\"https://img.shields.io/badge/license-MIT-blue?style=flat-square\" alt=\"MIT\">\n  <img src=\"https://img.shields.io/pypi/pyversions/repoarch?style=flat-square\" alt=\"python\">\n  <img src=\"https://img.shields.io/pypi/v/repoarch?style=flat-square\" alt=\"pypi version\">\n  <a href=\"https://github.com/users/dsk-dev-ai/packages/container/package/repoarch\"><img src=\"https://img.shields.io/badge/docker-ghcr-2496ED?style=flat-square&logo=docker&logoColor=white\" alt=\"Docker GHCR\"></a>\n  <a href=\"https://github.com/dsk-dev-ai/repoarch/actions\"><img src=\"https://img.shields.io/github/actions/workflow/status/dsk-dev-ai/repoarch/ci.yml?style=flat-square\" alt=\"CI\"></a>\n  <a href=\"https://github.com/sponsors/dsk-dev-ai\"><img src=\"https://img.shields.io/badge/sponsor-❤️-ea4aaa?style=flat-square\" alt=\"sponsor\"></a>\n</p>\n\n# repoarch 🗺️\n\n**Turn any codebase into beautiful architecture diagrams — one command, no AI, no server, runs on any laptop.**\n\nDrop in a folder, get a clean, shareable architecture map. **Zero dependencies. Pure Python stdlib.** Works offline on a Raspberry Pi, a 2015 laptop, or a cloud VM — Mermaid + self-contained HTML that opens in any browser.\n\n<p align=\"center\">\n  <em>↓ generated from the <code>sample/</code> project in this repo, in < 1 second ↓</em>\n</p>\n\n<p align=\"center\">\n  <img src=\"docs/demo.svg\" alt=\"repoarch generated architecture diagram\" width=\"720\">\n</p>\n\n---\n\n## ✨ Features\n\n| | |\n|---|---|\n| 🗂️ **4 output formats** | interactive `HTML`, `Mermaid .mmd`, `Graphviz .dot`, structured `JSON` |\n| 🌍 **14 languages** | Python · Go · JS/TS · Java · Rust · Ruby · PHP · C/C++ · C# · Kotlin · Swift · Dart |\n| 📊 **Graph metrics** | density, average degree, and core/backbone component ranking |\n| ⚙️ **Config file** | `.repoarch` for repeatable, project-specific runs |\n| 🔍 **Smart scanning** | gitignore-aware, `--exclude`, `--lang`, `--min-degree` filters |\n| 🎛️ **Flow control** | `LR` / `TB` / `RL` / `BT` layout, plus live edit + fullscreen in HTML |\n| 🤖 **Agent-ready** | installs as a skill for Cursor, Claude Code, Codex, and OpenCode |\n| 💸 **100% free** | zero dependencies, no AI, no server, no API keys, runs on any laptop |\n\n## ✨ Why repoarch\n\n- **No AI.** No API keys. No paid services. Runs offline forever — your code never leaves your machine.\n- **No server.** Output is a **single self-contained HTML file** you can email, open, or host anywhere.\n- **Zero dependencies.** Pure Python standard library — installs in literally one command, works everywhere.\n- **Any language.** Python, Go, JS/TS, Java, Rust, Ruby, PHP, C/C++, C# — detected automatically.\n- **Instant.** Scans and renders a project in under a second.\n- **Agent-friendly.** Works great as a tool for Cursor, Claude Code, Codex, and OpenCode.\n\n## 🔧 Install\n\n```bash\n# one line, no dependencies\npip install repoarch\n```\n\nOr run without installing anything:\n\n```bash\n# clone this repo, then:\npython -m repoarch /path/to/your/codebase\n```\n\n## 🐳 Docker\n\nPre-built images are published to the [GitHub Container Registry](https://github.com/users/dsk-dev-ai/packages/container/package/repoarch) (`ghcr.io/dsk-dev-ai/repoarch`) on every release. Pull, point it at any folder, and never install Python:\n\n```bash\ndocker pull ghcr.io/dsk-dev-ai/repoarch:1.0.0   # or :latest\n\n# map a folder to ./out and read the HTML\ndocker run --rm -v \"$PWD:/app\" \\\n  ghcr.io/dsk-dev-ai/repoarch:latest /app -o /app/out\n# -> /app/out/architecture.html\n```\n\n## 🤖 Agent skill (Cursor · Claude Code · Codex · OpenCode)\n\nWorks as a first-class skill in your favorite AI coding agent — ask it to\n\"map this repo\" and get a verified architecture diagram.\n\n```bash\n# one-command install for all agents (or: cli, cursor, claude, codex, opencode)\n./install.sh all\n\n# or use archify-style agent skill install\nnpx skills add dsk-dev-ai/repoarch\n```\n\nThen just tell your agent:\n\n```text\nUse repoarch to map this repository's architecture.\n```\n\n## 🚀 Quick start\n\n```bash\n# generate diagrams for any folder\nrepoarch /path/to/codebase -o out/\n\n# open the result in your browser\nopen out/architecture.html          # macOS\nxdg-open out/architecture.html      # Linux\nstart out/architecture.html         # Windows\n```\n\nOutput:\n\n| File | What it is |\n|---|---|\n| `architecture.html` | Interactive, self-contained diagram (dark/light, zoom, live edit) |\n| `architecture.mmd` | Raw [Mermaid](https://mermaid.js.org) source |\n| `architecture.dot` | [Graphviz](https://graphviz.org) `dot` source for external tools |\n| `architecture.json` | Structured component / edge / metric metadata |\n\n## 🛠️ Options\n\n```bash\nrepoarch path [options]\n```\n\n| Flag | Description |\n|---|---|\n| `-o, --output` | Where to write the files (default: `.`) |\n| `--name` | Custom diagram title (default: folder name) |\n| `--min-degree N` | Hide low-importance components to declutter large projects |\n| `-x, --exclude` | Path(s) to exclude (repeatable), e.g. `-x tests -x docs` |\n| `--lang` | Only include these languages (repeatable), e.g. `--lang python --lang go` |\n| `-d, --direction` | Flow direction: `LR` (default), `TB`, `RL`, `BT` |\n| `--format` | Outputs to write: `all` (default), `html`, `mmd`, `json`, `dot` |\n| `-c, --config` | Path to a `.repoarch` config file (auto-detected by default) |\n| `--no-gitignore` | Do not honor `.gitignore` during the scan |\n| `--json` | Write `architecture.json` metadata (implied by `--format json/all`) |\n| `--version` | Print version and exit |\n\n### Example\n\n```bash\n# plot only Python + Go, left-to-right, include metrics\nrepoarch ./myapp -o out --lang python --lang go -d LR --format all\n\n# use a config file, declutter\nrepoarch ./bigrepo -c .repoarch --min-degree 2\n```\n\n## 🧠 How it works\n\n1. **Scan** — walks the folder, skips `.git`, `node_modules`, `venv`, and other noise.\n2. **Classify** — detects the language of every source file by extension.\n3. **Extract** — parses `import` / `require` / `using` statements per language (regex, stdlib only).\n4. **Group** — maps files to top-level components.\n5. **Score** — ranks components by how central they are to the system.\n6. **Render** — emits Mermaid + a self-contained HTML viewer.\n\n## 🗺️ Language support\n\nPython · Go · JavaScript · TypeScript · Java · Rust · Ruby · PHP · C · C++ · C# · Kotlin · Swift · Dart\n\n## 📊 Metrics\n\nWith `--format all` or `--json`, repoarch reports graph metrics in `architecture.json`:\n\n- **Density** — how connected the module graph is\n- **Average degree** — mean in/out edges per component\n- **Core components** — the modules with the most relationships (your real architecture backbone)\n- **Top components** — ranked by importance\n\n## 🤝 Contributing\n\nIssues, pull requests, and real-world diagrams are welcome. Want to add a language? It's one entry in `repoarch/parser.py`.\n\n## ❤️ Sponsors\n\nrepoarch is free, open source, and has **zero dependencies and zero running costs** to stay that way. If it saves you time, consider [sponsoring the project](https://github.com/sponsors/dsk-dev-ai) — every bit helps keep it free forever.\n\n<table>\n  <tr>\n    <td align=\"center\">\n      <a href=\"https://github.com/sponsors/dsk-dev-ai\"><img src=\"https://img.shields.io/badge/❤️%20Become%20a%20sponsor-ea4aaa?style=for-the-badge\" alt=\"Sponsor repoarch\"></a><br/>\n      <sub>Support free, local-first dev tools</sub>\n    </td>\n  </tr>\n</table>\n\n> Want to sponsor repoarch or list your product here? [Open an issue](https://github.com/dsk-dev-ai/repoarch/issues).\n\n## ⭐ Support\n\nIf repoarch saved you an hour of diagram-drawing, **give it a star** ⭐ — it helps more developers find it.\n\n## 📄 License\n\n[MIT](LICENSE) — free to use, modify, and distribute.\n","textrieve":"<div align=\"center\">\n\n# textrieve\n\n### Image & PDF → text, free & fully open source.\n\nDrop in an image or a PDF — get clean text. **Offline OCR** on your own CPU, with a CLI, a REST API,\nand a polished browser UI. No accounts, no API keys, no paywalls, nothing stored server-side.\n\n[![Try it live](https://img.shields.io/badge/Try_it_live-textrieve.onrender.com-34d399?style=for-the-badge&logo=render&logoColor=white)](https://textrieve.onrender.com)\n[![PyPI](https://img.shields.io/pypi/v/textrieve?style=for-the-badge&logo=pypi&logoColor=white&color=3775a9)](https://pypi.org/project/textrieve/)\n[![GitHub stars](https://img.shields.io/github/stars/dsk-dev-ai/textrieve?style=for-the-badge&logo=github&color=6c8cff)](https://github.com/dsk-dev-ai/textrieve)\n[![Release](https://img.shields.io/github/v/release/dsk-dev-ai/textrieve?style=for-the-badge&color=0ea5e9)](https://github.com/dsk-dev-ai/textrieve/releases)\n[![Python 3.10+](https://img.shields.io/badge/Python-3.10%2B-3178c6?style=for-the-badge&logo=python&logoColor=white)](https://www.python.org)\n[![FastAPI](https://img.shields.io/badge/FastAPI-009688?style=for-the-badge&logo=fastapi&logoColor=white)](https://fastapi.tiangolo.com)\n[![CI](https://img.shields.io/github/actions/workflow/status/dsk-dev-ai/textrieve/ci.yml?branch=main&style=for-the-badge&logo=githubactions&label=CI)](https://github.com/dsk-dev-ai/textrieve/actions)\n[![Apache-2.0](https://img.shields.io/badge/License-Apache--2.0-6c8cff?style=for-the-badge)](LICENSE)\n\n</div>\n\n> **Status:** v1.2.1 — multi-page **PDF → text**, language hints, auto-expiring results (2 min), live progress bar. Live on PyPI.\n> **Hosted:** [textrieve.onrender.com](https://textrieve.onrender.com) — UI + REST API on one free instance.\n\n---\n\n## Why textrieve?\n\n| Pain point | textrieve solves it |\n| --- | --- |\n| Paid OCR APIs, usage quotas | **100% free** — RapidOCR (ONNX) runs locally, MIT-licensed engine, bundled models |\n| Privacy leaks to third parties | Images never leave your machine / server — **no telemetry, no storage** |\n| Account walls & signups | No accounts. `pip install`, run, done. |\n| Janky one-off tools | A **real web UI**, a REST API, **and** a CLI in one repo |\n\n---\n\n## Contents\n\n- [Quickstart](#quickstart)\n- [Web UI](#web-ui)\n- [REST API](#rest-api)\n- [CLI](#cli)\n- [Privacy & auto-expiry](#privacy--auto-expiry)\n- [Free-tier deployment](#free-tier-deployment)\n- [Memory management](#memory-management)\n- [Tests](#tests)\n- [Roadmap](#roadmap)\n- [Support](#support)\n\n---\n\n## Quickstart\n\n**From PyPI:**\n\n```bash\npip install textrieve\ntextrieve scan.png          # image\ntextrieve big.pdf --lang en # PDF\n```\n\n**From source:**\n\n```bash\ngit clone https://github.com/dsk-dev-ai/textrieve\ncd textrieve\npython -m venv .venv && source .venv/bin/activate\npip install -r requirements.txt\n\nuvicorn app:app --host 0.0.0.0 --port 8080\n```\n\nOpen http://localhost:8080.\n\n---\n\n## Web UI\n\nDrag and drop an image or PDF (or click to browse) → preview → **Extract text** → copy or download.\n\n- Dark, responsive interface — works on desktop and mobile\n- Live **progress bar** (percent + elapsed time) while text is extracted\n- PDFs are extracted **page-by-page**, each one labelled `[Page N]`\n- Live **2-minute countdown** on results; the page is wiped clean automatically\n- Engine status indicator in the header; GitHub + Sponsor links in the footer\n- No cookies, no tracking pixels, no third-party scripts\n\n---\n\n## REST API\n\n| Method | Endpoint | Description |\n| --- | --- | --- |\n| `GET` | `/api/health` | App version, OCR engine, live concurrency stats |\n| `POST` | `/api/ocr` | Multipart `file` upload → text + confidence + timing |\n\n```bash\ncurl -F \"file=@photo.png\" http://localhost:8080/api/ocr\ncurl -F \"file=@scan.pdf\" \"http://localhost:8080/api/ocr?lang=en\"   # PDF, language hint\n```\n\n```json\n{\n  \"text\": \"HELLO TEXTRIEVE 2026\",\n  \"confidence\": 97.5,\n  \"engine\": \"RapidOCR (ONNX, CPU)\",\n  \"duration_ms\": 231.4\n}\n```\n\nFor PDFs the response also includes `\"pages\"` and the text is split with `[Page N]` markers.\nThe optional `lang` query hints the OCR engine (e.g. `en`, `ch`, `japan`, `korea`).\n\n**Limits (free-tier friendly):** PNG / JPG / WEBP / BMP / TIFF / PDF · up to 12 MB · up to 25 PDF\npages · oversize or bad-type uploads rejected with clear HTTP errors (415 / 413 / 503 under load).\n\n> **PDFs on the free hosted tier are slow:** pages are OCR'd one-by-one at roughly 30–60 s per\n> page on Render's free CPU. A 1–2 page scan fits fine; bigger documents should be split or OCR'd\n> locally (`pip install textrieve; textrieve big.pdf`).\n\n---\n\n## CLI\n\n```bash\npython cli.py scans/receipt.jpg        # print extracted text\npython cli.py scan.pdf --lang en       # OCR a PDF, hint the language\npython cli.py a.png b.png --json      # machine-readable output\npython cli.py ./documents/            # OCR every image/PDF in a folder\n```\n\n---\n\n## Privacy & auto-expiry\n\n- **Server-side:** each request is decoded, processed in memory, then released. Results are\n  **never stored** — no database, no cache of extracted text.\n- **Client-side:** extracted text is **automatically erased 2 minutes** after extraction\n  (live countdown shown). Closing the tab clears everything.\n- **Zero tracking:** no analytics scripts, no fingerprinting.\n\n---\n\n## Free-tier deployment\n\nOne free Render instance hosts **both** the web UI and the REST API — a static front-end\nisn't needed.\n\n### Render (UI + API in one service)\n\n```\n# 1. Use the included render.yaml\n# 2. New → Blueprint → connect this repo → Deploy\n```\nOr manually: build `pip install -r requirements.txt`, start\n`uvicorn app:app --host 0.0.0.0 --port $PORT --workers 1`, health check at `/api/health`.\n\n`render.yaml` and a `Dockerfile` are included; the health check keeps the free instance awake\nlonger and restarts it cleanly after the idle timeout. The UI is plain HTML/CSS/JS served by\nFastAPI — the front-end talks to the OCR API on the same origin.\n\n**One-click deploy** (free tier):\n\n[![Deploy to Render](https://img.shields.io/badge/Deploy_to-Render-46e3b7?style=for-the-badge&logo=render&logoColor=white)](https://render.com/deploy?repo=https://github.com/dsk-dev-ai/textrieve)\n\n> **Honest note:** on Render's free tier a single CPU does roughly a few OCR passes per second\n> max. The built-in concurrency guards (2 parallel inferences, bounded queue) keep it alive\n> under bursts rather than letting memory pile up — a 1000-request/second crowd needs a paid\n> instance, but a 1000+ **users** day flows through one free box fine. Free instances also spin\n> down after ~15 minutes idle; the UI auto-retries the first cold request.\n\n---\n\n## Memory management\n\nOptional — included by default:\n\n- `ocr.py` releases the decoded image array immediately after inference and runs periodic GC\n- Images larger than 4000 px or 4 Mpx are downscaled before OCR\n- `app.py` limits concurrent ONNX inference to **2** and refuses (503) past a bounded queue —\n  the process stays under ~512 MB on a busy day\n\n---\n\n## Tests\n\n```bash\npython -m pytest -q\n```\n\nThe suite **generates its own fixture files** (no external sample downloads) and covers:\nhealth, UI + favicon serving, real image and multi-page PDF OCR round-trips with confidence,\nblank images, invalid/missing/oversized uploads, and CLI loading. Gated in CI (GitHub Actions, Python 3.11/3.12).\n\n---\n\n## Roadmap\n\n- [ ] Batch queue in the web UI\n- [ ] PaddleOCR engine switch (even higher accuracy)\n- [ ] Searchable PDF export (text layer baked in)\n\n---\n\n## Support\n\nBuilt by [@dsk-dev-ai](https://github.com/dsk-dev-ai). If textrieve saves you time,\nsponsor the project:\n\n[![Sponsor](https://img.shields.io/badge/Sponsor-GitHub%20Sponsors-34d399?style=for-the-badge&logo=github&logoColor=white)](https://github.com/sponsors/dsk-dev-ai)\n\n---\n\n## License\n\n[Apache-2.0](LICENSE). The RapidOCR engine is MIT-licensed; its ONNX models are distributed on\nan Apache-2.0 basis.","genomeai":"<p align=\"center\">\n  <a href=\"https://genomeai.vercel.app\"><img src=\"https://img.shields.io/badge/Live_Demo-View_Online-2ea44f?style=for-the-badge&logo=internetexplorer&logoColor=white\" alt=\"Live Demo\"/></a>\n  <a href=\"https://github.com/dsk-dev-ai/GenomeAI/stargazers\"><img src=\"https://img.shields.io/github/stars/dsk-dev-ai/GenomeAI?style=for-the-badge&logo=github&color=yellow\" alt=\"GitHub Stars\"/></a>\n  <a href=\"https://github.com/dsk-dev-ai/GenomeAI/forks\"><img src=\"https://img.shields.io/github/forks/dsk-dev-ai/GenomeAI?style=for-the-badge&logo=github\" alt=\"Forks\"/></a>\n</p>\n\n<p align=\"center\">\n  <a href=\"https://github.com/dsk-dev-ai/GenomeAI/blob/main/LICENSE\"><img src=\"https://img.shields.io/badge/License-Apache%202.0-blue.svg?style=flat-square\" alt=\"License\"></a>\n  <a href=\"https://github.com/dsk-dev-ai/GenomeAI/actions\"><img src=\"https://img.shields.io/github/actions/workflow/status/dsk-dev-ai/GenomeAI/ci.yml?style=flat-square&label=CI\" alt=\"CI Status\"></a>\n  <a href=\"https://github.com/dsk-dev-ai/GenomeAI/last-commit\"><img src=\"https://img.shields.io/github/last-commit/dsk-dev-ai/GenomeAI?style=flat-square&label=Last%20commit\" alt=\"Last commit\"></a>\n  <a href=\"https://github.com/dsk-dev-ai/GenomeAI/issues\"><img src=\"https://img.shields.io/github/issues/dsk-dev-ai/GenomeAI?style=flat-square\" alt=\"Open issues\"></a>\n  <a href=\"https://github.com/dsk-dev-ai/GenomeAI/pulls\"><img src=\"https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square\" alt=\"PRs Welcome\"></a>\n  <a href=\"https://github.com/sponsors/dsk-dev-ai\"><img src=\"https://img.shields.io/badge/%E2%9D%A4%EF%B8%8F-Sponsor-red?style=flat-square&logo=githubsponsors&logoColor=white\" alt=\"Sponsor\"></a>\n</p>\n\n<h1 align=\"center\">🧬 GenomeAI</h1>\n\n<p align=\"center\">\n  <strong>Open-source AI platform for genomics, bioinformatics, biomedical research,<br/>and evidence-based AI powered by public scientific databases and multi-provider LLMs.</strong>\n</p>\n\n<p align=\"center\">\n  <a href=\".github/genomeai-og.png\"><img src=\".github/genomeai-og.png\" alt=\"GenomeAI banner\" width=\"720\"/></a>\n</p>\n\n## 🚀 Live Demo\n\n> **Try GenomeAI right now — no install required.** Click the link and use the\n> working application:\n\n<p align=\"center\">\n  <a href=\"https://genomeai.vercel.app\"><strong>🌐 Open the Live Demo → https://genomeai.vercel.app</strong></a>\n  <br/>\n  <sub>Backend API: <code>https://genomeai-api.onrender.com</code> · free-tier hosts, deployed automatically on every release.\n  See <a href=\"docs/deployment/releases.md\">docs/deployment/releases.md</a> for how it works.</sub>\n</p>\n\n---\n\n## What is GenomeAI?\n\nGenomeAI is a unified platform that brings together **public biological databases**, **workflow automation**, **data visualization**, and **AI-powered analysis** — all in one open-source stack.\n\nIt connects directly to **18 free public APIs** (NCBI, Ensembl, UniProt, ClinVar, gnomAD, PDB, AlphaFold, ChEMBL, PubChem, Reactome, KEGG, STRING, OpenTargets, Monarch, Disease Ontology, DGIdb, Europe PMC, Semantic Scholar) to give researchers instant access to genomic, proteomic, chemical, and clinical data — without expensive licenses or proprietary infrastructure.\n\n**Goal:** Make biomedical research accessible, reproducible, and AI-augmented for every researcher, clinician, and developer — anywhere in the world.\n\n---\n\n## Why GenomeAI?\n\n| Problem | GenomeAI Solution |\n|---------|-------------------|\n| Biomedical data is scattered across 100+ databases | Unified connector layer — one API for all sources |\n| Existing tools require expensive licenses | 100% open-source, runs on free-tier APIs |\n| No integrated AI for genomic analysis | Multi-provider LLM support (Gemini cloud, Ollama local) |\n| Workflows are manual and error-prone | DAG-based workflow engine with retry, scheduling, and parallel execution |\n| Results are hard to visualize | Built-in genome browser, protein viewer, network graphs, scientific charts |\n| Reproducibility is difficult | Versioned workflows, provenance tracking, audit logs |\n\n---\n\n## Features\n\n### Built and Working\n\n| Feature | Status |\n|---------|--------|\n| Biological domain models (Genome, Sample, Gene, Variant, Transcript, Protein, …) | ✅ |\n| REST API with CRUD + enhanced analysis endpoints (24 route modules) | ✅ |\n| Workflow DAG engine (definitions, steps, dependencies, validation) | ✅ |\n| Deterministic, parallel DAG execution | ✅ |\n| Cron-based workflow scheduler | ✅ |\n| Queue & worker (Redis-backed background execution) | ✅ |\n| Retry & failure handling (classification, backoff, policies) | ✅ |\n| 18 real external-data connectors (NCBI, UniProt, ClinVar, gnomAD, …) | ✅ |\n| AI-powered analysis (gene, variant, protein, drug, pathway, disease, literature, multi-domain report) with Gemini + Ollama | ✅ |\n| Genome browser, protein viewer, network graphs, scientific charts, molecular structure | ✅ |\n| Live demo — [genomeai.vercel.app](https://genomeai.vercel.app) | ✅ |\n\n### Coming Next\n\n| Feature | Phase |\n|---------|-------|\n| Knowledge graph (gene-disease-drug-protein associations) | 5 |\n| More AI providers (OpenAI, Anthropic, Groq, Mistral) | 6 |\n| PubMed/Europe PMC deep-dive literature QA | 6 |\n| Plugin SDK and marketplace | 7 |\n| Full-text ingestion workers (scheduled sync of source databases) | 7 |\n| Authentication & multi-user organizations | 8 |\n\n---\n\n## Public Data Sources (Free APIs)\n\nGenomeAI ships with **18 real connectors** to free public databases (implemented, live, and tested):\n\n| Domain | Sources |\n|--------|---------|\n| **Genomic** | NCBI E-utilities, Ensembl (VEP) |\n| **Protein** | UniProt, RCSB PDB, AlphaFold DB |\n| **Drug/Compound** | ChEMBL, PubChem, DGIdb, Open Targets |\n| **Literature** | Europe PMC, Semantic Scholar |\n| **Pathway** | Reactome, KEGG |\n| **Network** | STRING |\n| **Variant** | ClinVar, gnomAD |\n| **Disease** | Disease Ontology, Monarch, Open Targets |\n\nSee [docs/data-integration/](docs/data-integration/README.md) for the live\nconnectors and [docs/external-data/MASTER_PLAN.md](docs/external-data/MASTER_PLAN.md)\nfor the historical full integration plan (including future sources).\n\n---\n\n## Architecture\n\n```\n┌──────────────────────────────────────────────────────────────────┐\n│                         User Interfaces                          │\n│         CLI   |   REST API   |   Web UI   |   Python SDK         │\n└──────────────────────────────┬───────────────────────────────────┘\n                               │\n┌──────────────────────────────┴───────────────────────────────────┐\n│                     API Gateway (FastAPI)                        │\n│           Auth  |  Rate Limiting  |  Validation  |  Audit        │\n└──────────────────────────────┬───────────────────────────────────┘\n                               │\n┌──────────────────────────────┴───────────────────────────────────┐\n│                      Orchestration Layer                         │\n│  Workflow DAG Engine  |  Cron Scheduler  |  Redis Queue Worker   │\n│  (parallel exec)      |  (scheduling)    |  (retry, backoff)    │\n└──────────────────────────────┬───────────────────────────────────┘\n                               │\n┌──────────────┬───────────────┼───────────────┬───────────────────┐\n│              │               │               │                   │\n│  Biological  │   Data        │   AI/LLM      │   Visualization   │\n│  Domains     │   Integration │   Gateway     │   Platform        │\n│              │               │               │                   │\n│  Genome      │   NCBI        │   Gemini     │   Genome Browser  │\n│  Sample      │   Ensembl VEP │   Ollama     │   Protein Viewer  │\n│  Gene        │   UniProt     │   (local)    │   Network Graphs  │\n│  Variant     │   ClinVar     │              │   Scientific      │\n│  Transcript  │   gnomAD      │              │   Charts          │\n│  Protein     │   PDB/AlphaFold │            │   3D Molecular    │\n│              │   ChEMBL/PubChem │           │                   │\n│              │   Reactome/KEGG  │           │                   │\n│              │   STRING/OpenTargets│         │                   │\n│              │   EuropePMC/S2     │          │                   │\n└──────────────┴───────────────┴───────────────┴───────────────────┘\n                               │\n┌──────────────────────────────┴───────────────────────────────────┐\n│                          Storage Layer                            │\n│           PostgreSQL  |  Redis  |  Object Storage                 │\n└──────────────────────────────────────────────────────────────────┘\n```\n\nSee [ARCHITECTURE.md](ARCHITECTURE.md) for the full technical breakdown.\n\n---\n\n## Quick Start\n\n```bash\n# Clone the repository\ngit clone https://github.com/dsk-dev-ai/GenomeAI.git\ncd GenomeAI\n\n# Install all dependencies and start infrastructure\nmake setup\n\n# Run tests (over 2,150 passing)\nmake test\n\n# Start the API server\nuvicorn genomeai_api.main:app --reload\n```\n\n**Requirements:** Python 3.12+, Node.js 20+, PostgreSQL 16+, Redis 7+\n\nSee [docs/development/](docs/development/) for detailed setup guides.\n\n---\n\n## Tech Stack\n\n| Layer | Technology |\n|-------|-----------|\n| API | Python 3.12, FastAPI, SQLAlchemy, Pydantic |\n| Database | PostgreSQL 16+, Redis 7+ |\n| Workflow Engine | Python asyncio, DAG execution, Redis queue |\n| Frontend | Next.js, React, TypeScript, Tailwind CSS |\n| Visualization | D3.js, Three.js, Cytoscape.js, Mol* |\n| AI/LLM | Gemini (cloud, default `gemini-3.6-flash`), Ollama (local) |\n| DevOps | Docker, GitHub Actions, Turbo (monorepo) |\n| Testing | pytest (2,150+ tests), biome, ruff, pyright |\n\n---\n\n## Documentation\n\n| Topic | Location |\n|-------|----------|\n| Architecture | [ARCHITECTURE.md](ARCHITECTURE.md) |\n| Roadmap | [ROADMAP.md](ROADMAP.md) |\n| API Reference | [docs/api/](docs/api/) |\n| Database Schema | [docs/database/](docs/database/) |\n| Workflow Engine | [docs/workflows/](docs/workflows/) |\n| External Data & APIs | [docs/external-data/](docs/external-data/) |\n| AI/ML Guide | [docs/ai/](docs/ai/) |\n| Visualization | [docs/visualization/](docs/visualization/) |\n| Decisions | [docs/decisions/](docs/decisions/) |\n| Contributing | [CONTRIBUTING.md](CONTRIBUTING.md) |\n\n---\n\n## Contributing\n\nWe welcome contributions from bioinformaticians, software engineers, data scientists, and researchers.\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.\n\n```bash\n# Quick contribution workflow\ngit checkout -b feat/my-feature\nmake lint make typecheck make test\ngit commit -m \"feat(domain): add my feature\"\ngit push origin feat/my-feature\n# Open a Pull Request\n```\n\n---\n\n---\n\n## Community\n\n- **Live demo:** [genomeai.vercel.app](https://genomeai.vercel.app)\n- **Discussions:** [GitHub Discussions](https://github.com/dsk-dev-ai/GenomeAI/discussions) — Q&A, ideas, show & tell\n- **Issues:** [Report a bug](https://github.com/dsk-dev-ai/GenomeAI/issues/new?assignees=&labels=bug&template=bug_report.md) · [Request a feature](https://github.com/dsk-dev-ai/GenomeAI/issues/new?assignees=&labels=enhancement&template=feature_request.md)\n- **Code of conduct:** [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md)\n- **Security:** [SECURITY.md](SECURITY.md)\n\n## Star History\n\n<a href=\"https://www.star-history.com/?repos=dsk-dev-ai%2FGenomeAI&type=date&legend=top-left\">\n  <picture>\n    <source media=\"(prefers-color-scheme: dark)\" srcset=\"https://api.star-history.com/chart?repos=dsk-dev-ai/GenomeAI&type=date&theme=dark&legend=top-left&sealed_token=475_h1z3vpuyiD6VjC8-ZBAv5JIHewi5K2SyQqpcNycqJ9XWi_N0Ut9woNi_fn4EW-qc4IL95QVk5JhxNsMTPCHxtGTtjsD-xh4jguJkNVmbaxEyrJdINbpiSfWQfuQYVxkvYTS4YTadnGWSC8IGHdrv3NoVazugWsLdMf6wyeFvgKQcNn9wRaoMi2XK\" />\n    <source media=\"(prefers-color-scheme: light)\" srcset=\"https://api.star-history.com/chart?repos=dsk-dev-ai/GenomeAI&type=date&legend=top-left&sealed_token=475_h1z3vpuyiD6VjC8-ZBAv5JIHewi5K2SyQqpcNycqJ9XWi_N0Ut9woNi_fn4EW-qc4IL95QVk5JhxNsMTPCHxtGTtjsD-xh4jguJkNVmbaxEyrJdINbpiSfWQfuQYVxkvYTS4YTadnGWSC8IGHdrv3NoVazugWsLdMf6wyeFvgKQcNn9wRaoMi2XK\" />\n    <img alt=\"Star History Chart\" src=\"https://api.star-history.com/chart?repos=dsk-dev-ai/GenomeAI&type=date&legend=top-left&sealed_token=475_h1z3vpuyiD6VjC8-ZBAv5JIHewi5K2SyQqpcNycqJ9XWi_N0Ut9woNi_fn4EW-qc4IL95QVk5JhxNsMTPCHxtGTtjsD-xh4jguJkNVmbaxEyrJdINbpiSfWQfuQYVxkvYTS4YTadnGWSC8IGHdrv3NoVazugWsLdMf6wyeFvgKQcNn9wRaoMi2XK\" />\n  </picture>\n</a>\n\n> ⭐ Live chart — updates automatically as the repo gains stars. Click the graphic\n> for the interactive view (GitHub restricts public star data, so the embed uses an\n> encrypted star-history.com sealed token).\n\n## Sponsor\n\nGenomeAI is built and maintained by [Darshan Kachare](https://github.com/dsk-dev-ai) through [NextGenAI Labs](https://github.com/sponsors/dsk-dev-ai).\n\nSponsorship supports development infrastructure, documentation, and long-term maintenance of this open-source platform.\n\n<a href=\"https://github.com/sponsors/dsk-dev-ai\">\n  <img src=\"https://img.shields.io/badge/%E2%9D%A4%EF%B8%8F-Sponsor_on_GitHub-red?style=for-the-badge&logo=githubsponsors&logoColor=white\" alt=\"Sponsor GenomeAI\"/>\n</a>\n\n---\n\n## License\n\nGenomeAI is open source under the [Apache 2.0 License](LICENSE).\n\n---\n\n<p align=\"center\">\n  Built with care for the global research community.<br/>\n  <a href=\"https://github.com/dsk-dev-ai/GenomeAI\">GitHub</a> · <a href=\"https://github.com/dsk-dev-ai/GenomeAI/discussions\">Discussions</a> · <a href=\"https://github.com/sponsors/dsk-dev-ai\">Sponsor</a>\n</p>\n","ai-blog-writer":"# 🚀 AI Blog Writer (FREE Local AI)\n\n[![CI](https://github.com/dsk-dev-ai/ai-blog-writer/actions/workflows/ci.yml/badge.svg)](https://github.com/dsk-dev-ai/ai-blog-writer/actions/workflows/ci.yml)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nA modern AI-powered blog generator built with Python and Flask that runs 100% locally using Ollama (no API costs).\n\n## ✨ Features\n- Generate blogs instantly\n- Works offline\n- FREE forever (no OpenAI charges)\n- Modern UI\n- Fast local LLM\n- Flask backend\n\n## 🛠 Tech Stack\n- Python\n- Flask\n- Ollama\n- HTML/CSS\n\n## 📸 Screenshot\n<img width=\"960\" height=\"540\" alt=\"1\" src=\"https://github.com/user-attachments/assets/41cdd30e-f933-4088-aeb3-78878e61acb1\" />\n<img width=\"960\" height=\"540\" alt=\"2\" src=\"https://github.com/user-attachments/assets/619fdaf1-2bd9-49d2-9007-2835c57381bf\" />\n\n\n## ▶️ Run Locally\n\n```bash\npip install flask\npython app.py\n```\nThen open:\nhttp://127.0.0.1:5000\n\n## 🧪 Tests\n\n```bash\npip install -r requirements-dev.txt\npython -m pytest -q\n```\n\nTests cover the home route (GET/POST), empty-topic validation, blog\ngeneration via the Ollama client, and Ollama-unreachable error handling.\nCI runs the suite on every push.\n\n👨‍💻 Author\nDarshan Kachare\nAI Developer | Automation Builder\n\n---\n","bookforge-ai":"# BookForge AI\n\n> AI-powered technical eBook publishing platform.\n\n[![CI](https://github.com/dsk-dev-ai/bookforge-ai/actions/workflows/ci.yml/badge.svg)](https://github.com/dsk-dev-ai/bookforge-ai/actions/workflows/ci.yml)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n---\n\n## Table of Contents\n\n- [Overview](#overview)\n- [Architecture](#architecture)\n- [Subsystems](#subsystems)\n- [Provider Manager](#provider-manager)\n- [Project Structure](#project-structure)\n- [Tech Stack](#tech-stack)\n- [Quick Start](#quick-start)\n- [Documentation](#documentation)\n- [Pipeline](#pipeline)\n- [Roadmap](#roadmap)\n- [Contributing](#contributing)\n- [License](#license)\n\n---\n\n## Overview\n\nBookForge AI is a production-grade platform that transforms a technical book specification into a publication-ready PDF and EPUB through an automated pipeline of research, writing, review, diagramming, and rendering.\n\nThe platform only generates technical books. Allowed topics: AI, ML, LLMs, AI Agents, RAG, MLOps, DevOps, Kubernetes, Docker, Cloud, APIs, Databases, Software Engineering, Distributed Systems, Cybersecurity.\n\n---\n\n## Architecture\n\n```mermaid\ngraph TB\n    subgraph \"API Layer\"\n        API[FastAPI REST API]\n    end\n\n    subgraph \"Worker Layer\"\n        CEL[Celery Worker]\n        ORCH[Pipeline Orchestrator]\n    end\n\n    subgraph \"Subsystems\"\n        BM[Book Manager]\n        PM[Project Manager]\n        PRM[Provider Manager]\n        PTM[Prompt Manager]\n        RM[Research Manager]\n        KM[Knowledge Manager]\n        OE[Outline Engine]\n        WE[Writing Engine]\n        RVE[Review Engine]\n        DE[Diagram Engine]\n        IE[Image Engine]\n        ME[Markdown Engine]\n        PBE[Publishing Engine]\n        EE[Export Engine]\n    end\n\n    subgraph \"Cross-Cutting\"\n        CFG[Configuration Manager]\n        LOG[Logging System]\n        JQ[Job Queue]\n        TE[Template Engine]\n    end\n\n    subgraph \"Infrastructure\"\n        PG[(PostgreSQL)]\n        RD[(Redis)]\n        S3[(Object Storage)]\n    end\n\n    API --> BM\n    API --> PM\n    API --> JQ\n    CEL --> ORCH\n    ORCH --> BM\n    ORCH --> PRM\n    ORCH --> PTM\n    ORCH --> RM\n    ORCH --> KM\n    ORCH --> OE\n    ORCH --> WE\n    ORCH --> RVE\n    ORCH --> DE\n    ORCH --> IE\n    ORCH --> ME\n    ORCH --> PBE\n    ORCH --> EE\n    BM --> PG\n    PM --> PG\n    PRM --> CFG\n    KM --> RD\n    PBE --> S3\n    EE --> S3\n```\n\n---\n\n## Subsystems\n\n| Subsystem | Responsibility |\n|---|---|\n| Book Manager | Book entity lifecycle, state machine, CRUD |\n| Project Manager | Project container, collaborators, version tags |\n| Provider Manager | LLM provider registry, health checks, circuit breaker, provider selection |\n| Prompt Manager | Versioned prompt templates, rendering, usage tracking |\n| Research Manager | Topic research, source synthesis, concept extraction |\n| Knowledge Manager | RAG engine, embeddings, vector indexes, context retrieval |\n| Outline Engine | Chapter outline generation from book specification |\n| Writing Engine | Chapter content generation with context-aware prompting |\n| Review Engine | Multi-stage quality checks (technical, style, structural, consistency) |\n| Diagram Engine | Mermaid/PlantUML diagram generation from content descriptions |\n| Image Engine | Cover and illustration image generation |\n| Markdown Engine | Markdown parsing, normalisation, formatting, linting |\n| Publishing Engine | PDF and EPUB compilation with styling |\n| Export Engine | Output delivery, file packaging, storage management |\n\n---\n\n## Provider Manager\n\nThe Provider Manager is implemented in ``packages/llm/`` and provides:\n\n- **``LLMProvider`` interface** — 6 methods: ``chat``, ``chat_stream``, ``embed``, ``embed_stream``, ``health``, ``list_models``\n- **``ProviderRegistry``** — Register, get, list, unregister providers by name\n- **``ModelRouter``** — Capability-based routing: primary → fallback → error\n- **``CircuitBreaker``** — Opens after N consecutive failures, cooldown then half-open\n- **``HealthChecker``** — Periodic health probes with TTL cache\n- **``TokenBucketRateLimiter``** — Smooths request rates per provider\n- **``RetryPolicy``** — Exponential backoff with ±25% jitter\n- **Providers** — NVIDIA NIM adapter (primary), Ollama adapter (fallback)\n\n```python\nfrom bookforge.llm import ProviderManager\nfrom bookforge.llm.models import Message, MessageRole\n\nmanager = ProviderManager.from_env()\nawait manager.start()\nresponse = await manager.chat([\n    Message(role=MessageRole.USER, content=\"Write a chapter...\")\n])\nawait manager.stop()\n```\n\n---\n\n## Project Structure\n\n```text\nbookforge-ai/\n├── apps/\n│   ├── api/              # FastAPI REST API\n│   ├── web/              # Next.js web dashboard\n│   └── worker/           # Celery background worker\n├── packages/\n│   ├── core/             # Domain entities, pipeline orchestration\n│   ├── shared/           # Types, utilities, base classes\n│   ├── llm/              # Provider abstraction layer\n│   │   ├── src/bookforge/llm/\n│   │   │   ├── interfaces.py      # LLMProvider ABC\n│   │   │   ├── base.py            # BaseProvider\n│   │   │   ├── models.py          # Request/response types\n│   │   │   ├── errors.py          # Exception hierarchy\n│   │   │   ├── config.py          # Pydantic Settings\n│   │   │   ├── config_loader.py   # Config assembly\n│   │   │   ├── registry.py        # Provider registry\n│   │   │   ├── manager.py         # ProviderManager facade\n│   │   │   ├── router.py          # ModelRouter\n│   │   │   ├── health.py          # HealthChecker\n│   │   │   ├── rate_limiter.py    # Token bucket limiter\n│   │   │   ├── retry.py           # Retry policy\n│   │   │   ├── circuit_breaker.py # Circuit breaker\n│   │   │   ├── logging.py         # Structured logging\n│   │   │   └── providers/\n│   │   │       ├── nvidia.py      # NVIDIA NIM adapter\n│   │   │       └── ollama.py      # Ollama adapter\n│   │   └── tests/\n│   ├── research/         # Research and content gathering\n│   ├── markdown/         # Markdown processing\n│   ├── pdf/              # PDF compilation\n│   ├── review/           # Content review engine\n│   ├── rag/              # RAG and knowledge management\n│   ├── diagrams/         # Diagram generation\n│   ├── images/           # Image generation\n│   ├── writer/           # Writing engine (draft generation)\n│   └── prompts/          # Prompt template management\n├── config/               # YAML configuration files\n├── docs/                 # Architecture and design documentation\n├── templates/            # Book, chapter, and section templates\n├── .github/workflows/    # CI pipeline\n├── Makefile\n└── .env.example\n```\n\n---\n\n## Tech Stack\n\n| Layer | Technology | Purpose |\n|---|---|---|\n| Language | Python 3.12+ | Runtime |\n| API Framework | FastAPI | REST API |\n| Web UI | Next.js + TypeScript | User interface |\n| Database | PostgreSQL 16 | Persistent state |\n| Cache / Queue | Redis 7 | Caching + Celery broker |\n| Task Queue | Celery | Async background processing |\n| PDF Engine | WeasyPrint / Typst | PDF rendering |\n| LLM Providers | NVIDIA NIM (primary), Ollama (fallback) | Content generation |\n| Linting | ruff | Code quality |\n| Types | mypy | Static type checking |\n| Testing | pytest | Test framework |\n| Container | Docker + Docker Compose | Development environment |\n\n---\n\n## Quick Start\n\n```bash\ngit clone https://github.com/dsk-dev-ai/bookforge-ai.git\ncd bookforge-ai\nmake setup        # install dev tooling for all packages (requires uv)\nmake test         # run every package's test suite\nmake check        # lint + typecheck + test\n```\n\nEach package is fully type-checked (mypy strict), linted (ruff), and tested\n(pytest). See the [Makefile](Makefile) for all available targets.\n\n---\n\n## Documentation\n\n| Document | Description |\n|---|---|\n| [Architecture](docs/ARCHITECTURE.md) | System architecture, subsystems, provider design |\n| [Pipeline](docs/PIPELINE.md) | 13-stage book generation pipeline |\n| [API](docs/API.md) | REST API endpoint catalog and contracts |\n| [Database](docs/DATABASE.md) | Schema design, ERD, migration strategy |\n| [Workflow](docs/WORKFLOW.md) | User-facing and system workflows |\n| [Project Specification](docs/PROJECT_SPECIFICATION.md) | Vision, scope, constraints |\n| [LLM Integration](docs/LLM.md) | Provider abstraction and configuration |\n| [Prompts](docs/PROMPTS.md) | Prompt template system |\n| [Security](docs/SECURITY.md) | Security policies |\n| [Roadmap](docs/ROADMAP.md) | Development phases |\n| [Coding Standards](docs/CODING_STANDARDS.md) | Code conventions |\n| [Contributing](docs/CONTRIBUTING.md) | Contribution guide |\n\n---\n\n## Pipeline\n\n```text\nBook Request → Validation → Specification → Outline → Research →\nKnowledge Base → Writing → Review → Diagrams → Cover →\nMarkdown → PDF → EPUB → Completed Book\n```\n\n---\n\n## Provider Architecture\n\n| Priority | Provider | Role |\n|---|---|---|\n| Primary | NVIDIA NIM | Default LLM provider for all generation |\n| Fallback | Ollama | Local fallback when primary is unavailable |\n\n**Pluggable:** New providers implement ``LLMProvider`` and register via ``ProviderRegistry.register()``.\n\n---\n\n## Roadmap\n\n| Phase | Focus |\n|-------|-------|\n| 01 — Foundation | Project structure, documentation, templates |\n| 02 — Architecture | System architecture, pipeline design, subsystem specification |\n| 03 — Provider Manager | LLM abstraction layer, NVIDIA/Ollama adapters |\n| 04 — Core Domain | Domain entities, value objects, enums, serialization |\n| 05 — Configuration | Configuration system, environment loading, settings |\n| 06 — Research Engine | Research planning, caching, deduplication, ranking |\n| 07 — Book Planning | Book blueprint, chapter outlines, dependency graphs, learning paths |\n| 08 — Writing Engine | Chapter/section generation, prompt composition, Markdown assembly, validation |\n| 09 — Production | API, web UI, deployment, monitoring |\n\n---\n\n## Contributing\n\nPlease read [docs/CONTRIBUTING.md](docs/CONTRIBUTING.md) and [docs/CODING_STANDARDS.md](docs/CODING_STANDARDS.md).\n\n---\n\n## License\n\nMIT License.\n","dsk-packages":"# dsk-packages\n\n[![CI](https://github.com/dsk-dev-ai/dsk-packages/actions/workflows/ci.yml/badge.svg)](https://github.com/dsk-dev-ai/dsk-packages/actions/workflows/ci.yml)\n[![Release](https://github.com/dsk-dev-ai/dsk-packages/actions/workflows/release.yml/badge.svg)](https://github.com/dsk-dev-ai/dsk-packages/actions/workflows/release.yml)\n[![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)\n[![TypeScript](https://img.shields.io/badge/TypeScript-5.9-3178C6?logo=typescript&logoColor=white)](https://www.typescriptlang.org)\n[![pnpm](https://img.shields.io/badge/pnpm-workspace-F69220?logo=pnpm&logoColor=white)](https://pnpm.io)\n\n> **Production-grade TypeScript libraries, developer utilities, and open-source tools.**\n\n---\n\n## Vision\n\n**dsk-packages** is an open-source ecosystem of modern TypeScript libraries designed to help developers build reliable software faster.\n\nThe goal of this repository is to provide lightweight, dependency-conscious, production-ready packages with an excellent developer experience.\n\nEvery package is built around five core principles:\n\n- 🔒 Type Safety\n- ⚡ Performance\n- 📦 Minimal Dependencies\n- 📖 Excellent Documentation\n- 🧪 Comprehensive Testing\n\nThis repository follows the same engineering practices used by large open-source ecosystems while remaining approachable for individual developers.\n\n---\n\n# Current Status\n\n🚧 **Active Development**\n\nCurrent Progress\n\n- ✅ Monorepo Foundation\n- ✅ Repository Infrastructure\n- ✅ Logger Package\n- ⏳ First npm Release\n- ⏳ Documentation Website\n\n---\n\n# Repository Architecture\n\nThis repository is built using a modern TypeScript toolchain.\n\n| Layer           | Technology               |\n| --------------- | ------------------------ |\n| Package Manager | pnpm Workspaces          |\n| Monorepo        | TurboRepo                |\n| Language        | TypeScript (Strict Mode) |\n| Linting         | ESLint Flat Config       |\n| Formatting      | Prettier                 |\n| Testing         | Vitest                   |\n| Versioning      | Changesets               |\n| CI/CD           | GitHub Actions           |\n\n---\n\n# Repository Structure\n\n```text\ndsk-packages/\n│\n├── .github/\n│   ├── workflows/\n│   ├── ISSUE_TEMPLATE/\n│   └── PULL_REQUEST_TEMPLATE.md\n│\n├── docs/\n│\n├── examples/\n│\n├── packages/\n│   └── ...\n│\n├── scripts/\n│\n├── .changeset/\n├── .vscode/\n├── package.json\n├── pnpm-workspace.yaml\n├── turbo.json\n├── tsconfig.base.json\n├── eslint.config.mjs\n└── README.md\n```\n\n---\n\n# Planned Package Ecosystem\n\nPackages will be published under the npm scope:\n\n```\n@darshankachare/*\n```\n\nInitial roadmap includes:\n\n| Package                    | Status             |\n| -------------------------- | ------------------ |\n| @darshankachare/logger     | ✅ v2.1.0 Released |\n| @darshankachare/config     | Planned            |\n| @darshankachare/env        | Planned            |\n| @darshankachare/cache      | Planned            |\n| @darshankachare/http       | Planned            |\n| @darshankachare/events     | Planned            |\n| @darshankachare/queue      | Planned            |\n| @darshankachare/retry      | Planned            |\n| @darshankachare/cli        | Planned            |\n| @darshankachare/validation | Planned            |\n| ...                        | More Coming        |\n\nThe long-term vision is to grow this repository into a comprehensive ecosystem of developer-focused libraries.\n\n---\n\n# Getting Started\n\nClone the repository:\n\n```bash\ngit clone https://github.com/dsk-dev-ai/dsk-packages.git\n\ncd dsk-packages\n```\n\nInstall dependencies:\n\n```bash\npnpm install\n```\n\n---\n\n# Development\n\nBuild everything:\n\n```bash\npnpm build\n```\n\nRun tests:\n\n```bash\npnpm test\n```\n\nRun linter:\n\n```bash\npnpm lint\n```\n\nRun type checking:\n\n```bash\npnpm typecheck\n```\n\nFormat code:\n\n```bash\npnpm format\n```\n\n---\n\n# Development Workflow\n\nEvery feature follows the same Git workflow.\n\n```\nmain\n │\n ├── feature/logger\n │\n ├── feature/cache\n │\n ├── feature/http\n │\n └── feature/...\n```\n\nEach feature branch contains one focused change.\n\nEvery pull request must:\n\n- pass CI\n- include tests (where applicable)\n- follow Conventional Commits\n- include a Changeset (for publishable changes)\n\n---\n\n# Release Workflow\n\nPublishing is fully automated using **Changesets**.\n\n```\nFeature Branch\n      │\n      ▼\nPull Request\n      │\n      ▼\nMerge into main\n      │\n      ▼\nVersion Packages PR\n      │\n      ▼\nnpm Publish\n```\n\nEach package follows Semantic Versioning.\n\n---\n\n# Package Philosophy\n\nEvery package in this repository should be:\n\n- Small\n- Fast\n- Tree-shakeable\n- Fully Typed\n- Production Ready\n- Well Documented\n- Well Tested\n- Easy to Maintain\n\nThe repository values long-term maintainability over unnecessary complexity.\n\n---\n\n# Quality Standards\n\nEvery published package should provide:\n\n- Strict TypeScript support\n- 100% public API documentation\n- Unit tests\n- Consistent formatting\n- ESLint compliance\n- Semantic versioning\n- CI validation\n\n---\n\n# Contributing\n\nContributions are welcome.\n\nBefore contributing please read:\n\n- [CONTRIBUTING.md](CONTRIBUTING.md)\n- [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md)\n- [SECURITY.md](SECURITY.md)\n\nDevelopment workflow:\n\n1. Fork repository\n2. Create a feature branch\n3. Make changes\n4. Run tests\n5. Submit Pull Request\n\n---\n\n# Documentation\n\nAdditional documentation is available in the `docs/` directory.\n\nTopics include:\n\n- Architecture\n- Coding Standards\n- Publishing\n- Release Process\n- Getting Started\n\n---\n\n# Roadmap\n\nSee:\n\n```\nROADMAP.md\n```\n\nfor the complete development roadmap.\n\n---\n\n# Security\n\nIf you discover a security vulnerability, please report it privately instead of opening a public issue.\n\nContact:\n\n**darshan.kachare.dev@gmail.com**\n\nPlease see:\n\n```\nSECURITY.md\n```\n\nfor responsible disclosure guidelines.\n\n---\n\n# Support\n\nIf you need help:\n\n- Open a GitHub Issue\n- Start a GitHub Discussion (when enabled)\n- Read the documentation\n\n---\n\n# License\n\nLicensed under the **MIT License**.\n\nSee the [LICENSE](LICENSE) file for details.\n\n---\n\n## Author\n\n**Darshan Kachare**\n\nSoftware Engineer • Open Source Contributor • Founder of NextGenAI Labs\n\nGitHub:\nhttps://github.com/dsk-dev-ai\n\nBuilding reliable developer tools, TypeScript libraries, AI systems, and open-source software.\n\n---\n\n**Build. Learn. Share. Improve.**\n\n---\n\n## Support the Project\n\nIf **dsk-packages** is useful to you, you can support its continued development through **GitHub Sponsors**.\n\nYour support helps fund:\n\n- 📦 Development and maintenance of TypeScript packages\n- 🧪 Testing and quality improvements\n- 📖 Documentation and examples\n- 🔧 Development infrastructure and CI\n- 🚀 New open-source developer tools\n\n[![GitHub Sponsors](https://img.shields.io/github/sponsors/dsk-dev-ai?style=flat&logo=github)](https://github.com/sponsors/dsk-dev-ai)\n\nSupport the project:\n\n**https://github.com/sponsors/dsk-dev-ai**\n","paypilot-ai":"# PayPilot AI\n\n**An AI that can shop. A mandate that keeps it honest.**\n\n<p align=\"center\">\n  <a href=\"https://paypilot-ai-14gl.onrender.com\"><img alt=\"Live demo\" src=\"https://img.shields.io/badge/LIVE_DEMO-paypilot--ai--14gl.onrender.com-6D8DFF?style=for-the-badge&logo=render&logoColor=white\"></a>\n  <a href=\"https://github.com/dsk-dev-ai/paypilot-ai\"><img alt=\"GitHub repo\" src=\"https://img.shields.io/badge/GitHub-dsk--dev--ai%2Fpaypilot--ai-181717?style=for-the-badge&logo=github&logoColor=white\"></a>\n</p>\n\n<p align=\"center\">\n  <img alt=\"Next.js 16\" src=\"https://img.shields.io/badge/Next.js-16-000000?style=flat-square&logo=nextdotjs&logoColor=white\">\n  <img alt=\"React 19\" src=\"https://img.shields.io/badge/React-19-61DAFB?style=flat-square&logo=react&logoColor=000000\">\n  <img alt=\"TypeScript\" src=\"https://img.shields.io/badge/TypeScript-5-3178C6?style=flat-square&logo=typescript&logoColor=white\">\n  <img alt=\"Prisma 6\" src=\"https://img.shields.io/badge/Prisma-6-2D3748?style=flat-square&logo=prisma&logoColor=white\">\n  <img alt=\"PostgreSQL 16\" src=\"https://img.shields.io/badge/PostgreSQL-16-4169E1?style=flat-square&logo=postgresql&logoColor=white\">\n  <img alt=\"Google Gemini\" src=\"https://img.shields.io/badge/Gemini-gemini--3.6--flash-8E75B2?style=flat-square&logo=googlegemini&logoColor=white\">\n  <img alt=\"PayPal sandbox\" src=\"https://img.shields.io/badge/PayPal-Orders_v2_sandbox-003087?style=flat-square&logo=paypal&logoColor=white\">\n  <img alt=\"127 tests\" src=\"https://img.shields.io/badge/tests-127_passing-2EA44F?style=flat-square\">\n  <img alt=\"MIT license\" src=\"https://img.shields.io/badge/license-MIT-2EA44F?style=flat-square\">\n</p>\n\n**PayPilot AI is an accountable AI shopping agent built for the PayPal AI Hackathon.** You describe a\ngoal. The agent builds a plan from a real, server-side catalog. A **human-signed spending mandate** caps\nwhat it can buy. A real **PayPal sandbox capture** is the only way money moves. Digital goods are\ndelivered instantly, and every step is written to a **tamper-evident receipt chain** you can recompute.\n\nNo invoice-only mock. No \"click here and trust us\" success page. The full loop is real.\n\n> **Agentic commerce · autonomous purchasing · AI agent safety · verifiable consent · PayPal sandbox ·\n> receipt ledger.** If you are looking for a working example of an AI agent that can spend money without\n> being trusted blindly, this is it.\n\n### Try it now\n\n| 🚀 Live demo | 🤖 Run the agent | 🧾 Verify a receipt | 🛠 Control room |\n| --- | --- | --- | --- |\n| [paypilot-ai-14gl.onrender.com](https://paypilot-ai-14gl.onrender.com) | [Open `/agent`](https://paypilot-ai-14gl.onrender.com/agent) | [Open `/verify`](https://paypilot-ai-14gl.onrender.com/verify) | [Open `/dashboard`](https://paypilot-ai-14gl.onrender.com/dashboard) |\n\n![PayPilot AI — accountable purchasing agent](docs/screenshots/home.png)\n\n---\n\n## Why this exists\n\nAgents can now browse, decide, and spend. The missing piece is **accountability**:\n\n- Who authorized the purchase?\n- What exactly was approved, at what price and quantity?\n- Did the agent change the cart after approval?\n- Can a judge verify the receipt without trusting the app?\n\nPayPilot answers all four with deterministic policy checks, SHA-256 cart consent, real PayPal capture,\nand a PostgreSQL hash-chained ledger.\n\n---\n\n## 60-second demo\n\n1. **Store** — browse 12 built-in digital products (USD).\n2. **Agent** — “I’m shipping an AI agent and need a starter kit, a security checklist, and a demo script\n   under $60.” Create the $100 demo budget, review the grounded proposal, send it to the plan.\n3. **Plan** — approve the exact cart. A SHA-256 consent artifact binds the line items, quantities, and\n   prices.\n4. **Checkout** — the server recomputes that hash, creates a real PayPal Orders v2 sandbox order, and\n   sends you to PayPal.\n5. **Return** — after buyer approval, the server captures the payment, verifies it, generates license\n   keys, and appends receipts.\n6. **Control Room + Verify** — see spend vs budget, delivery state, and the ledger. “Verify” re-hashes the\n   consent artifact and walks the whole chain.\n\n> The `$100` budget, `paypilot` provider allowlist, and `US` destination are the demo defaults. Edit or\n> create mandates under **Policy** to change them.\n\n---\n\n## Screens\n\n| PayPilot Store | Grounded purchasing agent |\n| --- | --- |\n| ![PayPilot Store](docs/screenshots/store.png) | ![Purchasing agent](docs/screenshots/agent.png) |\n\n| Consent-gated checkout | PayPal sandbox order |\n| --- | --- |\n| ![Checkout consent](docs/screenshots/checkout.png) | ![PayPal order](docs/screenshots/checkout-paypal.png) |\n\n| Receipt verifier | Live status |\n| --- | --- |\n| ![Receipt verifier](docs/screenshots/verify.png) | [Health check](https://paypilot-ai-14gl.onrender.com/api/health) |\n\n---\n\n## Architecture\n\n```\nBrowser\n  │  goal\n  ▼\n/agent  ──►  Gemini (optional)  ──►  proposal (catalog ids only)\n  │                                      │\n  │        deterministic fallback  ◄─────┘\n  ▼\ndraft plan  ──►  /plan approve  ──►  mandate engine (budget, qty, provider, freshness)\n  │                                      │\n  │                               SHA-256 consent artifact\n  ▼\n/checkout  ──►  recompute hash + verify consent binding\n  │\n  ├─ paypilot  ──►  PayPal Orders v2 (sandbox)  ──►  buyer approves  ──►  capture\n  │                                                                        │\n  │                                                              instant digital delivery\n  │                                                                        │\n  └─ external merchant  ──►  recorded handoff to the merchant's own checkout\n                                                                           │\n                                                             PostgreSQL hash-chained ledger\n                                                                           │\n                                                                    /verify recomputes\n```\n\n---\n\n## What is actually real\n\n| Claim | Implementation |\n| --- | --- |\n| AI plans a purchase | Gemini `generateContent` with a fixed catalog and strict JSON schema; deterministic keyword planner fallback |\n| AI cannot invent products | Server drops any product id not in the catalog and re-clamps quantities |\n| Human authorizes | `/api/plan/approve` writes a SHA-256 consent artifact over the exact cart |\n| Cart cannot change silently | `/api/checkout` recomputes the hash and rejects mismatches, expired, consumed, or revoked consents |\n| Money moves | PayPal Orders v2 `POST /v2/checkout/orders` then `POST /capture` in the sandbox |\n| Delivery happens only after payment | `fulfillOrder()` runs after capture and is idempotent per order |\n| Receipt cannot be quietly edited | Every event is appended to a Postgres hash chain under an advisory lock; `/api/verify` re-derives it |\n\n### Honest limitations\n\n- PayPal sandbox only; this repo is not configured for live money.\n- The PayPal integration is **USD-only** (`PAYPAL_SUPPORTED_CURRENCIES = [\"USD\"]`).\n- Payment confirmation uses the buyer return URL plus a server-side PayPal verification call. There is no\n  webhook in this build.\n- External retailers (eBay, Flipkart, Amazon adapters) are **handoffs**, not automated checkouts. The\n  built-in PayPilot Store is the closed-loop demo.\n- Identity is an anonymous session cookie; this is a hackathon demo, not an auth product.\n- Rate limiting is in-memory and per-instance.\n\n---\n\n## Tech stack\n\n- **Next.js 16** (App Router, Turbopack), **React 19**, **TypeScript**\n- **Tailwind CSS v4**, **Motion**, custom dark UI\n- **Prisma 6** + **PostgreSQL 16**\n- **Zod** for all request and model-output validation\n- **AG Grid** for the control-room order grid\n- **Google Gemini** (`gemini-3.6-flash` by default) with a deterministic fallback\n- **PayPal Orders v2** REST API (sandbox)\n\n---\n\n## Local setup\n\n### 1. Install\n\n```bash\nnpm install\n```\n\n### 2. Configure\n\n```bash\ncp .env.example .env.local\n```\n\nFill in `.env.local`:\n\n```dotenv\nAPP_BASE_URL=http://localhost:3000\n\nPAYPAL_CLIENT_ID=...\nPAYPAL_CLIENT_SECRET=...\nPAYPAL_ENV=sandbox\nPAYPAL_API_BASE=https://api-m.sandbox.paypal.com\n\nGEMINI_API_KEY=...\nGEMINI_MODEL=gemini-3.6-flash\n\nDATABASE_URL=postgresql://paypilot:paypilot@localhost:5432/paypilot?schema=public\n```\n\n- PayPal credentials: <https://developer.paypal.com/dashboard/applications/sandbox>\n- Gemini key: <https://aistudio.google.com/apikey>\n\n`GEMINI_API_KEY` is optional. Without it the agent uses the deterministic planner. PayPal credentials are\nrequired for the live payment step.\n\n### 3. Start Postgres and migrate\n\n```bash\ndocker compose up -d db\nnpm run db:migrate\n```\n\n`db:migrate` loads `.env.local` for you (Next.js does this automatically; the Prisma CLI does not, so\n`scripts/run-with-env.mjs` bridges the gap). It applies every migration and regenerates the client.\n\n### 4. Run\n\n```bash\nnpm run dev\n```\n\nOpen <http://localhost:3000>, go to **Agent**, and create the demo budget.\n\nFor a deployed demo, PayPal return/cancel URLs are derived from the incoming request's\n`x-forwarded-host` / `x-forwarded-proto` headers (so Render, Fly, Vercel, and similar proxies work without\nextra config). Set `APP_BASE_URL` to the public HTTPS URL when you also want canonical store links to use\nthe deployed origin.\n\n### Deploy on Render\n\nThe live demo runs on Render's free tier:\n\n- **Build:** `npm ci && npx prisma generate && npm run build`\n- **Start:** `npx prisma migrate deploy && npm start`\n- **Health check:** `/api/health`\n- **Env:** `DATABASE_URL`, `APP_BASE_URL`, `PAYPAL_CLIENT_ID`, `PAYPAL_CLIENT_SECRET`,\n  `PAYPAL_ENV=sandbox`, `PAYPAL_API_BASE`, `GEMINI_API_KEY`, `NODE_VERSION=22`\n\nMigrations run on every start, so a fresh Render Postgres is provisioned automatically. Free Postgres\ninstances expire after 30 days; point `DATABASE_URL` at a persistent database before then.\n\n---\n\n## Environment variables\n\n| Variable | Required | Purpose |\n| --- | --- | --- |\n| `DATABASE_URL` | Yes | PostgreSQL connection string |\n| `APP_BASE_URL` | Optional | Overrides the request-derived origin for canonical store links; PayPal return URLs fall back to request headers |\n| `PAYPAL_CLIENT_ID` | Yes for payment | PayPal REST app client id |\n| `PAYPAL_CLIENT_SECRET` | Yes for payment | PayPal REST app secret |\n| `PAYPAL_ENV` | No | `sandbox` (default) or `production` |\n| `PAYPAL_API_BASE` | No | Defaults to `https://api-m.sandbox.paypal.com` |\n| `GEMINI_API_KEY` | Optional | Enables the Gemini planner; otherwise deterministic fallback |\n| `GEMINI_MODEL` | No | Defaults to `gemini-3.6-flash` |\n| `EBAY_*`, `FLIPKART_*` | Optional | External search adapters; not required for the demo |\n\nSecrets are server-only. `.env.local` is git-ignored; never commit it.\n\n---\n\n## Demo script (3 minutes)\n\n1. **Home** — state the thesis: the agent proposes, the mandate decides, the human signs, PayPal pays,\n   the ledger proves.\n2. **Agent** — create the $100 demo budget. Paste the example goal. Show the Gemini badge, the three\n   grounded items, and the `ALLOW` evaluation. Send to plan.\n3. **Plan** — approve. Show the consent hash. Point out that changing a quantity would invalidate it.\n4. **Checkout** — start checkout. Show the server-created PayPal sandbox order and approve URL.\n5. **PayPal** — approve with a sandbox buyer account. Return to the app.\n6. **Delivery** — show the license keys on the return page or order detail.\n7. **Control Room** — show spend vs budget, delivery status, and the ledger tail.\n8. **Verify** — open the receipt, show every check green, and explain that the page re-hashes the consent\n   artifact and re-walks the chain instead of trusting a stored boolean.\n\nIf you cannot complete a PayPal approval live, stop after step 4 and show the control room and verifier\nwith the pending order — the consent and ledger checks already pass.\n\n---\n\n## API surface\n\n| Route | What it does |\n| --- | --- |\n| `GET /api/catalog` | Built-in product catalog + PayPal/AI status |\n| `POST /api/demo/bootstrap` | Creates the $100 demo mandate for this session |\n| `POST /api/agent/plan` | Grounded proposal (`commit:false`) or persist reviewed lines (`commit:true`) |\n| `GET/POST /api/plan/items` | Add a catalog listing to the draft plan |\n| `POST /api/plan/approve` | Evaluate the mandate and issue a SHA-256 consent artifact |\n| `POST /api/checkout` | Verify consent, create orders, create PayPal sandbox orders |\n| `POST /api/checkout/paypal/capture` | Verify + capture, fulfill digital goods, append receipts |\n| `GET /api/orders/[id]` | Order, attempts, handoffs, fulfillment |\n| `GET /api/dashboard` | Orders, mandates, ledger, verification, summary |\n| `GET /api/verify?orderId=` | Recompute consent hash and ledger chain for one order |\n| `GET /api/health` | Provider and integration health |\n\n---\n\n## Testing and verification\n\n```bash\nnpm test            # 127 tests, including optional live-Postgres repository tests\nnpm run typecheck\nnpm run lint\nnpm run build\n```\n\nThe repository smoke tests are skipped automatically when `DATABASE_URL` is absent.\n\n---\n\n## Project structure\n\n```\nsrc/\n  app/\n    agent/                 # grounded purchasing agent UI\n    store/                 # built-in digital merchant\n    plan/                  # human review + approval\n    checkout/              # consent-gated checkout + PayPal return\n    dashboard/             # AG Grid control room\n    verify/                # receipt verifier\n    api/                   # route handlers\n  lib/\n    ai/purchase.ts         # Gemini planner + deterministic fallback\n    catalog/products.ts    # 12-product USD catalog\n    mandate/               # policy engine, consent hashing, ledger primitives\n    checkout/router.ts     # PAYPILOT_PAYPAL vs EXTERNAL_CHECKOUT routing\n    db/                    # Prisma repositories, fulfillment, hash-chained ledger\n    providers/paypilot.ts  # built-in merchant with PayPal capability\n  modules/payments/        # PayPal Orders v2 client/config\nprisma/\n  schema.prisma\n  migrations/\n```\n\n---\n\n## Security notes\n\n- PayPal and Gemini credentials are read server-side only.\n- The model never receives payment details and cannot create an order.\n- Every purchase is bound to a human-approved SHA-256 consent artifact.\n- Price, quantity, provider, and freshness are re-checked by the deterministic engine.\n- Checkout refuses changed, expired, consumed, revoked, or tampered consents.\n- Capture is idempotent; a refreshed return URL cannot charge twice.\n- Digital fulfillment is idempotent and only runs for the built-in store after `PAID`.\n- The ledger is append-only from the app’s perspective and verified by recomputation.\n\n## Keywords and topics\n\n`ai-agents` · `agentic-commerce` · `ai-shopping-agent` · `autonomous-agents` · `ai-safety` ·\n`spending-mandates` · `verifiable-consent` · `paypal` · `paypal-sandbox` · `paypal-ai-hackathon` ·\n`nextjs` · `react` · `typescript` · `prisma` · `postgresql` · `google-gemini` · `ag-grid` ·\n`hackathon` · `digital-goods` · `receipt-ledger`\n\n---\n\n## Star the repo\n\nIf PayPilot helps you think about accountable AI agents, give it a ⭐ and share it — it helps more\nbuilders find the demo.\n\n---\n\n## License\n\nMIT License. See [LICENSE](./LICENSE).\n","bugdrop-portfolio":"# BUG DROP — The Superpower Vending Machine\n\n[![CI](https://github.com/dsk-dev-ai/bugdrop-portfolio/actions/workflows/ci.yml/badge.svg)](https://github.com/dsk-dev-ai/bugdrop-portfolio/actions/workflows/ci.yml)\n[![Release](https://img.shields.io/github/v/release/dsk-dev-ai/bugdrop-portfolio)](https://github.com/dsk-dev-ai/bugdrop-portfolio/releases)\n[![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)\n\nA personal portfolio for the **AWS Student Builder Challenge: Build Your Tech Superpower**.\nInstead of listing skills, BUG DROP dispenses the **superpowers I earned from real bugs**:\nevery capsule opens as an incident postmortem (incident → root cause → fix → lesson → the\nproject it made possible).\n\n- **Live site:** https://main.d37v5f104dujlp.amplifyapp.com\n- **Repo:** `https://github.com/dsk-dev-ai/bugdrop-portfolio`\n- **Built with:** HTML, CSS, vanilla JavaScript\n- **Hosted on:** AWS Amplify Hosting (+ optional API Gateway / Lambda / DynamoDB counter)\n\n![BUG DROP architecture](docs/architecture.svg)\n\n## The creative feature\n\n![BUG DROP feature flow](docs/feature-flow.svg)\n\n1. A blinking **\"PULL FOR A SUPERPOWER\"** hint points at the lever.\n2. Pulling the lever shakes the machine and drops a capsule.\n3. The capsule opens an **incident postmortem** card with a real bug, its root cause,\n   the fix, the lesson, and the project that came out of it.\n4. The **third pull unlocks a secret capsule**.\n5. Opened capsules are saved to a **capsule cabinet** with a progress bar, so the\n   collection can be revisited later.\n6. An **unlocked profile** turns the collection into domain bars (Debugging, APIs,\n   Data, Deploy, Frontend, Security, Accessibility, Mindset) as capsules open.\n7. Every postmortem has a **shareable deep link** (`#capsule=c03`) and a copy-link\n   button; the cabinet can open a capsule without pulling again.\n8. **Export unlocked** downloads the opened postmortems as Markdown, and **Reset\n   local progress** replays the machine without touching the AWS counter.\n9. The lever is a real `<button>` and works with mouse, touch, keyboard, and screen readers.\n10. No camera, no permissions, no external API keys — the feature works even if the\n    network API is down.\n\n## Core portfolio sections\n\n- **About Me** — who I am and how I learn.\n- **Skills / Tech Superpowers** — powers framed as things earned, not just listed.\n- **Projects / Achievements** — projects with the bug stories behind them.\n- **Under the hood** — a visible AWS architecture diagram, the service map, and\n  links to the SAM template and deploy runbook.\n\n## Project structure\n\n```text\nbugdrop-portfolio/\n├─ index.html                 # single-page portfolio\n├─ 404.html                   # branded not-found page\n├─ manifest.webmanifest       # installable web app metadata\n├─ assets/\n│  ├─ css/style.css           # theme + responsive layout + animations\n│  ├─ js/config.js            # API base URL + GitHub link (edit this)\n│  ├─ js/core.js              # pure helpers: deep links, cabinet, progress\n│  ├─ js/machine.js           # vending machine + postmortem modal\n│  ├─ js/app.js               # navigation\n│  ├─ js/capsules.json        # ← your bug stories live here\n│  └─ img/\n│     ├─ og-cover.png         # 1200x675 social cover (generated)\n│     ├─ og-cover.svg         # editable source for the cover\n│     ├─ icon.svg             # vector app icon\n│     └─ icon-512.png         # maskable app icon\n├─ backend/\n│  ├─ template.yaml           # AWS SAM: HTTP API + Lambda + DynamoDB\n│  └─ src/\n│     ├─ handler.mjs          # /pull /stats /daily\n│     ├─ lib.mjs              # pure helpers (routing, day-of-year, daily pick)\n│     └─ capsules.json        # mirror used by /daily\n├─ docs/\n│  ├─ architecture.svg        # architecture diagram for the submission\n│  ├─ feature-flow.svg        # bug → superpower flow diagram\n│  ├─ screenshots/            # put your screenshots here\n│  ├─ DEPLOY.md               # Amplify + SAM deployment runbook\n│  ├─ PULL_REQUEST_v1.0.0.md  # release PR description\n│  └─ SUBMISSION.md           # write-up ready to paste into Builder Center\n├─ tests/                     # node:test suite (33 tests)\n├─ .github/\n│  ├─ workflows/ci.yml        # GitHub Actions: tests + lint + links + Lighthouse\n│  └─ PULL_REQUEST_TEMPLATE.md\n├─ amplify.yml                # Amplify Hosting build config\n├─ .nvmrc                     # Node 24 for local/CI parity\n├─ package.json               # dev tooling only (not needed at runtime)\n└─ README.md\n```\n\n## 1. Run locally\n\n```bash\nnpm install\nnpm run serve      # http://localhost:8080\n```\n\nOr with no dependencies:\n\n```bash\npython3 -m http.server 8080\n```\n\n> Open it through a server, not `file://`, so `capsules.json` can be fetched.\n\n## 2. Make it yours\n\nEdit **`assets/js/capsules.json`**:\n\n```json\n{\n  \"capsules\": [\n    {\n      \"id\": \"c01\",\n      \"superpower\": \"The 2AM Debugger\",\n      \"bug\": \"What actually broke.\",\n      \"cause\": \"Why it broke.\",\n      \"fix\": \"How you fixed it.\",\n      \"lesson\": \"What you now always do.\",\n      \"project\": \"What it helped you build.\",\n      \"domain\": \"Debugging\",\n      \"evidence\": \"commit / screenshot / link\"\n    }\n  ],\n  \"secret\": { \"id\": \"secret\", \"superpower\": \"...\", \"bug\": \"...\", \"cause\": \"...\", \"fix\": \"...\", \"lesson\": \"...\", \"project\": \"...\", \"evidence\": \"...\" }\n}\n```\n\nAlso update:\n\n- `index.html` — name, About text, skills, projects, GitHub links.\n- `assets/js/config.js` — `github` URL and, after backend deploy, `apiBase`.\n\n## 3. Deploy to AWS Amplify Hosting (required)\n\nThe full checklist, verification steps, and troubleshooting live in\n**[`docs/DEPLOY.md`](docs/DEPLOY.md)**.\n\n1. Push this folder to a **public** GitHub repository.\n2. AWS Console → **Amplify** → **Create new app** → **Host web app**.\n3. Connect GitHub → choose the repo and the `main` branch.\n4. Amplify reads `amplify.yml` automatically → **Save and deploy**.\n5. Copy the live URL (`https://main.xxxxxxxx.amplifyapp.com`).\n6. Amplify serves the branded `404.html` for unknown paths; no rewrite is needed\n   for this single-page static site.\n7. Optional: **App settings → Previews** to build pull requests, and **Domain management**\n   for a custom domain.\n\nKeep the app running through **November 23** (judging window).\n\n## 4. Optional AWS serverless counter\n\nAdds a real serverless backend to the creative feature: a global \"capsules pulled\"\ncounter and a daily superpower.\n\n> **Managed Builder Center projects:** the “Future Unicorn” project uses a\n> Service Control Policy that denies CloudFormation, Lambda, API Gateway, and\n> DynamoDB creation. SAM cannot deploy there. Submit the Amplify-only site; the\n> counter is optional. Deploy this backend only from a standalone AWS account.\n\n```bash\ncd backend\nsam build\nsam deploy --guided\n# Stack name: bugdrop-api\n# AllowedOrigin: https://main.xxxxxxxx.amplifyapp.com\n```\n\nThen copy the **ApiBaseUrl** output into `assets/js/config.js`:\n\n```js\nwindow.BUGDROP_CONFIG = {\n  apiBase: \"https://abc123.execute-api.us-east-1.amazonaws.com\",\n  github: \"https://github.com/dsk-dev-ai\"\n};\n```\n\nPush again; Amplify redeploys. The machine calls:\n\n| Method | Path | Purpose |\n| --- | --- | --- |\n| `POST` | `/pull` | Atomically increments the global counter |\n| `GET` | `/stats` | Reads the global counter |\n| `GET` | `/daily` | Returns a deterministic \"superpower of the day\" |\n\nIf the API is unreachable, the site silently falls back to a local count — the\ncreative feature never breaks.\n\n### AWS services used (for the write-up)\n\n**Live:**\n- **AWS Amplify Hosting** — build + deploy from GitHub, HTTPS, live URL.\n- **Amazon CloudFront** — global CDN delivered by Amplify.\n- **Amazon S3** — Amplify-managed build artifacts and site assets.\n- **AWS IAM** — Amplify-managed service role.\n- **AWS Budgets** — cost alarm (set this in the console).\n\n**Optional backend (in repo, not deployed in the managed project):**\n- **Amazon API Gateway (HTTP API)** — the `/pull`, `/stats`, `/daily` endpoints.\n- **AWS Lambda (Node.js 24)** — counter and daily logic.\n- **Amazon DynamoDB** — `capsule_stats` table, atomic counter item.\n- **AWS IAM** — least-privilege role generated by SAM.\n- **Amazon CloudWatch** — Lambda logs.\n\n## 5. CI/CD\n\n- **Continuous deployment:** every push to `main` triggers an Amplify build and deploy.\n- **Pull request previews:** enable in Amplify → Previews.\n- **GitHub Actions (`.github/workflows/ci.yml`):**\n  - `html-validate` — HTML correctness and accessibility hints\n  - ESLint — JavaScript\n  - Stylelint — CSS\n  - Linkinator — broken local links\n  - Lighthouse CI — performance, accessibility, best practices, SEO\n\nRun locally:\n\n```bash\nnpm run lint\nnpm test\nnpm run serve\nnpm run links\nnpm run lighthouse\n```\n\n## 6. Tests\n\nThe test suite runs on Node's built-in test runner (no extra dependencies):\n\n```bash\nnpm test\n```\n\nIt checks:\n\n- the capsule dataset schema, unique ids, and the secret capsule (`tests/capsules.test.mjs`)\n- the backend mirror matches the frontend data\n- required sections, the visible hint, and the dialog live region exist in `index.html`\n- every local asset referenced by `index.html` exists\n- deep-link parsing, cabinet progress, domain tallies, Markdown export,\n  deduplication, and capsule lookup (`tests/core.test.mjs`)\n- metadata, the raster social cover (1200×675), the manifest and its icons, the\n  404 page, and the deploy runbook (`tests/site.test.mjs`)\n- `dayOfYear`, `dailyCapsule`, `routeOf`, and `reply` behave correctly (`tests/lib.test.mjs`)\n\n## 7. Submitting\n\nFill the Builder Center **Create a project** form using `docs/SUBMISSION.md`.\nYou need:\n\n- Live AWS URL\n- Public GitHub repo URL\n- Write-up + screenshots (portfolio and AWS implementation)\n- Tags: `aws-amplify`, `javascript`, `serverless`, `aws-lambda`, `student-builders`\n\n## License\n\nMIT — see [LICENSE](LICENSE).\n","sheetcraft":"<p align=\"center\">\n  <img src=\"assets/banner.svg\" alt=\"SheetCraft: the spreadsheet editor rebuilt in pure Rust\" width=\"100%\">\n</p>\n\n# SheetCraft\n\n[![Latest release](https://img.shields.io/github/v/release/dsk-dev-ai/sheetcraft)](https://github.com/dsk-dev-ai/sheetcraft/releases/latest)\n\nAn open-source spreadsheet editor written from scratch in pure Rust.\n\n**Fast. Offline. Private. One binary. No account, no subscription, no telemetry.**\n\nSheetCraft aims to be the spreadsheet people reach for when they want Excel-class\nediting without a cloud account or a 500 MB office suite: native performance,\ninstant startup, full local ownership of every file.\n\n## Why this exists\n\n- Spreadsheet work is still dominated by cloud-first tools that require accounts\n  and upload private financial data.\n- Existing desktop suites are large, slow to start, and carry decades of legacy.\n- The \"clean-room, pure Rust\" approach already proved it can win attention for\n  photo, PDF, video, and word editors. A spreadsheet is the largest remaining gap.\n\n## Status\n\nEarly core engine. The repository currently ships:\n\n- A cell model with typed values (number, text, boolean, error)\n- A formula parser and evaluator with arithmetic, cell refs, ranges, and\n  `SUM` / `AVERAGE` / `MIN` / `MAX`\n- Cycle detection for circular references\n- CSV import and export with quoted fields, commas, and embedded newlines\n- XLSX import of all worksheets and their names, preserving supported formulas\n- XLSX export of multiple sheets with formulas, numbers, booleans, text, and\n  cell formatting\n- A native desktop app with a virtualized grid, formula bar with reference\n  highlighting, range selection, keyboard navigation, copy and paste, and undo\n  and redo\n- Number formats, bold text, text colors, cell fills, and cell borders in the\n  desktop app, exported to XLSX\n- Resizable columns and rows in the desktop app, exported to XLSX\n- Multiple sheets with tabs to add, switch, and delete sheets\n- Row sorting and text filtering in the desktop app; filters hide rows without\n  changing saved data\n- Bar and line charts from a selected range, with view-only chart windows\n- Frozen rows and columns in the desktop app, exported to XLSX\n- A small CLI for evaluating formulas, previewing workbooks, and converting\n  CSV to XLSX\n- Unit tests for parsing, evaluation, and file round trips\n\nXLSX import preserves values, sheet names, and supported formulas; visual\nformatting and freeze panes are applied in the app and included when exporting\nto XLSX, but are not restored when importing. Charts and filters are view-only\nand are not exported.\n\n## Download\n\nPrebuilt CLI and desktop binaries for Linux, macOS, and Windows are on the\n[releases page](https://github.com/dsk-dev-ai/sheetcraft/releases/latest).\nUnpack the archive and run `sheetcraft` for the CLI or `sheetcraft-gui` for the\ndesktop app.\n\n## Quick start\n\n```bash\ncargo run --features gui --bin sheetcraft-gui\n\ncargo run -- demo\ncargo run -- eval '=SUM(A1:A3) * 2'\ncargo run -- csv examples/budget.csv\ncargo run -- xlsx path/to/workbook.xlsx\ncargo run -- convert examples/budget.csv /tmp/budget.xlsx\ncargo test\n```\n\nThe GUI opens with a small sample sheet. Type a path in the file field and use\nOpen or Save to load and store CSV or XLSX workbooks. Start typing to edit a\ncell, or use double-click or F2 to edit the current value. Arrow keys move the\nselection, Shift+arrows or Shift+click selects a range, Enter applies and moves\ndown, Escape cancels, Delete clears the selection, and Ctrl/Cmd+C, V, Z, and\nShift+Z copy, paste, undo, and redo. The formatting bar applies bold, text and\nfill colors, borders, and number formats to the current selection; Ctrl/Cmd+B\ntoggles bold. Drag a column or row header edge to resize it. Use the Data bar\nto sort by the active column, filter rows by text, create a chart from the\nselection, or freeze rows above and columns left of the active cell;\nsingle-cell selections chart the used range. Filters and charts are view-only.\nUse the sheet tabs above the status bar to switch sheets, or add and delete\nsheets with the + and Delete buttons.\n\n![SheetCraft desktop app](assets/screenshot.png)\n\n## Roadmap\n\nSee [ROADMAP.md](ROADMAP.md).\n\n- v0.1 Core engine and CLI (done)\n- v0.2 CSV and XLSX import/export (done)\n- v0.3 Native GUI with a virtualized grid (done)\n- v0.4 Formatting, charts, and multi-sheet workbooks\n- v1.0 Stable release and launch\n\n## Design principles\n\n1. **Local-first.** Files stay on disk. No network calls in the default build.\n2. **Instant.** Release-build cold start under 300 ms, even on large workbooks.\n3. **Correct.** Formula results are tested against reference spreadsheets.\n4. **Small.** A single self-contained binary, no runtime install.\n5. **Open.** MIT licensed, no open-core bait-and-switch.\n\n\n## License\n\nMIT\n","ghost-data-still-exists":"# HackerRank Orchestrate - October 2026\n\n## Ghost Data Still Exists\n\nBuild an AI agent that audits whether a user's personal data was actually deleted.\n\nA deletion workflow may report **Complete** while data still exists in databases, logs, support attachments, exports, search indexes, archives, or backups. Sync and restore processes may also bring deleted data back.\n\nFor each request, the agent must first determine whether deletion was actually requested. It then returns `COMPLETE`, `INCOMPLETE`, or `NOT_APPLICABLE`, reports any remaining data or recreation risk, and produces the ordered remediation and verification steps required to finish an authorized deletion safely.\n\nRead [`problem_statement.md`](./problem_statement.md) for the complete challenge contract.\n\n## Live Demo\n\n**Live demo:** https://ghost-data-still-exists-demo.onrender.com (Gemini explanations enabled)\n\nThe demo is deployed on Render's free tier from\n[`dsk-dev-ai/ghost-data-still-exists`](https://github.com/dsk-dev-ai/ghost-data-still-exists)\nusing [`render.yaml`](./render.yaml). It browses all 518 cases, shows findings and\nremediation steps, and can explain any case with Gemini when `GEMINI_API_KEY` is\nconfigured. See [`README_DEMO.md`](./README_DEMO.md) for local and Render setup.\n\n---\n\n## Quick Start\n\nClone the repository and move into the project directory:\n\n```bash\ngit clone https://github.com/interviewstreet/hackerrank-orchestrate-october26.git\ncd hackerrank-orchestrate-october26\n```\n\nStart your AI coding tool from the **repository root** so it automatically reads [`AGENTS.md`](./AGENTS.md) and logs your session turns to `log.txt` in the root directory.\n\nBuild your solution in `code/main.py`, or use another language and document its setup and run command clearly in your README.\n\nYour solution must:\n\n- Read the input files from `dataset/`\n- Generate one prediction row for every request in `dataset/deletion_requests.csv`\n- Write the final predictions to `output.csv` in the repository root\n\nRun the starter Python entry point with:\n\n```bash\npython3 code/main.py\n```\n\nThe blank template at `dataset/output.csv` is provided as a reference. Your final generated file for submission must be the root-level `output.csv`.\n\n\n## Dataset\n\nAll participant-facing files are in `dataset/`:\n\n| File | Contents |\n| --- | --- |\n| `deletion_requests.csv` | 518 requests |\n| `sample_deletion_requests.csv` | 32 sample requests |\n| `sample_output.csv` | Correct sample answers |\n| `user_identities.csv` | Current user identities |\n| `user_audit_log.csv` | Historical identity changes |\n| `system_activity.csv` | Activity across services and data processes |\n| `deletion_rules.csv` | Required treatment for each data category |\n| `evidence_files.csv` | Manifest of supplied evidence files |\n| `output.csv` | Blank output template |\n\nEvidence is stored under `dataset/evidence/` and may include PDFs, images, logs, JSON, plain text, or SQL snapshot exports. SQL captures may contain a primary database, regional replicas, a reporting replica, or a failover replica so replication drift can be investigated directly. The `.sql` files are readable as text and executable with SQLite.\n\nOnly `deletion_requests.csv` requires answers. The other files provide evidence and context.\n\n---\n\n## Output\n\nCreate `output.csv` with these columns in this exact order:\n\n```text\ncase_id,deletion_status,steps_json\n```\n\nProduce exactly one row per request. `deletion_status` is `COMPLETE`, `INCOMPLETE`, or `NOT_APPLICABLE`. `steps_json` is an ordered JSON array containing findings, remediation actions, and verification checks. Use an empty array (`[]`) for `NOT_APPLICABLE`. Evidence references may be a `file_id`, `activity_id`, or `audit_id`. Determine the resource state at `audit_at` from the available evidence; reported workflow statuses and operation results are claims. Use `dataset/sample_output.csv` as the format reference.\n\nThe final file must contain 518 data rows sorted by `case_id` (plus the header row). The grader parses `steps_json` as JSON, so object-key order and whitespace do not matter; array order does. Order findings, remediation, and verification in that phase order. Within a phase, follow the operation order in the problem statement, then sort by `system_id` and `resource_id`.\n\n---\n\n## Evaluation\n\n`output.csv` will be compared with hidden canonical answers. Scoring considers:\n\n- deletion assessment accuracy;\n- current and historical identity resolution;\n- discovery of remaining data and recreation risks;\n- correct policy application and evidence references; and\n- completeness and ordering of remediation and verification steps.\n\nYour `code.zip` must include:\n\n```text\ncode/evaluation/evaluation_report.md\ncode/evaluation/usage_report.md\n```\n\n- `evaluation_report.md` must cover case, row, field, and sequence accuracy, at least three additional evaluation cases created by you, failures found, and improvements made.\n- `usage_report.md` must cover the final full-dataset run, including model providers and names, model calls, input and output tokens, total and average tokens per request, and estimated total and per-request cost. Include per-model and overall totals when using multiple models.\n\n**Important:** Place `evaluation_report.md` and `usage_report.md` inside `code/evaluation/` (matching `code/evaluation/main.py` in this starter layout), write your complete evaluation metrics, custom evaluation test cases, and token/cost breakdowns directly inside those Markdown files, and keep prompts in source code or Markdown files. Automated code evaluation ignores raw data files (`.csv`, `.tsv`, `.json`, `.jsonl`, `.sql`, `.log`), so content stored only in those formats will not be visible to the code judge or AI interviewer.\n\n---\n\n## Chat Transcript\n\nThis repository includes [`AGENTS.md`](./AGENTS.md), which instructs compatible AI coding tools to append conversation summaries to `log.txt` in the repository root:\n\n| Platform | Path |\n| --- | --- |\n| macOS / Linux | `<repo root>/log.txt` |\n| Windows | `<repo root>\\log.txt` |\n\n- Always launch your AI coding agent from the repository root (or explicitly ask it to read `./AGENTS.md` first) so every turn is logged to `log.txt` with the required `User Prompt`, `Agent Response Summary`, `Actions`, and `Context` sections.\n- Upload `log.txt` directly as your `chat_transcript` submission on HackerRank.\n- Do not include API keys, tokens, credentials, or secrets in prompts, code, configuration, or `log.txt`.\n\n---\n\n## Packaging `code.zip` and Submission\n\n| Item | Description |\n| --- | --- |\n| `code.zip` | Runnable solution, prompts, configuration, `README.md`, and `evaluation/` reports |\n| `output.csv` | One answer row for each of the 518 requests in `dataset/deletion_requests.csv` |\n| `chat_transcript` | The root `log.txt` file generated by your coding agent |\n| AI interview | Live explanation of your architecture, approach, and evaluation |\n\nYou may use any programming language, model, framework, or retrieval approach. Include clear setup and execution instructions in `README.md` inside `code.zip`.\n\nTo package `code.zip` from the repository root without bundling the dataset:\n\n**macOS / Linux:**\n\n```bash\nzip -r code.zip README.md code -x \"*/__pycache__/*\" \"*/.venv/*\" \"*/venv/*\" \"*/node_modules/*\" \"*/.git/*\" \"*/.DS_Store\"\n```\n\n**Windows (PowerShell):**\n\n```powershell\nCompress-Archive -Path README.md, code -DestinationPath code.zip -Force\n```\n\nWhen packaging `code.zip`:\n\n- Keep your evaluation reports in `code/evaluation/` so they are bundled automatically with `code` (or add `evaluation` to the archive command above if you placed them in a top-level `evaluation/` directory).\n- Do **not** include `dataset/`, virtual environments (`.venv`, `venv`, `node_modules`), or build caches (`__pycache__`). On Windows, keep `.venv` at the repository root (outside `code/`) and remove any `code/__pycache__` folders before running `Compress-Archive`.\n- Do **not** include nested archives (`.zip`, `.tar`, `.gz`, `.tgz`, `.7z`, `.rar`) inside `code.zip` — submissions containing nested archive files will be rejected.\n\nBefore submitting, confirm that:\n\n- `output.csv` has the exact header `case_id,deletion_status,steps_json` and contains all 518 data rows sorted by `case_id`;\n- every `steps_json` value is a valid JSON array with consecutive step numbers starting at `1`;\n- findings cite valid evidence IDs, and `COMPLETE` verification steps cite evidence proving the current state;\n- proposed remediation and future verification steps use an empty `evidence_id` (`\"\"`);\n- `code.zip` includes your runnable code, `README.md`, `code/evaluation/evaluation_report.md`, and `code/evaluation/usage_report.md`;\n- `log.txt` follows the `AGENTS.md` turn format and is uploaded to the `chat_transcript` slot; and\n- no API keys, credentials, real personal data, or sensitive configuration values are included.\n","meshery-designs":"# Meshery Designs — AI-Native Platform\n\n[![CI](https://github.com/dsk-dev-ai/meshery-designs/actions/workflows/ci.yml/badge.svg)](https://github.com/dsk-dev-ai/meshery-designs/actions/workflows/ci.yml)\n[![License: Apache-2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](LICENSE)\n[![Release](https://img.shields.io/github/v/release/dsk-dev-ai/meshery-designs.svg)](https://github.com/dsk-dev-ai/meshery-designs/releases)\n\nA research-grade, deterministic Meshery design that models an **AI-native platform** — fully specified, validated offline, and proven to **deploy and run** on a real Kubernetes cluster.\n\n## Why this repo?\n\n- **Proven deployment:** 40/40 components apply with zero failures on a real `kind` cluster. All four workload pods (`meshery-control`, `otel-collector`, `sts-redis`, `sts-postgres`) reach `1/1`.\n- **Deterministic by construction:** regenerating from `spec_data.py` + `gen.py` yields a byte-identical `generated/design.yml`.\n- **Reproducible validation:** 28 structural checks + strict Draft-07 schema gate pass; CI re-fetches pinned Meshery models/schemas and re-verifies byte-identity.\n- **Production-minded:** real, publicly pullable workload images; minimal, admission-valid configuration. See [ADR-015](spec/ARCHITECTURAL_DECISIONS.md#adr-015--admission-valid-configuration-with-real-workload-images).\n- **Upstream contribution:** a new **`gateway-api`** model (Gateway API v1.6.3) was contributed to Meshery ([meshery/meshery#22452](https://github.com/meshery/meshery/pull/22452)). See [ADR-016](spec/ARCHITECTURAL_DECISIONS.md#adr-016--contribute-a-gateway-api-model-upstream).\n\n## Design at a Glance\n\n| Metric | Value | Notes |\n|---|---|---|\n| **Components (total)** | 66 | 40 native + 26 annotation |\n| **Relationships** | 113 | 61 semantic + 52 annotation |\n| **Selectors / Patches** | 226 / 166 | generated deterministically |\n| **Namespace mutators** | 31 | hierarchical `ns_of` edges |\n| **Models referenced** | 4 | `kubernetes`, `meshery-core`, `meshery-operator`, `kube-prometheus-stack` |\n| **Namespaces** | 4 | `ns-ai-control`, `ns-ai-runtime`, `ns-ai-state`, `ns-ai-observability` |\n\nThe 40 native components (annotations describing intent omitted):\n\n```mermaid\nflowchart LR\n  subgraph cluster[\"Cluster scope\"]\n    NSC[\"Namespaces<br/>control · runtime · state · observability\"]\n    PCCC[\"pc-ai-critical<br/>PriorityClass\"]\n    VAPC[\"vap-required-labels<br/>+ vapb-ai-runtime\"]\n    NETC[\"netpol-default-deny<br/>netpol-ai-allowlist\"]\n  end\n\n  subgraph ctl[\"ns-ai-control\"]\n    ING[\"ingress-ai-platform\"]\n    SVC[\"svc-meshery-control\"]\n    DEP[\"deploy-meshery-control\"]\n    SEC1[\"sec-broker-endpoint<br/>sec-registry-creds\"]\n    RBAC1[\"sa / role / rb-ai-control\"]\n    OPS1[\"broker · meshsync\"]\n  end\n\n  subgraph run[\"ns-ai-runtime\"]\n    CM[\"cm-agent-runtime<br/>cm-model-router\"]\n    QL[\"quota-ai-runtime<br/>limits-ai-runtime\"]\n  end\n\n  subgraph st[\"ns-ai-state\"]\n    SVCS[\"svc-postgres · svc-redis\"]\n    STS[\"sts-postgres · sts-redis\"]\n    PVC[\"pvc-postgres · pvc-redis\"]\n    PDB[\"pdb-sts-postgres<br/>pdb-sts-redis\"]\n    SEC2[\"sec-state-creds<br/>sa / role / rb-ai-state\"]\n  end\n\n  subgraph obs[\"ns-ai-observability\"]\n    OTEL[\"otel-collector\"]\n    PROM[\"prometheus\"]\n    RULE[\"promrule-platform-slo\"]\n    AM[\"alertmanager\"]\n    SM[\"sm-platform\"]\n  end\n\n  ING --> SVC --> DEP\n  CM --> DEP\n  SEC1 --> DEP\n  SVCS --> STS\n  PVC --> STS\n  PDB --> STS\n  SEC2 --> STS\n  PCCC --> STS\n  PROM --> SM\n  SM --> SVC\n  SM --> SVCS\n  PROM --> RULE\n  PROM --> AM\n```\n\n## Quickstart\n\n**Prerequisites:** Python 3.10+, `kubectl`, `docker`, a local Meshery server (`mesheryctl`) or access to a Kubernetes cluster with Meshery context, and the design's native CRDs (`kube-prometheus-stack`, `meshery-operator`) installed.\n\n### 1. Clone and inspect\n\n```bash\ngit clone https://github.com/dsk-dev-ai/meshery-designs.git\ncd meshery-designs\ncat generated/design.yml | head -15\n```\n\n### 2. Regenerate (deterministic)\n\n```bash\npython3 validation/tools/gen.py generated/design.yml\n```\n\n### 3. Validate offline\n\n```bash\nexport MESHER_MODELS_ROOT=/home/dsk/opensource_new_programs/meshery/models\nexport MESHER_SCHEMAS=/home/dsk/go/pkg/mod/github.com/meshery/schemas@v1.3.37/schemas/constructs\npython3 validation/tools/verify.py generated/design.yml\npython3 validation/tools/gate1.py  generated/design.yml /tmp/gate1\nbash tests/run_all.sh\n```\n\nAll three must be green.\n\n### 4. Deploy to a live cluster (proven)\n\n```bash\nbash deploy.sh\n```\n\n`deploy.sh` regenerates, runs offline gates, deploys via a local Meshery server, and asserts **40/40** components apply with zero failures. On success, it prints the applied inventory. All workload pods reach `1/1`. See [GATE9-REPORT.md](validation/GATE9-REPORT.md).\n\n## Repository Layout\n\n```text\ngenerated/     Generated Meshery design artifact (do not edit by hand)\nspec/          Architectural decisions, components, and spec data\nvalidation/    Gates, tooling (gen.py, verify.py, gate1.py), reports\ndocs/          User-facing docs: QUICKSTART, ARCHITECTURE, VALIDATION, TROUBLESHOOTING, PLAYING_WITH_MESHERY\ntests/         Reproducibility harness\nreports/       Research/reconnaissance material\ndeploy.sh      End-to-end deploy + verification script\n```\n\n## Documentation\n\n- [Architecture](docs/ARCHITECTURE.md) — system structure, namespaces, models\n- [Design](docs/DESIGN.md) — the `ai-native-platform` design details\n- [Validation](docs/VALIDATION.md) — all gates explained\n- [Quickstart](docs/QUICKSTART.md) — step-by-step usage\n- [Playing with Meshery](docs/PLAYING_WITH_MESHERY.md) — live server exercise + policy evaluation evidence\n- [TROUBLESHOOTING](docs/TROUBLESHOOTING.md) — common issues\n- [Architectural Decisions](spec/ARCHITECTURAL_DECISIONS.md) — ADR-001 through ADR-016\n\n## CI, Artifacts, and Versioning\n\n- **CI:** `.github/workflows/ci.yml` runs an **artifact-integrity** job (no external deps) and a **reproduce-from-pinned-catalog** job (rebuilds from pinned models/schemas and asserts byte-identity). All jobs must pass.\n- **Determinism:** `generated/design.yml` md5 is stable. Any PR that changes it must include the regenerated output from the same spec.\n- **Releases:** [Releases](https://github.com/dsk-dev-ai/meshery-designs/releases) include `generated/design.yml` as an asset. Current: **v1.1.0** ([release notes](https://github.com/dsk-dev-ai/meshery-designs/releases/tag/v1.1.0)).\n- **Upstream:** Gateway API model contributed to [meshery/meshery#22452](https://github.com/meshery/meshery/pull/22452) (open as of v1.1.0).\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md). **Never edit `generated/design.yml` by hand** — change `spec/` or `validation/tools/spec_data.py` + `gen.py`, regenerate, and run all gates. DCO sign-off is required.\n\n## Meshery Community\n\nJoin the Meshery community to learn, contribute, and grow with cloud native practitioners.\n\n- [#newcomers in Slack](https://slack.meshery.io/) — Introduce yourself and meet others.\n- [Community Handbook](https://docs.meshery.io/project/community) — Overview of how the community works.\n- [Community Calendar](https://meshery.io/calendar) — Join meetings and events.\n- [Community YouTube](https://www.youtube.com/@mesheryio) — Watch recordings and tutorials.\n- [Meshery Playground](https://play.meshery.io/) — Explore cloud native concepts and Kubernetes in your browser.\n- [Meshery Catalog](https://meshery.io/catalog) — Browse and publish designs to the Meshery Catalog.\n- [Contributor Training](https://docs.meshery.io/project/contributing) — Self-paced training for contributors.\n- [Become a Certified Meshery Contributor (CMC)](https://meshery.io/certification) — Validate your technical proficiency.\n\n## License & Notices\n\n- [Apache-2.0 License](LICENSE)\n- [NOTICE](NOTICE)\n- [CHANGELOG](CHANGELOG.md)\n","distrlab":"<div align=\"center\">\n\n# DistrLab\n\n**Break a live distributed system — right in your browser.**\n\nSimulate cache stampedes, queue backpressure, rate limiting, load-balancing\nstrategies, network partitions and replica lag in real time. Flip the switches,\nwatch latency, throughput, errors and queue depth react — then read the\nplain-language explanation of *why*.\n\n[Try it live](https://distrlab.onrender.com) ·\n[Releases](https://github.com/dsk-dev-ai/distrlab/releases) ·\n[Report a bug](https://github.com/dsk-dev-ai/distrlab/issues)\n\n![live](https://img.shields.io/website?url=https%3A%2F%2Fdistrlab.onrender.com&label=live%20on%20render&color=success)\n![release](https://img.shields.io/github/v/release/dsk-dev-ai/distrlab?label=release)\n![stars](https://img.shields.io/github/stars/dsk-dev-ai/distrlab?color=gold)\n![license](https://img.shields.io/github/license/dsk-dev-ai/distrlab)\n![svelte](https://img.shields.io/badge/Svelte_5-FF3E00?logo=svelte&logoColor=white)\n![typescript](https://img.shields.io/badge/TypeScript-3178C6?logo=typescript&logoColor=white)\n![vite](https://img.shields.io/badge/Vite-646CFF?logo=vite&logoColor=white)\n\n**Status:** v1.1.0 — live on Render, in review as a PR. Circuit breaker + two smarter\nLB strategies join the seven original scenarios. 100% in the browser: no backend, no LLM,\nno paid API, no tracking. Everything runs inside a Web Worker on a static page — works\noffline, deployable to any static host.\n\n</div>\n\n## Why DistrLab?\n\n| Pain point | DistrLab solves it |\n|---|---|\n| Static diagrams that you just nod along to | A **live topology you can actually break** — every toggle moves real latency, error and throughput numbers |\n| Tutorials that only show the happy path | **Eight failure scenarios**: stampede, backpressure, throttling, LB skew, partition, stale replicas, a tripping circuit breaker |\n| \"I get it\" fading an hour later | **Hands-on memory** — break it, watch it recover, then re-check yourself |\n| Trusting that health checks / least-inflight work | **See requests reroute around a dead instance in real time** |\n| Taking load balancers on faith | **Round-robin vs random vs P2C vs least-latency** head-to-head against a weak instance |\n| Paid doorstopper simulators | Free, offline, no signup — a Svelte 5 + Canvas + Web Worker static page |\n\n## Contents\n\n- [A taste of the action](#a-taste-of-the-action)\n- [Scenarios](#scenarios)\n- [Controls](#controls)\n- [How the simulation works](#how-the-simulation-works)\n- [Development](#development)\n- [Deploy](#deploy)\n- [Roadmap](#roadmap)\n- [Support](#support)\n- [License](#license)\n\n## A taste of the action\n\nA healthy, idle playground — p95, throughput, capacity, queues and cache hit\nratio all visible at a glance:\n\n![healthy playground](media/distrlab-playground.png)\n\nSame cache expiry, **single-flight off**: every request herds at the origin and\nthe catalog service melts down:\n\n![cache stampede: expired cache without single-flight melts down the catalog service](media/distrlab-stampede.png)\n\nThe same expiry with **single-flight on**: waiters coalesce at the cache and the\ncatalog stays idle:\n\n![the same expiry with single-flight on: waiters coalesce, the catalog stays idle](media/distrlab-coalesced.png)\n\nA real run, compressed — expire the cache, watch it recover:\n\n![Demo](media/distrlab-demo.gif)\n\n## Scenarios\n\n| # | Scenario | The lesson |\n|---|----------|-----------|\n| 1 | Playground | A healthy baseline: p95, throughput, capacity, queues, cache hit ratio |\n| 2 | Cache stampede | Turning off single-flight near a TTL expiry herds every request at the origin |\n| 3 | Queue backpressure | Shallow queues shed fast; deep queues trade errors for latency (both hurt) |\n| 4 | Rate limiting | A token bucket in front of the service protects it, at the cost of 429s |\n| 5 | Load balancer strategies | Round-robin vs random vs least-inflight vs sticky vs P2C vs least-latency under skew and failure |\n| 6 | Network partition | A cut link stops traffic; health checks + least-inflight route around it |\n| 7 | Replication lag | Reading a replica is fast and stale; tune the lag and watch stale reads |\n| 8 | Circuit breaker | A breaker in front of a flaky dependency: slow timeouts → instant 503s, then probe back to health |\n\n## Controls\n\n- **Buttons in the header** switch scenarios, reset, pause, and set sim speed (space / `R` / `1`–`8` keyboard shortcuts).\n- **The graph** is the live topology — click a node to open the Inspector, drag to rearrange, scroll to zoom, drag the background to pan.\n- **Knobs** in the sidebar change arrival rate, capacities, queue limits, TTL, single-flight, LB strategy, health checks, timeouts, replica lag, fault windows, and the breaker's trip threshold / cooldown / probe limit.\n- **Inspector** can crash / restart a service, expire a cache, slow an instance, partition/repair links, and trip or reset the circuit breaker by hand.\n- **Charts** (bottom) track p95, throughput, error rate, queue depth, and cache hit ratio over time; the **insights panel** explains what's currently wrong.\n\n## How the simulation works\n\nA discrete-time queueing model ticks every 20 ms of simulated time (player time\nis scaled 1×/2×/4×). Requests are small objects that carry latency, are counted\nagainst windows, drain through queues, wait in `proc` slots for a service time\ndrawn from a log-normal distribution, and eventually complete or fail with\n`timeout | rejected | throttled | conn | crashed`.\n\n- **Services** have capacity (rps) and queue limits; over their limit they reject with 503.\n- **Client timeouts** kill in-flight requests; a request that dies mid-route still credits the target's error slice.\n- **Health checks** use an error-rate EMA with probe fallback; unhealthy nodes are pulled from LB rotation and get probed once per second, and their health recovers (decays) once the outage ends — so recovery is automatic.\n- **Least-inflight** counts what's *actually* waiting — including requests still travelling across the network, so a silent hole (partition) repels traffic. **P2C** picks the less loaded of two random candidates; **least-latency** prefers the node with the lowest response-time EMA.\n- **Circuit breaker** trips OPEN above a recent error-rate threshold, fast-fails with 503, goes half-open after a cooldown, and closes once its limited probes succeed.\n- **Cache** write-misses coalesce when single-flight is on; expiry refills the window.\n- **Rate limiters** are token buckets refilled per tick.\n- **Replica reads** are always served, but carry the configured staleness lag.\n\n## Development\n\n```bash\nbun install\nbun test         # headless engine tests (no browser needed)\nbun run dev      # vite dev server\nbun run check    # svelte-check (types + a11y)\nbun run build    # production build → dist/\nbun run preview  # serve the build locally\n```\n\nThe engine is framework-agnostic (`src/sim/engine.ts`) and runs headless in a\nWeb Worker (`src/sim/worker.ts`); the UI (`src/App.svelte`, `src/lib/`) is a\nthin canvas + Svelte skin over the snapshots it emits. Deploy `dist/` anywhere\nthat serves static files — set the SPA fallback if your host needs it.\n\n## Deploy\n\nOne free Render static site hosts the app — no backend to run:\n\n```yaml\n# render.yaml — already in this repo\nruntime: static\nbuildCommand: npm install && npm run build\npublishPath: dist\n```\n\nOr push the button course: Render → **New → Blueprint** → connect this repo →\n**Deploy**. AutoDeploy is on, so every push to `main` rebuilds.\n\n**Honest note:** `dist/` is 100% static with no server-side logic, so it can be\ndropped onto any static host (GitHub Pages, Netlify, Cloudflare Pages…) — the\nSPA fallback is the only host-specific thing to configure.\n\n## Roadmap\n\n- [x] v1.0.0 — live playground, 7 scenarios, inspector, charts, insights\n- [x] v1.1.0 — circuit breaker + scenario, P2C and least-latency LB strategies, engine test suite\n- [ ] v1.2.0 — chaos & retries: backoff with jitter, fault scheduler, per-request work log\n- [ ] v1.3.0 — share & export: scenario URLs, layouts, PNG/GIF export\n- [ ] v2.0.0 — beyond the single request path: sagas, quorum/consensus, multi-region, leader election\n\nSee [ROADMAP.md](ROADMAP.md) for the full version-wise plan.\n\n## Support\n\nBuilt by [@dsk-dev-ai](https://github.com/dsk-dev-ai). If DistrLab saves you an\nhour of debugging your own systems — sponsor it:\n\nhttps://github.com/sponsors/dsk-dev-ai\n\n## License\n\nApache-2.0. See [LICENSE](LICENSE).","hunteros":"# hunteros\n\n### Repository intelligence platform for white-box security research, architecture analysis, and AI-assisted code review.\n\n[![CI](https://img.shields.io/github/actions/workflow/status/dsk-dev-ai/hunteros/ci.yml?branch=main&label=CI)](https://github.com/dsk-dev-ai/hunteros/actions/workflows/ci.yml)\n[![Lint](https://img.shields.io/github/actions/workflow/status/dsk-dev-ai/hunteros/lint.yml?branch=main&label=Lint)](https://github.com/dsk-dev-ai/hunteros/actions/workflows/lint.yml)\n[![Release](https://img.shields.io/github/actions/workflow/status/dsk-dev-ai/hunteros/release.yml?branch=main&label=Release)](https://github.com/dsk-dev-ai/hunteros/actions/workflows/release.yml)\n[![TypeScript](https://img.shields.io/badge/TypeScript-3178c6?logo=typescript&logoColor=white)](https://www.typescriptlang.org)\n[![License](https://img.shields.io/github/license/dsk-dev-ai/hunteros)](LICENSE)\n\n> **work in progress** — monorepo scaffolded with 22 packages, 3 apps, and 9 security rule packs.\n> Core rule packs (Express, GraphQL, JWT, Auth, Database, Filesystem) are already in `rules/`.\n\n---\n\n## What it does\n\nHunterOS ingests a repository and turns it into a map an AI (and a human) can reason over:\n\n- **Scan & parse** — repository indexing, AST parsing, dependency and lockfile analysis.\n- **Detect & audit** — vulnerability detectors, dependency audits, and config audits (Docker,\n  CI/CD, K8s, nginx, Apache, env files, `package.json`, lockfiles).\n- **Architecture view** — builds a dependency graph of the codebase for architecture analysis.\n- **Assisted review** — surfaces findings to the CLI, API, or dashboard with AI reasoning hooks.\n\n## Packages\n\n| Package | Purpose |\n| --- | --- |\n| `@hunteros/core` | Core engine |\n| `@hunteros/cli` | Command-line interface |\n| `@hunteros/dashboard` | Web dashboard |\n| `@hunteros/scanner` | Repository scanning |\n| `@hunteros/parser` | Indexing & parsing |\n| `@hunteros/ast` | AST utilities |\n| `@hunteros/analyzers` | Static analyzers |\n| `@hunteros/detectors` | Vulnerability detectors |\n| `@hunteros/repository` | Repo model & state |\n| `@hunteros/graph` | Dependency graph |\n| `@hunteros/config-audit` | Docker / CI/CD / K8s / env config checks |\n| `@hunteros/dependency-audit` | Lockfile & dependency checks |\n| `@hunteros/environment` | OS / toolchain / runtime detection |\n| `@hunteros/ai` | AI-assisted analysis & review |\n| `@hunteros/reports` | Report generation |\n| `@hunteros/telemetry` | Telemetry |\n\nPlus `core`, `cache`, `framework-detectors`, `plugins`, `tools`, `logger`, `shared`, `config`.\n\n## Rule packs (`rules/`)\n\nSigned & versioned security rule packs shipped separately from the engine:\n\n- Auth, Custom, Database, Express, Filesystem, GraphQL, JWT, API, …\n\n## Getting started\n\n```bash\npnpm install\npnpm dev        # turbo dev\npnpm test       # vitest across packages\npnpm lint       # biome check .\npnpm typecheck  # turbo typecheck\n```\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md), [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md), and\n[SECURITY.md](SECURITY.md). Releases use Changesets.\n\n## License\n\n[MIT](LICENSE)","algorithm-discovery-engine":"<div align=\"center\">\n\n# algorithm-discovery-engine\n\n**One catalog, four languages, zero dependencies — and a synthesizer that rediscovers the algorithms for you.**\n\n[![CI](https://github.com/dsk-dev-ai/algorithm-discovery-engine/actions/workflows/ci.yml/badge.svg)](https://github.com/dsk-dev-ai/algorithm-discovery-engine/actions/workflows/ci.yml)\n[![Stars](https://img.shields.io/github/stars/dsk-dev-ai/algorithm-discovery-engine?style=flat-square&logo=github&logoColor=white)](https://github.com/dsk-dev-ai/algorithm-discovery-engine)\n[![Forks](https://img.shields.io/github/forks/dsk-dev-ai/algorithm-discovery-engine?style=flat-square&logo=github&logoColor=white)](https://github.com/dsk-dev-ai/algorithm-discovery-engine/forks)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=flat-square)](https://opensource.org/licenses/MIT)\n[![Last commit](https://img.shields.io/github/last-commit/dsk-dev-ai/algorithm-discovery-engine?style=flat-square&logo=git&logoColor=white)]()\n[![Docs](https://img.shields.io/badge/docs-live-blue?style=flat-square&logo=materialformkdocs&logoColor=white)](https://dsk-dev-ai.github.io/algorithm-discovery-engine/)\n[![GHCR](https://img.shields.io/badge/container-ghcr.io-lightgrey?style=flat-square&logo=docker&logoColor=white)](https://github.com/dsk-dev-ai/algorithm-discovery-engine/pkgs/container/algorithm-discovery-engine)\n[![GUI](https://img.shields.io/badge/available-gui_tkinter-blueviolet?style=flat-square)](#desktop-gui)\n[![Sponsor](https://img.shields.io/badge/%E2%9D%A4%EF%B8%8F-Sponsor-red?style=flat-square&logo=githubsponsors&logoColor=white)](https://github.com/sponsors/dsk-dev-ai)\n\n**Python** · **Java** · **C++** · **Rust**\n\n<img src=\".github/social-preview.png\" alt=\"algorithm-discovery-engine social preview\" width=\"100%\" />\n\n</div>\n\n---\n\n**The same algorithms and data structures, solved, tested, and benchmarked in Java, C++,\nRust, and Python**, with one `catalog/problems.json` as the single source of truth and\nbyte-identical generated test vectors across every language. On top sits a local\n**algorithm synthesizer** that discovers verified algorithms (Kadane, buy-and-sell, jump\ngame) from input/output examples alone — no APIs, no model calls.\n\n## Features\n\n- **Multi-language solving engine** — 10 algorithms + 6 data structures implemented in\n  Java, C++17, Rust, and Python (regular + optimized advanced tiers).\n- **Cross-language benchmarks** — a single harness times all four tiers; compare\n  strategies (Java's hash-map two-sum vs. the quadratic scans in C++/Rust).\n- **Local algorithm synthesizer** — grammar-based search + strategy templates that\n  rediscover known algorithms and surface novel ones, fuzz-verified out-of-sample.\n- **Automated mathematical pattern discovery** — the original engine: feed in a\n  sequence, get ranked hypotheses (arithmetic, geometric, quadratic, Fibonacci-like) and\n  next-term predictions.\n- **Zero dependencies per language** — no framework, no package, no JIT magic; pure\n  standard library in all four tiers.\n- **Desktop GUI** — a Tkinter app (`python -m gui`) built on the standard library only;\n  core logic is headless-tested in CI.\n- **Generated-then-committed test vectors** — identical tests enforced by CI in every\n  language; a single `--check` keeps them in sync with the catalog.\n- **CI-green by default** — grid of Python 3.10–3.13, Java 21, GCC C++17, stable Rust,\n  discovery-smoke, GUI-core smoke, and a strict docs build.\n\n## Quick start\n\n```sh\ngit clone https://github.com/dsk-dev-ai/algorithm-discovery-engine.git\ncd algorithm-discovery-engine\n\npython engine/runner.py test        # build + run the catalog suite in all 4 languages\npython engine/runner.py bench       # benchmark all tiers, side by side\npython engine/runner.py discover    # synthesize + verify algorithms from examples\npython -m gui                       # open the desktop app\n```\n\nNo install required — Python ≥ 3.10 and (for the non-Python tiers) a JDK, a C++17\ncompiler, and the Rust toolchain.\n\n## The multi-language engine\n\n### Catalog\n\n`catalog/problems.json` is the source of truth. Every algorithm and structure carries a\nshared test vector set asserted in **all four languages**.\n\n| Algorithms (10)                                          | Data structures (6)                              |\n| -------------------------------------------------------- | ------------------------------------------------ |\n| `two_sum`, `binary_search`, `merge_sort`, `quick_sort`    | `stack`, `queue`, `linked_list`, `bst`           |\n| `max_subarray`, `lcs`, `knapsack_01`, `edit_distance`     | `trie`, `min_heap`                               |\n| `graph_bfs`, `graph_dfs`                                  |                                                  |\n\n### Language tiers\n\n```mermaid\nflowchart LR\n    C[ catalog/problems.json ] --> G[ engine/gen_tests.py ]\n    G --> J[Java tests] & P[Python tests] & R[Rust tests] & X[C++ tests]\n    J -. reference impl .-> P\n```\n\n| Tier   | Location                 | Approach                                             |\n| ------ | ------------------------ | ---------------------------------------------------- |\n| Java   | `languages/java/`        | OO reference implementations                         |\n| C++    | `languages/cpp/`         | modern C++17, RAII, iterators                        |\n| Rust   | `languages/rust/`        | ownership-safe, zero dependencies                    |\n| Python | `src/ads/`               | regular + advanced (`*_advanced`, mypy strict)       |\n\n### Sample benchmark (microseconds, lower is better)\n\n```\nalgorithm             Python        Java         C++        Rust\nmerge_sort           928,850      85,358      66,972      39,647\nquick_sort           702,918      41,562      22,942      17,610\nmax_subarray         444,168      17,881       9,702          78\n```\n\n> Languages may pick different strategies for the same problem (Java's `two_sum` uses a\n> hash map; C++/Rust use a quadratic scan) — the table is a trade-off showcase, not an\n> exact contest.\n\n## The synthesizer (the interesting part)\n\n`src/synth/` searches for candidate algorithms from input/output examples and verifies\nthem out-of-sample before reporting anything.\n\n- **Grammar search** (`scan`): enumerates single-pass \"scanner\" programs until one\n  matches the curated examples *and* 60 fuzzed inputs against an independent oracle.\n  Kadane, buy-and-sell, and jump-game fall out of examples alone.\n- **Strategy templates** (`vote`, `seen`, `fib`, `circular-kadane`): Boyer-Moore\n  voting, hash-set membership, Fibonacci pumping, circular Kadane — all still\n  fuzz-verified.\n- **Novelty classification**: `rediscovered` (already in the catalog) vs.\n  `new-to-catalog` (a candidate worth porting to the four tiers).\n\nCurrent smoke run: **7 targets · 7 verified · 0 rejected**.\n\n```sh\nuv run python -m synth discover --smoke   # ~2 min, CI-friendly\nuv run python -m synth discover           # full pass\nuv run python -m synth discover --print   # include full report JSON\n```\n\nOutput lands in `catalog/discoveries/`: `report.json`, `report.md`, and runnable\n`solutions/*.py`.\n\nA discovered jump-game scanner (verified on examples + fuzz):\n\n```python\ndef discovered_jump_game(arg):\n    s0 = 0\n    s1 = 0\n    for i, x in enumerate(arg):\n        s1 = max(s1, i - s0)   # how far the current reach overshoots index i\n        s0 = max(s0, i + x)    # extend the reach\n    return s1 == 0\n```\n\n## Pattern discovery (original framework)\n\n```python\nfrom algo_discovery import DiscoveryEngine\n\nresult = DiscoveryEngine().discover((1, 4, 9, 16, 25))\nprint(result.best.name)       # \"quadratic\"\nprint(result.best.prediction) # 36\n```\n\n10 built-in hypotheses (arithmetic, geometric, quadratic, cubic, powers-of-two,\nFibonacci-like, affine recurrences, prime, alternating-sign, constant) with confidence,\nexplanation, and next-term prediction.\n\n```sh\nuv run python -m algo_discovery 1 4 9 16\n```\n\n## Desktop GUI\n\nA small **Tkinter** desktop app (no third-party runtime dependencies) wraps the\nthree engines behind a clean dark-themed interface:\n\n```sh\npython -m gui                   # launch from the repo root\npython engine/runner.py gui     # same thing via the dispatcher\nade-gui                         # if installed with pip/uv\n```\n\n| Tab               | What it does                                                           |\n| ----------------- | ---------------------------------------------------------------------- |\n| **Discover**      | Run the synthesizer (smoke/full), view the per-target verified table, open the report. |\n| **Pattern discovery** | Enter an integer sequence, discover ranked hypotheses with next-term predictions.    |\n| **Engine**        | Check vectors, run pytest, build all tiers, benchmark, open docs/GitHub links.       |\n\nCore logic lives in `gui/core.py` and is tested headlessly in CI (`-p gui` mypy\n+ `pytest -q tests/test_gui.py`).\n\n## Container image\n\nPrebuilt on **GitHub Packages** (amd64 + arm64) — no install needed:\n\n```sh\ndocker pull ghcr.io/dsk-dev-ai/algorithm-discovery-engine:v1.0.1\ndocker run --rm ghcr.io/dsk-dev-ai/algorithm-discovery-engine:v1.0.1 --smoke\n```\n\nTags: `latest`, per-version (`v1.0.1`), and per-commit (`sha-<hash>`). The image runs\nthe local algorithm synthesizer by default; override with any `python -m` command.\n\n## Documentation\n\nFull docs: **https://dsk-dev-ai.github.io/algorithm-discovery-engine/**\n\nBuild locally:\n\n```sh\nuv sync --group docs\nuv run mkdocs serve          # live preview at http://127.0.0.1:8000\n```\n\n## Development\n\n```sh\nuv sync --group dev --group docs\nuv run pytest -q               # 118+ tests (catalog + synthesizer + GUI core)\nuv run ruff check src tests\nuv run mypy -p algo_discovery -p ads -p synth -p gui\nuv run python -m gui --selftest           # headless GUI smoke\nuv run mkdocs build --strict             # documentation builds cleanly\npython engine/runner.py check   # keep generated vectors in sync before committing\n```\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for the full checklist and how to add a new\ncatalog problem or a new discovery target.\n\n## Structure\n\n```\ncatalog/problems.json            single source of truth (tests + examples)\ncatalog/discovery_targets.json   discovery targets (curated examples + oracles)\ncatalog/discoveries/             synthesizer reports + discovered solutions\nengine/gen_tests.py              generates identical test vectors per language\nengine/runner.py                 build / test / benchmark / synthesize dispatcher\nsrc/ads/                         Python solving engine (regular + advanced)\nsrc/algo_discovery/              pattern-discovery framework (original)\nsrc/synth/                       local algorithm synthesizer\nsrc/gui/                         Tkinter desktop app (stdlib only)\ndocs/                            documentation site (MkDocs Material)\nlanguages/java/src/ads/          Java tier (+ TestRunner, Benchmark)\nlanguages/cpp/include/ads/       C++17 headers (+ tests, bench)\nlanguages/rust/src/              Rust tier (+ examples/benchmark.rs)\n```\n\n## Roadmap\n\n- Port `new-to-catalog` discoveries (buy-and-sell, jump game, circular Kadane) into the\n  four language tiers as first-class catalog problems.\n- Grow the discovery target corpus (graphs, DP, geometry) and tighten the synthesis\n  budget so full passes match CI time.\n- Add GitHub Actions generating the social-preview benchmark delta on every push.\n\n## Sponsor\n\nalgorithm-discovery-engine is built and maintained by\n[Darshan Kachare](https://github.com/dsk-dev-ai) through\n[NextGenAI Labs](https://github.com/sponsors/dsk-dev-ai).\n\nSponsorship supports development infrastructure, documentation, and long-term\nmaintenance of this open-source platform.\n\n<a href=\"https://github.com/sponsors/dsk-dev-ai\">\n  <img src=\"https://img.shields.io/badge/%E2%9D%A4%EF%B8%8F-Sponsor_on_GitHub-red?style=for-the-badge&logo=githubsponsors&logoColor=white\" alt=\"Sponsor algorithm-discovery-engine\"/>\n</a>\n\n---\n\n## License\n\nMIT — see [LICENSE](LICENSE).","mcp-nexus":"<div align=\"center\">\n\n# ◈ MCP Nexus\n\n### The intelligent routing & discovery layer for MCP tools\n\n**Connect once. Discover dynamically. Route intelligently. Execute safely.**\n\n> One umbrella MCP endpoint in front of hundreds of tools — the agent only ever\n> sees the right capability at the right time.\n\n[![release](https://img.shields.io/badge/release-v1.0.0-6c8cff?style=flat-square)](https://github.com/dsk-dev-ai/mcp-nexus/releases)\n[![license](https://img.shields.io/badge/license-Apache--2.0-34d399?style=flat-square)](https://github.com/dsk-dev-ai/mcp-nexus/blob/main/LICENSE)\n[![language](https://img.shields.io/badge/language-TypeScript-3178c6?style=flat-square)](https://github.com/dsk-dev-ai/mcp-nexus)\n[![node](https://img.shields.io/badge/Node-%E2%89%A5%2022-339933?style=flat-square)](https://github.com/dsk-dev-ai/mcp-nexus/blob/main/package.json)\n[![tests](https://img.shields.io/badge/tests-93%20passing-34d399?style=flat-square)](https://github.com/dsk-dev-ai/mcp-nexus/actions)\n[![benchmark](https://img.shields.io/badge/%C2%A731%20CI%20gate-green?style=flat-square)](https://github.com/dsk-dev-ai/mcp-nexus/blob/main/docs/benchmarks.md)\n[![docs](https://img.shields.io/badge/docs-online-6c8cff?style=flat-square)](https://dsk-dev-ai.github.io/mcp-nexus/)\n[![sponsor](https://img.shields.io/badge/Sponsor-GitHub-6c8cff?style=flat-square)](https://github.com/sponsors/dsk-dev-ai)\n\n**[Project site](https://dsk-dev-ai.github.io/mcp-nexus/)** ·\n**[Documentation](docs/api.md)** ·\n**[Changelog](CHANGELOG.md)** ·\n**[Roadmap](ROADMAP.md)** ·\n**[Contributing](CONTRIBUTING.md)**\n\n</div>\n\n---\n\n## Contents\n\n- [Why MCP Nexus](#why-mcp-nexus)\n- [Architecture](#architecture)\n- [Features](#features)\n- [Quick start](#quick-start)\n- [How routing works](#how-routing-works)\n- [Policy-aware execution](#policy-aware-execution)\n- [Tool manifests](#tool-manifests)\n- [CLI reference](#cli-reference)\n- [Deterministic benchmark (31)](#deterministic-benchmark-31)\n- [SDK & plugins](#sdk--plugins)\n- [Run with Docker](#run-with-docker)\n- [Configuration](#configuration)\n- [Security](#security)\n- [Repository layout](#repository-layout)\n- [Documentation](#documentation)\n- [Roadmap](#roadmap)\n- [Contributing](#contributing)\n- [Sponsor](#sponsor)\n\n---\n\n## Why MCP Nexus\n\nAgents gain access to dozens — then hundreds — of MCP tools. Exposing them all at\nonce creates four concrete problems:\n\n| Problem | Consequence |\n| --- | --- |\n| **Discovery** | an agent can't reason over 500 tool descriptions |\n| **Context** | every exposed tool bloats the agent's context with irrelevant schemas |\n| **Security** | a tool shouldn't automatically receive unlimited permissions |\n| **Maintenance** | wiring each tool into each agent is duplicated, scattered work |\n\nMCP Nexus answers with a **capability surface**: rather than dumping every tool,\nit exposes the few that fit the current request.\n\n## Architecture\n\n```\n                    AI AGENT\n             Claude / Cursor / Codex\n                       │\n                       ▼\n              ┌─────────────────┐\n              │    MCP SERVER   │     stdio · Streamable HTTP\n              └────────┬────────┘\n                       │\n                       ▼\n              ┌─────────────────┐\n              │   DISCOVERY     │\n              └────────┬────────┘\n                       │\n             ┌─────────┴─────────┐\n             ▼                   ▼\n        TOOL REGISTRY         ROUTER          intent overlay\n                               │\n                   ┌───────────┼───────────┐\n                   ▼           ▼           ▼\n                Heuristic   Semantic    LLM*\n                   │           │           │\n                   └───────────┼───────────┘\n                               ▼\n                         POLICY ENGINE\n                               │\n                               ▼\n                         TOOL RUNNER\n                               │\n              local · stdio · docker · http\n                               │\n                               ▼\n                            MCP TOOL\n```\n\n`*` LLM is **optional**. MCP Nexus runs fully on the zero-dependency router\nstack (heuristic + fuzzy semantic) — no GPU, no API key, no internet required.\n`http` and `docker` transports execute tools over a JSON POST endpoint or\n`docker run`.\n\n## Features\n\n- **One endpoint, hundreds of tools** — agents connect once over **stdio** or\n  **Streamable HTTP** to the full `nexus.*` surface: `register_tool`,\n  `remove_tool`, `inspect_tool`, `list_tools`, `route`, `discover`, `invoke`,\n  `approvals`, `resolve_approval`.\n- **Dynamic capability discovery** — `nexus.discover` returns the minimal tool\n  surface that fits the current request instead of 500 schemas.\n- **Explainable routing** — every decision carries a provider, confidence,\n  matched capabilities, and alternatives. You always know *why* a tool was chosen.\n- **Deterministic & measured** — a 32-task reference suite runs offline in CI;\n  `mcp-nexus benchmark` exits `0` only when every exact + semantic task routes\n  correctly.\n- **LLM-optional** — heuristic → semantic → LLM fallback chain. Gemini and\n  OpenRouter bolt on when you add a key; nothing degrades without one.\n- **Policy-aware execution** — per-tool permission scopes plus allow / deny /\n  approval rules; approval-gated tools wait for an operator.\n- **Modern transports** — local subprocess, stdio, `docker run`, and HTTP POST\n  execution.\n- **Audit-ready** — JSONL activity log with `executionId` correlated end-to-end\n  from gateway invoke to dashboard activity.\n\n## Quick start\n\n> Requires **Node.js ≥ 22** (Node 24 recommended for native TypeScript).\n\n```bash\ngit clone https://github.com/dsk-dev-ai/mcp-nexus.git\ncd mcp-nexus\nnpm install\n```\n\n**Stdio** (local client):\n\n```bash\nnpm start\n```\n\n**Streamable HTTP** (remote clients):\n\n```bash\nnpm start -- start:http     # http://127.0.0.1:3001/mcp\n```\n\nConnect the endpoint from any MCP client. From a second terminal, manage the\nregistry:\n\n```bash\nnpm start -- add tools/repoarch.json            # register a tool\nnpm start -- list                               # browse\nnpm start -- inspect repoarch                   # full manifest\nnpm start -- search \"check vulnerable dependencies\"   # dry-run routing\nnpm start -- enable dependency-audit            # toggle enabled state\nnpm start -- doctor                             # environment check\nnpm start -- benchmark                          # CI gate: exit 0 iff §31 green\n```\n\n### Expose tools to any agent\n\n```bash\nnpm start -- add tools/repoarch.json\nnpm start -- add tools/ctx.json\nnpm start -- add tools/dependency-audit.json\nnpm start\n```\n\nNow connect **Claude Code, Cursor, OpenCode — or any MCP client** and ask:\n\n> *\"Analyze my repository architecture and check dependencies for vulnerabilities.\"*\n\nThe agent calls `nexus.route` / `nexus.invoke`; Nexus discovers, selects,\npolicy-checks, and executes the right tool — over both transports.\n\n## How routing works\n\nThe router chain is **provider fallback, left to right**:\n\n```\nheuristic → semantic → llm\n```\n\n| Provider | What it does |\n| --- | --- |\n| **heuristic** | deterministic keyword / capability scoring with an embedded stemmer |\n| **semantic** | zero-dependency character-bigram / IDF fuzzy router; recovers typos the exact-token matcher misses (\"archtecture\", \"vulnerbilities\") |\n| **llm** | **Gemini** (REST) or **OpenRouter** (OpenAI-compatible `chat/completions`; wins when both keys are set); reports `unavailable` without a key, so the chain never depends on it |\n\nA deterministic **intent overlay** (`src/router/intents.ts`) fires first at the\nroute head in both heuristic and semantic layers, so domain vocabulary — git\nhistory, dependency/lockfile risk, secret scanning, repo structure — always wins\nover generic context fallbacks.\n\nEvery decision is explainable:\n\n```\n$ npm start -- search \"check vulnerable dependencies\"\n\nRequest: \"check vulnerable dependencies\"\nSelected: dependency-audit\nProvider: heuristic\nConfidence: 100%\nMatched capabilities: dependency-audit\nAlternatives: repoarch (49%), ctx (0%)\nWhy: Matched capabilities: dependency-audit for \"dependency-audit\".\n```\n\n## Policy-aware execution\n\nManifests carry permission scopes; global rules add allow / deny / approval:\n\n```jsonc\n// .nexus/policy.json\n{\n  \"default\": \"allow\",\n  \"rules\": [\n    { \"tool\": \"git\", \"blocklists\": [\"git.push\"], \"approvals\": [\"git.commit\"] }\n  ]\n}\n```\n\nApproval-gated tools queue for an operator and resolve over the gateway\n(`nexus.approvals`, `nexus.resolve_approval`) or through the web dashboard.\n\n## Tool manifests\n\nEvery tool is one file: capabilities, transport, permissions.\n\n```json\n{\n  \"name\": \"dependency-audit\",\n  \"version\": \"1.0.0\",\n  \"description\": \"Scan dependencies of a project for vulnerable or insecure packages.\",\n  \"capabilities\": [\"security\", \"dependency-audit\"],\n  \"transport\": { \"type\": \"local\", \"command\": [\"npm\", \"audit\"] },\n  \"permissions\": { \"network\": { \"access\": true }, \"filesystem\": { \"read\": true, \"write\": false } },\n  \"enabled\": true\n}\n```\n\nSee `tools/` for 5 reference implementations or the\n[registry docs](docs/registry.md) for the full schema (JSON + YAML).\n\n## CLI reference\n\n| Command | Purpose |\n| --- | --- |\n| `mcp-nexus start` | Run the MCP server over stdio |\n| `mcp-nexus start:http` | Run the MCP server over Streamable HTTP (`/mcp`) |\n| `mcp-nexus stop` | Stop a running `start:http` server |\n| `mcp-nexus add <file\\|json>` | Register or update a manifest |\n| `mcp-nexus remove <name>` | Unregister a tool |\n| `mcp-nexus list` (`tools`) | List registered tools |\n| `mcp-nexus inspect <name>` | Show a full manifest |\n| `mcp-nexus search <query>` | Dry-run routing decision |\n| `mcp-nexus route <query>` | Alias for `search` |\n| `mcp-nexus enable <name>` / `disable <name>` | Toggle enabled state |\n| `mcp-nexus policy` | Show policy configuration |\n| `mcp-nexus config [a=b ...]` | Read/write `.nexus/config.json` |\n| `mcp-nexus doctor` | Diagnose the environment (per-tool transports, Docker) |\n| `mcp-nexus benchmark` | Run the §31 routing benchmark (CI gate) |\n| `mcp-nexus invoke <query>` | Route → policy-check → execute (approval prompts) |\n| `mcp-nexus approvals` | List pending operator approvals |\n| `mcp-nexus resolve <id> +\\|-` | Approve / deny a pending approval |\n| `mcp-nexus dashboard` | Start the local web dashboard + REST API ([docs](docs/dashboard.md)) |\n\n## Deterministic benchmark (31)\n\nA fully-offline reference suite — **6 tools / 32 tasks** across exact /\nsemantic / ambiguous / unknown intents. Reproducible on any machine: no LLM, no\nnetwork, no random seeding.\n\n| Provider | Accuracy | exact | semantic | ambiguous | unknown |\n| --- | --- | --- | --- | --- | --- |\n| Heuristic | **100.0%** | 15/15 | 4/4 | 5/5 | 8/8 |\n| Semantic | 87.5% | 15/15 | 4/4 | 2/5 | 7/8 |\n| Hybrid | **93.8%** | 15/15 | 4/4 | 4/5 | 7/8 |\n| Large (50 tools) | **100.0%** | 20/20 | — | — | — |\n\n**Hard failures: none.** The benchmark command exits `0` only when every exact +\nsemantic reference task routes correctly — **that is the CI gate**. Method,\nfull numbers, and `npm run bench:latency` (strict sub-2 ms per-task gate) live in\n[docs/benchmarks.md](docs/benchmarks.md).\n\n## SDK & plugins\n\nBuild Nexus-compatible tools and drop-in components with the\n[SDK](docs/sdk.md) (`createTool`, `defineCapabilities`, `definePermissions`,\n`registerTool`, `buildRouter`) and the plugin contracts in\n`src/sdk/interfaces.ts`. The [API reference](docs/api.md) covers the MCP\ngateway, dashboard REST API, and CLI.\n\n## Run with Docker\n\n```sh\ndocker compose up -d     # dashboard at http://localhost:8080\ndocker compose exec nexus node src/index.ts add tools/repoarch.json\n```\n\nRegistry and activity persist across restarts (named volume). See\n[docs/dashboard.md](docs/dashboard.md),\n[docs/performance.md](docs/performance.md), and the\n[client compatibility matrix](docs/clients.md).\n\n## Configuration\n\nCopy `.env.example` to `.env` and adjust (`MCP_NEXUS_PORT`, `MCP_NEXUS_HOST`,\n`MCP_NEXUS_ROUTER_MODE`, `MCP_NEXUS_LOG_LEVEL`, `MCP_NEXUS_EXECUTION_TIMEOUT`,\n`MCP_NEXUS_API_TOKEN` for dashboard auth, optional `MCP_NEXUS_*_API_KEY` for\nGemini / OpenRouter).\n\nPrecedence: **defaults < `.nexus/config.json` < `.env` < real environment.**\n\n## Security\n\n> **MCP Nexus executes tools on behalf of connected agents. Review tool\n> permissions and execution policies before enabling untrusted tools.**\n\nV1 security surface:\n\n- Permission model: allow / deny / approval.\n- Execution isolation: subprocess with timeout, stdout/stderr capture.\n- Per-tool permission scopes from manifests.\n- Optional bearer-token auth on the dashboard REST API (`MCP_NEXUS_API_TOKEN`).\n- Audit log: JSONL activity log (`.nexus/activity.jsonl`), with `executionId`\n  surfaced end-to-end from gateway invoke to dashboard activity.\n\nReport vulnerabilities via [SECURITY.md](SECURITY.md).\n\n## Repository layout\n\n```\nsrc/\n├── cli.ts               # CLI surface\n├── config.ts            # env + .nexus/config.json\n├── version.ts           # single version constant (gateway, dashboard, CLI)\n├── registry/            # manifest schema + file store\n├── router/              # heuristic + fuzzy semantic (zero-dep), intent overlay, llm (optional), fallback chain\n├── policy/              # allow/deny/approval engine (read + replace)\n├── executor/            # transports: local/stdio subprocess, docker run, http POST\n├── telemetry/           # JSONL activity log\n├── dashboard/           # single-page UI + REST API (optional bearer auth)\n└── server/              # MCP server factory + stdio (server.ts) and Streamable HTTP (httpGateway.ts)\nexamples/                # sample JSON + YAML manifests\ntests/                   # node:test suite (93 tests)\ntools/                   # reference tool manifests\ndocs/                    # architecture, registry, routing, security, integrations\n```\n\n## Documentation\n\n| Topic | Doc |\n| --- | --- |\n| API reference (gateway, REST, CLI) | [docs/api.md](docs/api.md) |\n| System architecture | [docs/architecture.md](docs/architecture.md) |\n| Router chain & intent overlay | [docs/routing.md](docs/routing.md) |\n| Tool registry & manifests | [docs/registry.md](docs/registry.md) |\n| Benchmark suite & method | [docs/benchmarks.md](docs/benchmarks.md) |\n| Web dashboard & REST API | [docs/dashboard.md](docs/dashboard.md) |\n| Security model | [docs/security.md](docs/security.md) |\n| Client compatibility | [docs/clients.md](docs/clients.md) |\n| SDK & plugins | [docs/sdk.md](docs/sdk.md) |\n| Performance targets | [docs/performance.md](docs/performance.md) |\n| Integrations | [docs/integrations.md](docs/integrations.md) |\n\n## Roadmap\n\n| Phase | Focus |\n| --- | --- |\n| V1 (current) | Registry, heuristic + fuzzy semantic routers, intent overlay, dynamic discovery, policy, 4 transport types, approvals, dashboard, CLI, benchmark, HTTP + stdio gateways |\n| V2 | Embedding-based semantic router, remote-registry integration, sandboxed execution, dashboard |\n| V3 | Distributed routing, multi-user auth, advanced policy, tool reputation / health |\n\nFull detail in [ROADMAP.md](ROADMAP.md).\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) — setup, architecture notes, and PR\nrequirements. Code of Conduct in [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md).\n\n## Sponsor\n\nMCP Nexus is free and open source (Apache-2.0). If it saves your team time,\nconsider sponsoring the work:\n\n**GitHub Sponsors:** <https://github.com/sponsors/dsk-dev-ai>\n\nSponsorships fund LLM-provider test keys, CI minutes, and docs. Every\ncontribution is public in the [changelog](CHANGELOG.md). You can also help by\n[contributing](CONTRIBUTING.md) — issues, PRs, and benchmark scenarios are all\nwelcome.\n\n## License\n\nApache-2.0 — see [LICENSE](LICENSE). Written by [dsk-dev-ai](https://github.com/dsk-dev-ai).","login-register-system-with-flask-sqlite":"# 🔐 Login & Register System (Flask + SQL)\n\n[![CI](https://github.com/dsk-dev-ai/Login-Register-System-with-Flask-SQLite/actions/workflows/ci.yml/badge.svg)](https://github.com/dsk-dev-ai/Login-Register-System-with-Flask-SQLite/actions/workflows/ci.yml)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nA modern authentication system built with Flask and SQLite.\n\nThis project demonstrates how real websites handle:\n\n- User registration\n- Secure login\n- Password hashing\n- Sessions\n- Protected dashboard\n- SQL database storage\n\nPerfect foundation for SaaS apps, dashboards, admin panels, and AI tools with accounts.\n\n---\n\n## ✨ Features\n\n✅ Register new users  \n✅ Login authentication  \n✅ Password hashing (secure)  \n✅ SQLite database  \n✅ Session management  \n✅ Protected routes  \n✅ Logout system  \n✅ Modern responsive UI  \n\n---\n\n## 🛠 Tech Stack\n\n- Python\n- Flask\n- SQLite\n- HTML/CSS\n- Werkzeug security\n\n---\n\n## 📸 Screenshot\n<img width=\"960\" height=\"540\" alt=\"1\" src=\"https://github.com/user-attachments/assets/4c8d8b74-4c13-4d68-ac8a-dc03fbdafd3a\" />\n<img width=\"960\" height=\"540\" alt=\"2\" src=\"https://github.com/user-attachments/assets/1214f9e6-98c5-42b6-86f9-4e445d27e080\" />\n<img width=\"960\" height=\"540\" alt=\"3\" src=\"https://github.com/user-attachments/assets/a60841dd-462d-4329-b7db-0b5a789836cf\" />\n<img width=\"960\" height=\"540\" alt=\"4\" src=\"https://github.com/user-attachments/assets/1f625e57-1903-40fe-9f15-4e900d41c600\" />\n<img width=\"960\" height=\"540\" alt=\"5\" src=\"https://github.com/user-attachments/assets/8d521728-0785-4ccb-8170-a77748e9d26f\" />\n\n\n---\n\n## ▶️ Run Locally\n\n### 1. Install dependencies\n```bash\npip install flask werkzeug\n```\n\n2. Start server\n```bash\npython app.py\n```\n\n3. Open browser\nhttp://127.0.0.1:5000\n\n---\n\n## 🧪 Tests\n\n```bash\npip install -r requirements-dev.txt\npython -m pytest -q\n```\n\nTests cover registration (validation, persistence, duplicate user),\nlogin (valid/invalid credentials, 5-attempt lockout, attempt reset on\nsuccess), session-protected dashboard, logout, and guest redirects,\nusing an isolated SQLite database per run. CI runs the suite on every\npush.\n\n---\n\n## 🧠 What I Learned\n\n- Building authentication systems\n- Working with SQL databases\n- Password hashing & security\n- Sessions & cookies\n- Backend development with Flask\n\n---\n\n## 👨‍💻 Author\n\nDarshan Kachare  \nAI Developer • SaaS Builder • Automation Tools\n","smart-resume-builder-ai":"# 🚀 AI Resume Builder (FREE Local AI)\n\n[![CI](https://github.com/dsk-dev-ai/smart-resume-builder-ai/actions/workflows/ci.yml/badge.svg)](https://github.com/dsk-dev-ai/smart-resume-builder-ai/actions/workflows/ci.yml)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nAn AI-powered Resume Generator that creates professional resumes instantly using local LLMs.\n\nBuilt with Flask + Ollama + PDF export.\n\nThis project runs 100% locally with NO API cost.\n\n---\n\n## ✨ Features\n\n✅ Generate resume using AI  \n✅ Works offline (no internet required)  \n✅ FREE forever (no OpenAI charges)  \n✅ Modern glass UI  \n✅ Loading animation  \n✅ Resume preview  \n✅ Download as PDF  \n✅ Clean professional formatting  \n\n---\n\n## 🛠 Tech Stack\n\n- Python\n- Flask\n- Ollama (Local LLM)\n- ReportLab (PDF generation)\n- HTML/CSS\n- JavaScript\n\n---\n\n## 🎯 Use Cases\n\nThis tool can be used for:\n\n- Students creating resumes\n- Job seekers\n- Freelancers\n- HR automation tools\n- Resume SaaS apps\n- Portfolio builders\n- AI writing assistants\n\n---\n\n## 📸 Screenshots\n\n<img width=\"960\" height=\"540\" alt=\"1\" src=\"https://github.com/user-attachments/assets/c2e2034a-c49a-4620-8d0a-487bb67eb638\" />\n<img width=\"960\" height=\"540\" alt=\"2\" src=\"https://github.com/user-attachments/assets/eff695a5-49fb-4a77-a90b-f595ee98fd6e\" />\n<img width=\"960\" height=\"540\" alt=\"4\" src=\"https://github.com/user-attachments/assets/f11fbbf6-ec4c-45b0-8d4d-b6e5ca61495c\" />\n<img width=\"960\" height=\"540\" alt=\"5\" src=\"https://github.com/user-attachments/assets/654bab07-386d-46a3-99b4-727604dff221\" />\n\n\n---\n\n## ▶️ Run Locally\n\n### Install dependencies\n\n```bash\npip install flask reportlab\n\nStart server\npython app.py\n\nOpen browser\nhttp://127.0.0.1:5000\n\n## 🧪 Tests\n\n```bash\npip install -r requirements-dev.txt\npython -m pytest -q\n```\n\nTests cover the home route (GET/POST), required-field validation,\nresume preview generation, PDF download (found + missing), and the\nline-wrapping helper. CI runs the suite on every push.\n\n🧠 What I Learned\n\nAI prompt engineering\n\nIntegrating local LLMs\n\nGenerating PDFs with Python\n\nMulti-page Flask apps\n\nUX improvements (loading animations)\n\nFile downloads\n\nBuilding SaaS-style tools\n\n👨‍💻 Author\n\nDarshan Kachare\nAI Developer • SaaS Builder • Automation Tools\n","mediahub-downloader":"# MediaHub Downloader\n\n![GitHub](https://img.shields.io/github/license/dsk-dev-ai/mediahub-downloader)\n![Python](https://img.shields.io/badge/python-3.10%2B-blue)\n![PySide6](https://img.shields.io/badge/PySide6-6.11.1-brightgreen)\n![Tests](https://img.shields.io/badge/tests-passing-brightgreen)\n[![CI](https://github.com/dsk-dev-ai/mediahub-downloader/actions/workflows/ci.yml/badge.svg)](https://github.com/dsk-dev-ai/mediahub-downloader/actions/workflows/ci.yml)\n\nA desktop media downloader built with `PySide6`, `yt-dlp`, and `FFmpeg`, now structured for production-style configuration and deployment.\n\n## Features\n\n- ✅ Login/signup flow (Supabase-backed or local dev mode)\n- ✅ Media preview (title + thumbnail)\n- ✅ MP4/MP3 downloads with quality selection\n- ✅ Download progress, speed, ETA, and logs\n- ✅ PRO upgrade page with payment integrations:\n  - Stripe checkout session generation\n  - Razorpay order generation\n- ✅ Structured logging system\n- ✅ Input validation and sanitization\n- ✅ Comprehensive test suite\n- ✅ Developer documentation and contributing guidelines\n- ✅ Packaging helpers for:\n  - Windows `.exe` builds\n  - Ubuntu/Debian `.deb` builds\n\n> **Note:** FFmpeg is not bundled in the repository. It is downloaded automatically\n> at build/packaging time (via the deployment scripts) or must be available on your\n> system `PATH` at runtime.\n\n## Quick Start\n\n```bash\npython -m venv .venv\nsource .venv/bin/activate  # Windows: .venv\\Scripts\\activate\npip install -r requirements.txt\ncp .env.example .env\npython main.py\n```\n\n## Environment Variables\n\nAll configuration is read from `.env` via `config.py`.\n\nNever commit your real `.env` file. `.gitignore` is configured to keep it private.\n\nRequired for production usage:\n- `SUPABASE_URL`\n- `SUPABASE_KEY`\n- `STRIPE_SECRET_KEY`\n- `STRIPE_PRICE_ID`\n- `STRIPE_SUCCESS_URL`\n- `STRIPE_CANCEL_URL`\n- `RAZORPAY_KEY_ID`\n- `RAZORPAY_KEY_SECRET`\n\nOptional:\n- `SESSION_FILE` (default: session.txt)\n- `DEV_MODE` (default: false)\n\n## Project Structure\n\n```\nmediahub-downloader/\n├── app/                    # Main application code\n│   ├── core/               # Core business logic\n│   ├── services/           # External service integrations\n│   ├── ui/                 # User interface components\n│   └── utils/              # Utility functions and helpers\n├── tests/                  # Test suite\n├── deployment/             # Packaging and deployment scripts\n├── scripts/                # Utility scripts\n├── assets/                 # Static assets\n├── config.py               # Configuration management\n├── main.py                 # Application entry point\n├── requirements.txt        # Python dependencies\n├── CONTRIBUTING.md         # Contribution guidelines\n├── DEVELOPER_GUIDE.md      # Detailed developer documentation\n└── README.md               # This file\n```\n\n## Testing\n\nRun the test suite with:\n\n```bash\n# Run all tests\npython -m pytest tests/ -v\n\n# Run tests with coverage\npython -m pytest tests/ --cov=app --cov-report=html\n\n# Run specific test file\npython -m pytest tests/test_config.py -v\n```\n\n## Contributing\n\nPlease read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct and the process for submitting pull requests.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Acknowledgments\n\n- [yt-dlp](https://github.com/yt-dlp/yt-dlp) for the powerful downloading engine\n- [PySide6](https://doc.qt.io/qtforpython/) for the Python Qt bindings\n- [Supabase](https://supabase.com) for the backend infrastructure\n- [Stripe](https://stripe.com) and [Razorpay](https://razorpay.com) for payment processing","tabforge-private":"# TabForge\n\n[![CI](https://github.com/dsk-dev-ai/tabforge-private/actions/workflows/ci.yml/badge.svg)](https://github.com/dsk-dev-ai/tabforge-private/actions/workflows/ci.yml)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nUltra-lightweight multi-tab browser recorder.\n\nFeatures:\n- Record multiple browser tabs simultaneously\n- Save every tab as a separate MP4\n- 1080p recording\n- 30–60 FPS\n- Low RAM usage\n- Intel QuickSync support\n- Chrome/Edge/Brave support\n\nArchitecture:\n\nBrowser Tab\n→ Extension\n→ Stream\n→ Rust Workers\n→ FFmpeg\n→ Separate MP4 outputs\n\n## Testing & CI\n\nUnit tests cover the pure IPC/recording-session logic (tab → output filename\nsanitization, default resolution mapping, and payload-to-session expansion).\n\n```sh\ncd desktop-app/src-tauri\ncargo test\n```\n\nCI (`.github/workflows/ci.yml`) runs `cargo test` on every push to `main`.\n","ai-chat-platform":"# ai-chat-platform\nFull stack AI Chat SaaS with React + Flask + Ollama (Local LLM)\n\n[![CI](https://github.com/dsk-dev-ai/ai-chat-platform/actions/workflows/ci.yml/badge.svg)](https://github.com/dsk-dev-ai/ai-chat-platform/actions/workflows/ci.yml)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n# AI Chat Platform (Full Stack SaaS)\n\nFull Stack AI Chat SaaS built with:\n\n-  React + TypeScript (Frontend)\n-  Flask (Backend API)\n-  Ollama Local LLM\n-  JWT Authentication\n-  Chat History System\n-  Admin & User Management\n\n---\n\n##  Project Structure\n\nai-chat-platform/\n│\n├── ai-chat-backend/\n│   ├── models/\n│   ├── routes/\n│   ├── services/\n│   ├── utils/\n│   ├── schemas/\n│   ├── db/\n│   ├── app.py\n│   ├── config.py\n│   └── requirements.txt\n│\n├── ai-chat-frontend/\n│   ├── src/\n│   ├── package.json\n│   └── vite.config.ts\n│\n├── generate_token.py\n├── response.json\n└── README.md\n\n---\n\n🔧 Backend Setup\ncd ai-chat-backend\npython -m venv venv\n\n▶ Activate Virtual Environment\n\nWindows:\n\nvenv\\Scripts\\activate\n\n\nMac/Linux:\n\nsource venv/bin/activate\n\n▶ Install Dependencies\npip install -r requirements.txt\n\n▶ Run Server\npython app.py\n\n\nBackend runs on:\n\nhttp://127.0.0.1:5000\n\n💻 Frontend Setup\ncd ai-chat-frontend\nnpm install\nnpm run dev\n\n\nFrontend runs on:\n\nhttp://localhost:3000\n\n🔐 Authentication Features\n\nJWT-based authentication\n\nToken expiration handling\n\nMiddleware-protected routes\n\nRole-based access control (Admin / User)\n\n🧠 AI Integration\n\nSupports:\n\nOllama local models\n\nEasily extendable to OpenAI API\n\n📊 Features\n\n✅ Create new chats\n\n✅ Persistent chat history per user\n\n✅ Dark mode UI\n\n✅ Admin routes & management\n\n✅ Message limits\n\n✅ Secure backend architecture\n\n# ✅ Tests & CI\n\n## Backend Tests\n\n```bash\ncd ai-chat-backend\npip install -r requirements.txt\npip install -r requirements-dev.txt\npytest\n```\n\nRuns the backend test suite (request validation, auth/registration flow, token\ncounting, rate limiting, and config defaults) against an isolated throwaway\nSQLite database — no network, external services, or a live Ollama server needed.\n\n## CI\n\nGitHub Actions (`.github/workflows/ci.yml`) runs on every push/PR to `main`:\n\n- `backend-tests` — installs the backend dependencies and runs `pytest`\n- `frontend-build` — installs frontend deps with `npm ci` and runs `npm run build`\n\n📌 Version\n\nCurrent Version: v3.0\n\n🚀 Future Improvements\n\nDocker deployment\n\nCI/CD pipeline\n\nStreaming AI responses\n\nAPI rate limiting\n\nProduction database (PostgreSQL)\n\nCloud deployment support\n\n👨‍💻 Author\n\nDSK — AI Developer\n","devos-ai":"# 🚀 DevOS AI\n\nDevOS AI is a developer-first assistant for understanding codebases faster using structured context extraction and LLM reasoning.\n\n## ✅ Release Status\n\n**Current release: v3.0.0**\n\nv3 introduces a direct replacement of the legacy context engine with a smarter ranking pipeline, advanced CLI controls, and better output structure for explain workflows.\n\n## 🔥 What’s New in v3\n\n- Advanced context ranking with weighted file scoring.\n- Direct replacement of the old prompt builder with a stricter “facts vs inference” response format.\n- New `core/v3/` module for maintainable architecture.\n- New CLI controls: `--max-files`, `--max-chars`, `--include-tests`, and `--json`.\n- Improved explain command output with selected file visibility.\n\n## 📦 Project Structure\n\n```text\ndevos-ai/\n├── cli/\n├── core/\n│   └── v3/\n├── llm/\n├── agents/\n├── apps/\n├── infrastructure/\n├── docs/\n└── scripts/\n```\n\n## ⚙️ Installation\n\n```bash\ngit clone https://github.com/dsk-dev-ai/devos-ai.git\ncd devos-ai\npip install -r requirements.txt\n```\n\n## ⚡ Usage\n\n### Explain a repository\n\n```bash\npython3 -m cli.main explain . --model auto\npython3 -m cli.main explain . --max-files 12 --max-chars 2000\npython3 -m cli.main explain . --include-tests --json\n```\n\n### Search code\n\n```bash\npython3 -m cli.main search . \"engine\"\n```\n\n### Debug an error file\n\n```bash\npython3 -m cli.main debug error.log\n```\n\n## 🛣️ Roadmap\n\n- ✅ v3: advanced context engine and richer CLI controls.\n- 🔜 v3.x: smarter semantic retrieval and local embedding cache.\n- 🔜 v4: interactive web dashboard with collaborative review mode.\n\n## 📜 License\n\nMIT License.\n","loggit":"<p align=\"center\">\n  <img src=\"https://img.shields.io/badge/dependencies-ZERO-22c55e?style=flat-square\" alt=\"zero deps\">\n  <img src=\"https://img.shields.io/badge/python-3.8+-4B8BBE?style=flat-square&logo=python&logoColor=white\" alt=\"python\">\n  <img src=\"https://img.shields.io/pypi/v/loggit?style=flat-square\" alt=\"pypi version\">\n  <a href=\"https://github.com/dsk-dev-ai/loggit/actions\"><img src=\"https://img.shields.io/github/actions/workflow/status/dsk-dev-ai/loggit/ci.yml?style=flat-square\" alt=\"CI\"></a>\n  <img src=\"https://img.shields.io/badge/license-MIT-blue?style=flat-square\" alt=\"MIT\">\n  <a href=\"https://github.com/users/dsk-dev-ai/packages/container/package/loggit\"><img src=\"https://img.shields.io/badge/docker-ghcr-2496ED?style=flat-square&logo=docker&logoColor=white\" alt=\"Docker GHCR\"></a>\n</p>\n\n# loggit 🪵\n\n**Your git history, actually readable.** A friendly terminal explorer that turns `git log` into color, graphs, and answers — zero dependencies.\n\nStop squinting at `git log --oneline`. `loggit` gives you a clear, colored view of **what your repository is really doing** — commits, authors, churn, and pace — in one command. Pure Python stdlib, works on any laptop, installs instantly.\n\n```\n▌ main\n  17 commits\n\n1000a50   Add Docker/GHCR badge + usage section to README\n    dsk-dev-ai  ·  6m ago\n    +14/-0 in 1 file(s)\n```\n\n---\n\n## ✨ Features\n\n| | |\n|---|---|\n| 🎨 **Pretty output** | colored, aligned, compact log view with refs, ages, and authors |\n| 👥 **Author stats** | per-developer commit counts and line churn as a bar chart |\n| 📈 **Pace metrics** | commits/day, authors, and added/removed lines over any window |\n| 🔎 **Powerful filters** | `--grep`, `--author`, `--since`, `--until`, `--branch` |\n| 📦 **Machine-readable** | `loggit json` for one-line-per-commit JSON |\n| 💸 **100% free** | zero dependencies, no AI, no server, no API keys |\n\n## 🔧 Install\n\n```bash\npip install loggit\n```\n\nNo dependencies. No compiled extensions. Works on Python 3.8+ everywhere.\n\n## 🐳 Docker\n\n```bash\ndocker pull ghcr.io/dsk-dev-ai/loggit:latest\ndocker run --rm -v \"$PWD:/repo\" -w /repo ghcr.io/dsk-dev-ai/loggit:latest authors\n```\n\n## 🚀 Usage\n\n```bash\nloggit                        # pretty log of recent commits (default: 40)\nloggit -n 100                 # show more\nloggit --stat                 # add per-commit +added/-removed lines\nloggit --grep \"docker\"        # only commits mentioning \"docker\"\nloggit --author \"ada\"         # only commits by a specific developer\nloggit --since \"2 weeks ago\"  # recent activity only\nloggit authors                # per-developer commit & churn summary\nloggit pace                   # overall stats + velocity\nloggit json                   # JSON, one object per line (great for scripting)\n```\n\nSee `loggit --help` for the full list of options.\n\n<details>\n<summary><b>JSON output (for piping into your tools)</b></summary>\n\n```bash\nloggit json -n 5 > commits.ndjson\n```\n\n```json\n{\"hash\": \"1000a50\", \"author\": \"dsk-dev-ai\", \"date\": \"2026-08-31T02:14:39+05:30\", \"subject\": \"Add Docker/GHCR badge\", \"refs\": \"HEAD -> main\"}\n```\n</details>\n\n## 🧠 How it works\n\n1. **Runs `git log`** with a stable, machine-friendly pretty-format.\n2. **Parses** commits, refs, dates, and message bodies (stdlib only).\n3. **Renders** a clean, terminal-aware view — colors auto-disable when piped.\n4. **Summarizes** per-author and per-window metrics on demand.\n\n## 🤝 Contributing\n\nHave an idea or spotted a quirk? Open an issue or a pull request. Want to add a metric or a new view? It's a focused module in `loggit/`.\n\n## 📄 License\n\n[MIT](LICENSE) — free to use, modify, and distribute.\n\n## ⭐ Support\n\nIf `loggit` saved you a minute of `git log` squinting, **give it a star** ⭐.\n\nWant to help keep it free forever? Consider [becoming a sponsor](https://github.com/sponsors/dsk-dev-ai) on GitHub.\n","tailr":"<div align=\"center\">\n\n# 🎨 tailr\n\n**Colorized live log viewer for your terminal.**\n\nTail files or piped stdin with automatic log-level and keyword highlighting.\nZero dependencies. Works in Python 3.8+.\n\n[![PyPI](https://img.shields.io/pypi/v/tailr?color=blue&logo=pypi&logoColor=white)](https://pypi.org/project/tailr/)\n[![Python](https://img.shields.io/badge/python-3.8%20%7C%203.9%20%7C%203.10%20%7C%203.11%20%7C%203.12-blue)](#)\n[![License](https://img.shields.io/badge/license-MIT-green)](#)\n[![Docker](https://img.shields.io/badge/docker-ghcr.io%2Fdsk--dev--ai%2Ftailr-blue?logo=docker)](https://github.com/dsk-dev-ai/tailr/pkgs/container/tailr)\n\n</div>\n\n---\n\n## Why tailr?\n\nLogs are noisy. `tailr` makes them *readable* at a glance:\n\n- **Level highlighting** — `INFO`, `WARN`, `ERROR`, `FATAL`, `DEBUG`, `TRACE` get distinct colors.\n- **Keyword highlighting** — `error`, `failed`, `exception`, `traceback`, `panic` pop in bright red.\n- **Timestamp coloring** — dates and times are dimmed so the signal stands out.\n- **Live follow** — watch logs grow in real time, just like `tail -f`.\n- **Filter on the fly** — regex grep, or filter by log level.\n- **Zero dependencies** — pure Python stdlib. No install drama, no bloat.\n\n## Install\n\n```bash\npip install tailr\n```\n\nOr run without installing:\n\n```bash\npipx run tailr --help\n```\n\nVia Docker:\n\n```bash\ndocker run --rm ghcr.io/dsk-dev-ai/tailr --help\n```\n\n## Usage\n\n```bash\n# Colorize a log file (last 10 lines)\ntailr app.log\n\n# Follow a growing log live\ntailr -f app.log\n\n# Follow with more history\ntailr -f -n 200 app.log\n\n# Filter by log level\ntailr -l ERROR app.log\n\n# Grep with a regex, live\ntailr -f -g \"kafka|redis\" app.log\n\n# Pipe anything in\ndocker logs -f app | tailr\nkubectl logs -f pod | tailr\njournalctl -f | tailr -l WARN\n```\n\n### Options\n\n| Flag | Description |\n|------|-------------|\n| `-f, --follow` | Keep tailing appended lines (like `tail -f`) |\n| `-n, --lines N` | Show N lines from the end (default 10) |\n| `-g, --grep REGEX` | Only show lines matching a regex |\n| `-l, --level LVL` | Only show lines with this level (`ERROR`, `WARN`, …) |\n| `--version` | Print version |\n\n### Colors\n\n```\nINFO      -> blue\nDEBUG     -> gray\nWARN      -> orange\nERROR     -> red\nFATAL     -> magenta\nTRACE     -> gray\nkeywords  -> bright red + bold\ntimestamps-> dim\n```\n\nSet `NO_COLOR=1` to disable colorization, or `FORCE_COLOR=1` to force it.\n\n## How it works\n\n`tailr` streams lines and applies a lightweight ANSI colorizer powered by a few\nsmall regexes — no external parsing libs, no heuristics beyond the log shape.\nIt respects `isatty()` to avoid spewing escape codes into pipelines.\n\n## Tests\n\n```bash\npython -m pytest\n```\n\nTested on Python 3.8–3.12 via GitHub Actions.\n\n## Sponsor\n\nEnjoy `tailr`? Keep it free and dependency-free by [becoming a sponsor](https://github.com/sponsors/dsk-dev-ai) on GitHub 💜.\n\n---\n\n<div align=\"center\">\n\n**tailr** · Colorized logs you can actually read.\n\n</div>\n","ctx":"<p align=\"center\">\n  <img src=\"https://img.shields.io/badge/dependencies-ZERO-22c55e?style=flat-square\" alt=\"zero deps\">\n  <img src=\"https://img.shields.io/badge/python-3.8+-4B8BBE?style=flat-square&logo=python&logoColor=white\" alt=\"python\">\n  <img src=\"https://img.shields.io/pypi/v/repobundler?style=flat-square\" alt=\"pypi version\">\n  <a href=\"https://github.com/dsk-dev-ai/ctx/actions\"><img src=\"https://img.shields.io/github/actions/workflow/status/dsk-dev-ai/ctx/ci.yml?style=flat-square\" alt=\"CI\"></a>\n  <img src=\"https://img.shields.io/badge/license-MIT-blue?style=flat-square\" alt=\"MIT\">\n  <a href=\"https://github.com/users/dsk-dev-ai/packages/container/package/ctx\"><img src=\"https://img.shields.io/badge/docker-ghcr-2496ED?style=flat-square&logo=docker&logoColor=white\" alt=\"Docker GHCR\"></a>\n</p>\n\n# ctx 🧳\n\n**Pack any project into a single file and feed it straight to your AI.** One command, zero dependencies, local-only — your code never leaves your machine.\n\nKnow the drill: you're about to ask ChatGPT / Claude / a coding agent to \"look at my repo\", and you end up copy-pasting a hand-picked pile of files. `ctx` bundles an entire codebase into **one clean markdown file** — a file index plus every source file in language-tagged blocks — sized by tokens, ready to paste, save, or copy.\n\n```bash\nctx .                    # -> ./<folder>.ctx.md  (bundled, token-counted)\nctx src -o project.md    # bundle just a subfolder\nctx --lang python go      # only certain languages\nctx --clipboard           # straight to your clipboard\n```\n\n---\n\n## ✨ Features\n\n| | |\n|---|---|\n| 📦 **One file, whole project** | file index + every source file in clean ` ```lang ` blocks |\n| 📊 **Token & line counts** | know exactly how much context you're sending |\n| 🗂️ **Smart scanning** | gitignore-aware, skips `node_modules`, binaries, `.git`, etc. |\n| 🎛️ **Filters** | `--exclude`, `--lang`, `--include`, `--max-files` |\n| 📋 **Clipboard** | `--clipboard` (macOS / Linux / Windows) |\n| 🌍 **50+ languages** | tagged automatically from extensions |\n| 💸 **100% free** | zero dependencies, no AI, no server, no API keys |\n\n## 🔧 Install\n\n```bash\npip install repobundler\n```\n\nNo dependencies. No compiled extensions. Python 3.8+.\n\n## 🐳 Docker\n\n```bash\ndocker pull ghcr.io/dsk-dev-ai/ctx:latest\ndocker run --rm -v \"$PWD:/proj\" -w /proj ghcr.io/dsk-dev-ai/ctx:latest stats\n```\n\n## 🚀 Usage\n\n```bash\nctx [folder]                    # bundle into ./<folder>.ctx.md\nctx -o bundle.md                # pick the output file\nctx src -o src.md               # bundle a subfolder\nctx --stdout > all.txt          # print to a file / pipe anywhere\nctx --clipboard                 # copy the bundle to your clipboard\nctx --no-header                 # skip the title + file index\nctx --files                     # just list what would be bundled\nctx --stats                     # files / size / language breakdown\nctx --lang python rust --lang go   # restrict to certain languages\nctx -x tests -x docs            # extra paths to skip (gitignore-style)\nctx --include \"*.py\"            # only matching file globs\nctx --max-files 50              # cap how many files are included\n```\n\nSee `ctx --help` for the full list.\n\n<details>\n<summary><b>Example bundle output</b></summary>\n\n```markdown\n# myapp\n\n_14 files bundled by ctx_\n\n## File index\n\n- `src/main.py` (Python) — 2.1KB\n- `src/util.py` (Python) — 1.4KB\n- `README.md` (Markdown) — 0.8KB\n\n---\n\n## src/main.py\n\n    ```python\n    import os\n    print(\"hello\")\n    ```\n```\n</details>\n\n## 🧠 How it works\n\n1. **Scan** the folder, honoring `.gitignore` and skipping repos, binaries, `node_modules`, `.venv`, etc.\n2. **Classify** every file by extension into 50+ languages.\n3. **Index** them, then **render** into one markdown file with clean code blocks.\n4. **Count** tokens and lines so you know your context size before you send it.\n\n## 🧪 Tests\n\npython -m pytest\n\n\nTested on Python 3.8–3.12 via GitHub Actions.\n\n## 🤝 Contributing\n\nOpen an issue or a PR. Want a new language or a smarter layout? It's one small module in `ctx/`.\n\n## 📄 License\n\n[MIT](LICENSE).\n\n## ⭐ Support\n\nIf `ctx` saved you a copy-paste marathon, **give it a star** ⭐.\n\nPrefer to support the work directly? Consider [becoming a sponsor](https://github.com/sponsors/dsk-dev-ai) on GitHub — every bit helps keep `ctx` free and dependency-free.\n","repochat-ai":"# RepoChat AI\n\nChat with any GitHub repository using local AI.\n\nUnderstand codebases instantly using natural language.\n\nBuilt with:\nPython • LangChain • Ollama • ChromaDB\n\n⭐ Star this repository if it helps you!\n\n## Demo\n\n![RepoChat Demo](./docs/demo.gif)\n\nIn this example, we run RepoChat on the Next.js repository and ask about routing:\n\n```bash\n$ repochat chat https://github.com/vercel/next.js\nCloning repository...\nLoaded 80 files\nSplit into 600 chunks\nVector database created.\nRepoChat is ready! Ask a question (type 'exit' to quit):\n\n>>> How does routing work in Next.js?\nNext.js uses a file-system based router. ... (AI-generated answer) ...\n```\n\n## Features\n\n- Interactive CLI chat with any GitHub repo\n- Uses local open-source LLMs via Ollama\n- Splits large codebases into searchable chunks\n- Generates responses by retrieving context from code\n\n## Installation\n\n```bash\npip install repochat-ai\n```\n\n(Requires Python 3.8+ and Ollama installed and running locally.)\n\n## Usage\n\n```bash\nrepochat chat https://github.com/username/repo.git\n```\n\nThen ask natural language questions about the code.\n\n## Development\n\nTo run locally from source:\n\n```bash\ngit clone https://github.com/USERNAME/repochat-ai.git\ncd repochat-ai\npip install -e .   # install dependencies\nrepochat chat https://github.com/vercel/next.js\n```\n\n## Contributing\n\nContributions welcome! Please open issues or pull requests. This project follows standard Python packaging guidelines.\n\n## License\n\nMIT License. See LICENSE for details.\n\n## Creating a Demo GIF\n\nA demo GIF significantly increases interest. Steps:\n\n1. **Install Tools:**  \n   - On Windows: [ScreenToGif](https://www.screentogif.com/) or OBS Studio.  \n   - On macOS: [Kap](https://getkap.co/) or QuickTime + ffmpeg.  \n   - On Linux: `gtk-recordmydesktop` or `Peek`.\n\n2. **Record Steps:**  \n   - Show installing (if fresh).  \n   - Run `repochat chat <example-repo>`.  \n   - Type a sample question.  \n   - Copy the answer from terminal.\n\n3. **Edit GIF:**  \n   - Crop to focus on terminal.  \n   - Add slight delays between lines.  \n   - Keep it short (<15s).\n\n4. **Save:** Put the GIF at `docs/demo.gif` in your repo.\n\nAdding `docs/demo.gif` in README makes the project visually appealing, attracting more stars.\n\n## Git Commands (Push to GitHub)\n\nOnce everything is ready, you can push to GitHub:\n\n```bash\ngit init\ngit add .\ngit commit -m \"Initial RepoChat AI release with full code\"\ngit branch -M main\ngit remote add origin https://github.com/YOUR_USERNAME/repochat-ai.git\ngit push -u origin main\n```\n\nReplace YOUR_USERNAME with your GitHub username.\nThis creates a new repository and pushes your code. For future changes, just git add, commit, and push.\n","stalecheck":"# StaleCheck\n\n**Catch stale answers before your users do.**\n\nStaleCheck is a freshness firewall for AI applications. It takes an LLM answer or RAG output,\nbreaks it into atomic claims, verifies the time-sensitive ones against fresh evidence, and\nreturns a verdict, the evidence, and a corrected statement — before the answer reaches a user.\n\n> Global AI Hackathon — Tavily challenge: **Build a Stale-Answer Detector for AI Applications**.\n> MVP scope: API + Python SDK + CLI + JS SDK + dashboard + eval suite, deployable entirely on\n> free tiers.\n\n**Live:** dashboard → https://stalecheck.pages.dev · API → https://stalecheck-api.onrender.com/health\n(free tiers: Cloudflare Pages + Render).\n**Demo video:** [`docs/StaleCheck-Demo.mp4`](docs/StaleCheck-Demo.mp4) · **Pitch deck:** [`docs/StaleCheck-Pitch-Deck.pptx`](docs/StaleCheck-Pitch-Deck.pptx)\n\n---\n\n## The problem\n\nAI apps confidently serve outdated facts: superseded model names, old prices, deprecated API\nendpoints, retired versions, people who no longer hold a role, and RAG answers grounded in docs\nthat were never updated. The model cannot tell that it is stale, and retrieval does not check\nfreshness. Users find out the hard way.\n\n## The solution\n\nA single check turns an answer into a claim-level freshness report:\n\n| Verdict | Meaning |\n|---|---|\n| `fresh` | The claim matches current, sourced information. |\n| `stale` | The claim contradicts current information; a `suggested_fix` is returned. |\n| `unverifiable` | No source can settle it. StaleCheck never guesses. |\n\nThen a policy decides what happens: `annotate`, `auto_refresh` (regenerate with corrected\nfacts), or `block`.\n\n```mermaid\nflowchart LR\n    A[AI answer / RAG] --> B[Extract atomic claims]\n    B --> C[Classify volatility]\n    C --> D{Snapshot knows it?}\n    D -->|yes| E[Verdict + fix]\n    D -->|no| F[Tavily search]\n    F --> G[LLM freshness judge]\n    G --> E\n    E --> H[allow / annotate / refresh / block]\n```\n\n**Why this is cheap:** the snapshot resolves common topics for free; Tavily is only called for\nclaims it cannot settle, and low-volatility claims are skipped entirely. A demo runs on the\nTavily free tier and a rate-limited LLM.\n\n---\n\n## Quickstart (offline, no keys)\n\n```bash\ngit clone <your-repo> stalecheck && cd stalecheck\nuv sync                     # installs API + SDK + CLI + dev tools\nuv run uvicorn stalecheck_api.main:app --reload --port 8000\n```\n\nIn another terminal:\n\n```bash\nuv run stalecheck check \"GPT-4o is the latest OpenAI model.\"\n```\n\n```text\nSTALE  score=1.00  action=annotate  provider=mock  4ms\n┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━┳━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━┓\n┃ Claim                                ┃ Vol. ┃ Verdict ┃ Why                      ┃\n┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━╇━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━┩\n│ GPT-4o is the latest OpenAI model.   │ high │ stale   │ Contradicts a dated fact │\n└──────────────────────────────────────┴──────┴─────────┴──────────────────────────┘\n  fix: GPT-5 is OpenAI's flagship model (released August 2025), succeeding GPT-4o.\n```\n\nDashboard:\n\n```bash\nmake web     # http://localhost:3000\n```\n\n### Live mode (Tavily + LLM)\n\n```bash\ncp .env.example .env\n# set TAVILY_API_KEY, LLM_PROVIDER=groq, LLM_API_KEY\nuv run uvicorn stalecheck_api.main:app --reload --port 8000\n```\n\n---\n\n## What is in v1.0.0\n\n- **API** — FastAPI service with claim extraction, volatility scoring, snapshot + Tavily\n  verification, LLM judging, caching, run history, optional API-key auth.\n- **Python SDK** — `stalecheck` client with sync/async checks and `guard_answer` middleware.\n- **CLI** — `stalecheck check`, `scan` (CI-friendly exit codes), `stats`, `serve`, `version`.\n- **JS SDK** — `@stalecheck/sdk` with `check`, `guardAnswer`, typed responses.\n- **LangChain adapter** — `stalecheck-langchain` `StaleCheckCallbackHandler` for post-answer guarding.\n- **Dashboard** — static Next.js app: checker with optional RAG context, claim drilldown,\n  evidence links, run history, live stats.\n- **Live mode** — Gemini (or any OpenAI-compatible) judge + Tavily live web, with offline\n  snapshot/rule-based fallback.\n- **Evals** — 44 labeled examples with precision/recall/F1, wired into CI as a regression gate.\n- **Deploy** — root `Dockerfile`, `render.yaml`, `fly.toml`, HF Space template, free-tier guide,\n  GitHub Actions web deploy to Cloudflare Pages.\n- **Tests + CI** — pipeline/API/LangChain tests, ruff, eval gate, web and SDK builds.\n\n---\n\n## Repository layout\n\n```\napps/api/stalecheck_api/   FastAPI app, pipeline, verifier, store, routes\napps/web/                  Next.js dashboard (static export)\npackages/sdk-python/       `stalecheck` SDK + CLI\npackages/sdk-js/           `@stalecheck/sdk`\nevals/                     labeled dataset, runner, results\ndocs/                      architecture, API reference, free-tier deploy\n```\n\n---\n\n## API\n\n```bash\ncurl -s localhost:8000/v1/check \\\n  -H 'content-type: application/json' \\\n  -d '{\"text\":\"GPT-4o is the latest OpenAI model.\",\"mode\":\"annotate\",\"use_web\":true}'\n```\n\n| Endpoint | Purpose |\n|---|---|\n| `POST /v1/check` | Check text, return claim-level verdicts |\n| `GET /v1/runs` | Recent runs |\n| `GET /v1/runs/{id}` | Full run detail |\n| `GET /v1/stats` | Aggregate stale rate and latency |\n| `GET /health` | Liveness + provider mode |\n\nFull reference: [`docs/api.md`](docs/api.md). Architecture: [`docs/architecture.md`](docs/architecture.md).\n\n---\n\n## SDKs\n\n### Python\n\n```python\nfrom stalecheck import StaleCheck, guard_answer\n\nsc = StaleCheck(\"http://localhost:8000\")\n\nresult = sc.check(\"GPT-4o is the latest OpenAI model.\")\nprint(result.verdict, result.claims[0].suggested_fix)\n\n# Wrap any LLM answer with a policy\nguarded = guard_answer(\n    answer=answer,\n    checker=sc,\n    mode=\"auto_refresh\",\n    refresh=lambda r: llm(f\"Correct this answer using: {r.claims[0].suggested_fix}\"),\n)\nif guarded.is_stale:\n    print(\"refreshed:\", guarded.refreshed)\n```\n\n### JavaScript / TypeScript\n\n```ts\nimport { StaleCheck, guardAnswer } from \"@stalecheck/sdk\";\n\nconst sc = new StaleCheck({ baseUrl: process.env.STALECHECK_URL! });\n\nconst result = await sc.check({ text: answer, mode: \"annotate\" });\nif (result.verdict === \"stale\") {\n  const guarded = await guardAnswer(sc, answer, {\n    mode: \"auto_refresh\",\n    refresh: (r) => regenerate(r.claims[0]?.suggested_fix),\n  });\n}\n```\n\n### CLI in CI\n\n```bash\nstalecheck scan docs/ --mode block\n# exits 1 if any stale claims are found\n```\n\n---\n\n## Evaluation\n\nOffline (mock + snapshot) on the included 44-example suite:\n\n| Label | Precision | Recall | F1 |\n|---|---|---|---|\n| fresh | 1.000 | 0.929 | 0.963 |\n| stale | 1.000 | 0.778 | 0.875 |\n| unverifiable | 0.706 | 1.000 | 0.828 |\n\nAccuracy **0.886** (39/44). The five misses are deliberately kept as `hard-*` cases and\ndocumented in [`evals/README.md`](evals/README.md); they are the cases the live LLM judge is\ndesigned to resolve. Run it yourself:\n\n```bash\nmake eval\n```\n\n---\n\n## Deploy for $0\n\n| Piece | Free option |\n|---|---|\n| API | Hugging Face Docker Space or Render free web service |\n| Dashboard | Cloudflare Pages (static export) |\n| Search | Tavily free tier (1,000/month) |\n| LLM | Groq or Gemini free tier |\n| DB | SQLite inside the API container |\n| CI | GitHub Actions on a public repo |\n| Domain | `*.pages.dev` / `*.hf.space` / `*.onrender.com` |\n\nStep-by-step: [`docs/deploy.md`](docs/deploy.md).\n\n```bash\ndocker build -t stalecheck-api .\ndocker run --rm -p 8000:8000 -v \"$PWD/data:/data\" --env-file .env stalecheck-api\n```\n\n---\n\n## Roadmap to v1.0.0\n\n| Version | Theme |\n|---|---|\n| **v0.1** | MVP: API, claim pipeline, snapshot + Tavily, Python SDK/CLI, JS SDK, dashboard, evals |\n| v0.2 | Durable storage (Turso/Postgres), publish SDKs to PyPI/npm, framework middleware (LangChain shipped) |\n| v0.3 | Auth, team workspaces, saved policies, scheduled re-checks |\n| v0.4 | GitHub Action + CI regression gates, PR annotations |\n| v0.5 | Optional Bifrost gateway in front of LLM calls (observability + caching) |\n| v0.6 | Plugin packs: pricing, model deprecation, security advisories, legal |\n| v0.7 | Community suites + public freshness leaderboard |\n| v0.9 | Docs site, Docker image, self-host guide, migration tooling |\n| **v1.0.0** | Stable semver API, migration guide, published eval corpus, pricing/SLA |\n\n---\n\n## Hackathon submission mapping\n\n- **Primary theme:** Stale-Answer Detector (Tavily). No merged Bifrost integration, so no\n  primary-theme conflict.\n- **Repository:** public, this README covers install, implementation and technologies.\n- **Pitch deck:** problem → stale example → pipeline → architecture → eval numbers → demo →\n  roadmap.\n- **Demo video:** paste a stale answer, watch it flagged, show the suggested fix and the run\n  history.\n- **Live demo:** optional; the free-tier deployment guide makes it a 15-minute task.\n\n## Limitations\n\n- The bundled snapshot is a **demo corpus** with an `as_of` date, not a live truth source. Set\n  `TAVILY_API_KEY` + an LLM key for real verification.\n- SQLite on free hosting is ephemeral; run history resets on restart.\n- English-first heuristics. The live LLM path is language-agnostic.\n- A public demo API should keep `API_KEY` unset; a static dashboard cannot hold a secret.\n\n## License\n\nMIT — see [`LICENSE`](LICENSE).\n","sandbox-bridge":"# Proving Ground\n\n[![CI](https://github.com/dsk-dev-ai/sandbox-bridge/actions/workflows/ci.yml/badge.svg)](https://github.com/dsk-dev-ai/sandbox-bridge/actions/workflows/ci.yml)\n[![Live demo check](https://github.com/dsk-dev-ai/sandbox-bridge/actions/workflows/live-demo.yml/badge.svg)](https://github.com/dsk-dev-ai/sandbox-bridge/actions/workflows/live-demo.yml)\n[![Live demo](https://img.shields.io/badge/live_demo-open-7cf5c4?style=flat-square)](https://proving-ground-mrm6.onrender.com/demo)\n\n**Proving Ground is a two-sided sandbox for API products.** Developers publish the real contract — endpoints, latency, failure behavior, and the journeys that matter. Buyers run it under normal, stress, and chaos conditions. Both sides get one timestamped proof report before a contract or migration is signed.\n\nThe live demo shows the part most demos skip: a checkout failing, the developer alert through Resend, the exact customer message, and the recovery email.\n\n> No real payments move and no production traffic is touched. That is the point.\n\n## The problem\n\nA product demo is built for the happy path. A purchase depends on the failure path.\n\n| Who | What they cannot answer today |\n| --- | --- |\n| **Buyers** | \"What happens when it times out, rate-limits, or returns a 5xx? Who gets paged? How fast does it recover?\" |\n| **Developers** | \"Can I prove what the customer sees, how reliable we are under load, and that we will know before the customer reports it?\" |\n| **Both** | \"Which artifact do we trust — the slide deck, the staging log, the support ticket, or a screenshot?\" |\n\n## What it does\n\nProving Ground puts the developer and the buyer in the same runnable sandbox:\n\n1. **Publish the real contract.** Model endpoints, latency, failure behavior, and the journeys that matter.\n2. **Run it like the real world.** Normal, stress, or chaos; every request, response, and delay in order.\n3. **Keep one shared proof.** A timestamped report shows what passed, what diverged, what the customer saw, and what happens when it breaks.\n\n## Who it's for\n\n- **API developers and platform teams** who need to close deals with evidence instead of promises, and find integration gaps before buyers do.\n- **Technical buyers and integration teams** who need to test the vendor's failure behavior without a six-week integration project.\n- **Support and on-call teams** who need to know the customer message and the alert path before an incident, not during one.\n\n## Live demo\n\nOpen **<https://proving-ground-mrm6.onrender.com/demo>** to see the working-vs-broken checkout, the exact customer message, and the Resend developer alert in one screen.\n\nThe broken case opens an incident, sends the developer an email with the request ID, latency, and customer-facing message, then suppresses duplicate alerts. The healthy case sends a recovery email and closes the incident.\n\n![Live demo showing the working API, the broken API, and the developer alert card](docs/live-demo.png)\n\n<details>\n<summary>Developer alert email preview</summary>\n\n![Developer alert email with status, request ID, latency, and customer message](docs/alert-email.png)\n\n</details>\n\n<details>\n<summary>Recovery email after the API is healthy again</summary>\n\n![Recovery state with both checkout results and the recovery alert](docs/recovery.png)\n\n</details>\n\nEvery repository visitor can try it without signing in or entering a real card. To publish your own copy, follow [docs/DEPLOY_RENDER.md](docs/DEPLOY_RENDER.md). The `CI` workflow verifies every push, and the `Live demo check` workflow probes the public deployment every 30 minutes.\n\n> The public demo runs on Render's free tier, so it can take up to a minute to wake and its SQLite history resets when the service sleeps. Alert delivery shows an exact email preview until `RESEND_API_KEY`, `ALERT_TO_EMAIL`, and `ALERT_FROM_EMAIL` are added in the Render dashboard. The included Blueprint uses the Starter plan plus a disk for a persistent, always-warm deployment.\n\n## What is included\n\n- **Landing page** explaining the problem, the bridge, and the live proof, with catalog stats.\n- **Sandbox catalog** with search and industry filters.\n- **Sandbox detail** with endpoints, response payloads, scenario flow, and an interactive runner.\n- **Scenario runner** that animates the trace step by step and shows request/response bodies.\n- **Proof reports** with readiness score, reliability, latency, expected vs actual contract, and failures.\n- **Live two-case demo** at `/demo`: the same customer checkout calling a healthy API and a broken API, showing the exact user-facing message in each case, the technical trace, and a real developer email alert through Resend.\n- **Developer studio** to create sandboxes, model endpoints, write scenarios, add steps, publish/unpublish, and delete.\n- **Seeded demo sandboxes** across fintech, developer tools, privacy, and logistics. One scenario intentionally fails to demonstrate how the proof catches a real risk.\n- **Local persistence** in SQLite via Node's built-in `node:sqlite` — no database service required.\n\n## Quick start\n\n```bash\nnpm install\nnpm run dev\n```\n\nOpen <http://localhost:3000>. The database is created and seeded automatically at `data/proving-ground.db` on first request.\n\n```bash\nnpm run lint       # eslint\nnpm run typecheck  # generate route types + tsc --noEmit\nnpm run build      # production build + type checking\nnpm start          # run the production build\nnpm run db:reset   # delete the local database; demo data reseeds on next request\n```\n\nRequires Node.js 22.5+ for `node:sqlite` (Node 24 recommended).\n\n## Live Resend alert demo\n\n`/demo` runs two cases against the same endpoint: a healthy checkout (`200`) and a broken checkout (`503`). When the broken case runs, the app:\n\n1. Records a `down` incident in SQLite.\n2. Builds a developer alert with the status, request ID, latency, and the exact message the customer saw.\n3. Sends it through Resend to `ALERT_TO_EMAIL`.\n4. Suppresses duplicate DOWN emails for the same open incident.\n5. Sends a recovery email and closes the incident the next time the healthy case runs.\n\nConfigure it in `.env.local`:\n\n```bash\nRESEND_API_KEY=re_...\nALERT_TO_EMAIL=you@example.com\nALERT_FROM_EMAIL=\"Proving Ground <alerts@yourdomain.com>\"\nDEMO_ALERT_COOLDOWN_SECONDS=180\n# Optional, for the \"Open the incident\" link in the email:\nAPP_URL=https://proving-ground.example.com\n```\n\n`ALERT_FROM_EMAIL` must be a verified sender in Resend. For first-run testing, `onboarding@resend.dev` can deliver to the address that owns the Resend account.\n\nWithout a key, the pipeline still records every incident and the UI shows a preview of the email, but delivery is marked `skipped`. Set `DEMO_ALERT_COOLDOWN_SECONDS=0` when demoing to several buyers in a row. `RESEND_API_URL` can point at a local mock server during tests.\n\n### Docker\n\n```bash\ndocker build -t proving-ground .\ndocker run --rm -p 3000:3000 \\\n  -v \"$PWD/data:/app/data\" \\\n  -e RESEND_API_KEY=re_... \\\n  -e ALERT_TO_EMAIL=you@example.com \\\n  -e ALERT_FROM_EMAIL=\"Proving Ground <alerts@yourdomain.com>\" \\\n  proving-ground\n```\n\nThe named volume keeps sandboxes and proof reports between restarts.\n\n## Publish on GitHub + Render\n\nThis repository is published at <https://github.com/dsk-dev-ai/sandbox-bridge>, and the public demo runs at <https://proving-ground-mrm6.onrender.com/demo>.\n\n- `render.yaml` defines the web service, a 1 GB disk for SQLite, and the required environment variables for a persistent deployment.\n- `.github/workflows/ci.yml` runs lint, typecheck, build, and a smoke test of both checkout modes on every push.\n- `.github/workflows/live-demo.yml` probes the public deployment every 30 minutes and shows a status badge.\n- [docs/DEPLOY_RENDER.md](docs/DEPLOY_RENDER.md) walks through creating the GitHub repo, applying the Render Blueprint, adding the Resend secrets, and setting the `DEMO_URL` repository variable.\n\n[![Deploy to Render](https://render.com/images/deploy-to-render-button.svg)](https://render.com/deploy?repo=https://github.com/dsk-dev-ai/sandbox-bridge)\n\nFor your own deployment, update the demo URL and badge in this README plus the `DEMO_URL` repository variable.\n\n## How a run is scored\n\nEach scenario step asserts a status code and an optional token that must appear in the response body. A step passes only when both match.\n\nThe simulation adds:\n\n- **Normal** — the provider's published error rate and latency.\n- **Stress** — 1.7x latency and +5 percentage points of failures.\n- **Chaos** — 2.4x latency and +12 percentage points of failures.\n\nThe readiness score is weighted:\n\n```\n55% × pass rate\n25% × reliability (1 - injected failure rate)\n20% × endpoint coverage (endpoints exercised ÷ endpoints published)\n```\n\nA single happy-path scenario cannot fake a high score because coverage and reliability are part of the verdict.\n\n## Routes\n\n| Route | Purpose |\n| --- | --- |\n| `/` | Product story and live stats |\n| `/demo` | Live working-vs-broken API demo with real fetch calls |\n| `/catalog` | Published sandboxes |\n| `/sandbox/[slug]` | Contract, scenarios, runner, recent runs |\n| `/runs` | All proof reports |\n| `/runs/[id]` | Detailed, shareable proof report |\n| `/provider` | Developer studio dashboard |\n| `/provider/new` | Create a sandbox |\n| `/provider/[id]` | Edit endpoints, scenarios, publication |\n\n### API\n\n| Method | Route | Purpose |\n| --- | --- | --- |\n| `GET` / `POST` | `/api/sandboxes` | List or create sandboxes |\n| `GET` / `PATCH` / `DELETE` | `/api/sandboxes/[id]` | Read, update, or delete a sandbox |\n| `POST` | `/api/sandboxes/[id]/endpoints` | Add an endpoint |\n| `DELETE` | `/api/endpoints/[id]` | Remove an endpoint (and dependent steps) |\n| `POST` | `/api/sandboxes/[id]/scenarios` | Add a scenario |\n| `DELETE` | `/api/scenarios/[id]` | Remove a scenario |\n| `POST` | `/api/scenarios/[id]/steps` | Add a step |\n| `DELETE` | `/api/steps/[id]` | Remove a step |\n| `POST` | `/api/scenarios/[id]/run` | Run a scenario (`{ \"mode\": \"normal\" }`) |\n| `GET` | `/api/runs` | List proof reports |\n| `GET` / `POST` | `/api/demo/checkout` | Live demo endpoint; `mode=healthy` (200) or `mode=broken` (503) |\n| `GET` / `POST` | `/api/demo/notify` | Alert history / run the down or recovery alert through Resend |\n\nTry the demo endpoint directly:\n\n```bash\ncurl -i \"http://localhost:3000/api/demo/checkout?mode=healthy\"\ncurl -i \"http://localhost:3000/api/demo/checkout?mode=broken\"\n```\n\n## Project layout\n\n```\nsrc/\n  app/\n    page.tsx                 landing\n    catalog/                 customer catalog\n    sandbox/[slug]/          sandbox detail + runner\n    runs/                    proof report list and detail\n    provider/                developer studio\n    api/                     route handlers\n  components/                nav, footer, UI, runner, studio editor\n  lib/\n    db.ts                    SQLite connection, schema, demo seed\n    store.ts                 queries and mutations\n    simulate.ts              scenario execution and scoring\n    types.ts                 shared domain types\n    utils.ts                 formatting helpers\n    resend.ts                Resend email delivery\n    demo-alert-template.ts   shared email + preview template\n    demo-alert-store.ts      demo alert persistence\n    demo-alert-service.ts    incident, dedupe, recovery, delivery\n.github/workflows/           CI and live deployment check\ndocs/                        live-demo screenshots + Render guide\nrender.yaml                  one-click Render Blueprint\n```\n\n## Design decisions\n\n- **No native dependencies.** `node:sqlite` ships with Node, so the demo starts with `npm install` alone.\n- **Server-side simulation.** Contract rules, error injection, and scoring stay on the server. The client only animates the returned trace.\n- **Immutable reports.** A run stores the mode, chaos level, latency, response status, response body, and assertion result for every step.\n- **Drafts are previewable.** A draft sandbox is reachable by direct link but excluded from the catalog, matching how provider workspaces usually behave.\n\n## Limitations and next steps\n\nThis is a complete local product demo, not a production SaaS. To take it further:\n\n- Add authentication, organizations, and per-provider ownership.\n- Replace mock responses with a real proxy layer and contract recordings.\n- Move from SQLite to Postgres and add object storage for large traces.\n- Add scheduled runs, webhooks, and pass/fail regression gates.\n- Add customer comments on a proof report and provider responses.\n- Add billing for private sandboxes and team seats.\n- Turn the demo alert pipeline into per-user notification settings with retries, delivery webhooks, and additional channels. Today it delivers to one env-configured address and is intentionally demo-scoped.\n\nThe data layer is intentionally isolated in `src/lib/store.ts`, so swapping persistence does not require changing the UI.\n","attendance-study-toolkit":"# Attendance & Study Toolkit\n\n### Offline-first Android student productivity app — attendance tracking, timetable, study planning, and focus.\n\n[![TypeScript](https://img.shields.io/badge/TypeScript-6.0-3178c6?logo=typescript&logoColor=white)](https://www.typescriptlang.org)\n[![Expo](https://img.shields.io/badge/Expo-57-000?logo=expo&logoColor=white)](https://expo.dev)\n[![React Native](https://img.shields.io/badge/React%20Native-0.86-61dafb?logo=react&logoColor=white)](https://reactnative.dev)\n[![License](https://img.shields.io/github/license/dsk-dev-ai/attendance-study-toolkit)](LICENSE)\n\n> **status:** project scaffold — Expo 57 (React Native 0.86) app with `expo-router`, typed routes,\n> the React Compiler, Reanimated, and native glass effects wired up. The student features below are\n> the product roadmap, not yet implemented.\n\n---\n\n## Goal\n\nAn everyday app for students — no account, no cloud:\n\n- **Attendance** — mark and visualize subject-wise attendance\n- **Timetable** — class schedule with today/next-class glance\n- **Study planning** — track topics, deadlines, and revision\n- **Focus** — study sessions with simple timers\n\nAll data stays **on-device** (offline-first); no signup, no telemetry.\n\n## Stack\n\n| Layer | Choice |\n| --- | --- |\n| Framework | Expo SDK 57 + React Native 0.86 |\n| Navigation | expo-router (typed routes) |\n| UI | React Native primitives + `@expo/ui`, Reanimated, glass effects |\n| Language | TypeScript (~6.0) |\n| Build | Expo managed workflow, EAS-ready |\n\n## Getting started\n\n```bash\nnpm install\nnpx expo start            # dev server\nnpx expo start --android  # emulator/device\nnpx expo start --web      # browser (static output)\nnpx expo lint             # lint\n```\n\nRequires the [Expo Go](https://expo.dev/go) app (or a development build) for device testing.\n\n## Project layout\n\n```\nsrc/app/             expo-router routes (_layout, index, explore)\nsrc/components/       shared UI (themed components, app tabs)\nsrc/hooks/            color scheme & theme hooks\nsrc/constants/        design tokens\n```\n\n## Roadmap\n\n- [ ] Attendance tracker (on-device storage)\n- [ ] Timetable editor + today/next-class widget\n- [ ] Study planner (topics, deadlines, revision queue)\n- [ ] Focus timer (Pomodoro-style)\n- [ ] Data export / backup\n\n## License\n\n[MIT](LICENSE)","ai-toolkit-saas":"# AI Toolkit SaaS\n\nAI-powered content generation platform using Google Gemini and FastAPI.\n\n## Features\n\n- Blog, tweet, and YouTube script generation via Gemini AI\n- Bearer-token authentication\n- Per-token daily rate limiting\n- Prompt-level response caching\n- CORS-protected frontend integration\n\n## Setup\n\n### Backend\n\n```bash\ncd backend\npip install -r requirements.txt\n\n# Copy and edit environment variables\ncp ../.env.example ../.env\n# Edit .env with your GEMINI_API_KEY and a secret API_TOKEN\n```\n\n### Frontend\n\n```bash\ncd frontend\nnpm install\nnpm start\n```\n\nThe React app runs on `http://localhost:3000` by default.\n\n## Running\n\n```bash\ncd backend\nuvicorn app.main:app --reload --port 8000\n```\n\n## API Usage\n\n### `POST /generate`\n\nRequires a valid Bearer token in the `Authorization` header.\n\n```bash\ncurl -X POST http://127.0.0.1:8000/generate \\\n  -H \"Authorization: Bearer YOUR_API_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"topic\": \"AI tools for students\"}'\n```\n\n**Response:**\n\n```json\n{\n  \"result\": \"...\",\n  \"source\": \"ai\"\n}\n```\n\n### `GET /health`\n\n```bash\ncurl http://127.0.0.1:8000/health\n```\n\n## License\n\nMIT\n","artlab":"<div align=\"center\">\n\n# 🎨 artlab\n\n**ASCII art in your terminal.**\n\nBundled retro art, big block-letter text, rainbow colors, and animation.\nZero dependencies. Works in Python 3.8+.\n\n[![PyPI](https://img.shields.io/pypi/v/artlab?color=blue&logo=pypi&logoColor=white)](https://pypi.org/project/artlab/)\n[![Python](https://img.shields.io/badge/python-3.8%20%7C%203.9%20%7C%203.10%20%7C%203.11%20%7C%203.12-blue)](#)\n[![License](https://img.shields.io/badge/license-MIT-green)](#)\n[![Docker](https://img.shields.io/badge/docker-ghcr.io%2Fdsk--dev--ai%2Fartlab-blue?logo=docker)](https://github.com/dsk-dev-ai/artlab/pkgs/container/artlab)\n\n</div>\n\n---\n\n## Why artlab?\n\nBecause the terminal deserves a little personality.\n\n- **Bundled ASCII art** — robots, cats, dragons, unicorns, yoda, octopuses, hearts and more.\n- **Block-letter text** — print any word big, `figlet`-style, with zero dependencies.\n- **Rainbow & colors** — 256-color palettes, or dims down for your pipelines.\n- **Animation** — reveal art with a slick frame-by-frame intro.\n- **Zero dependencies** — pure Python stdlib. No install drama.\n\n## Install\n\n```bash\npip install artlab\n```\n\nOr run without installing:\n\n```bash\npipx run artlab --help\n```\n\nVia Docker:\n\n```bash\ndocker run --rm ghcr.io/dsk-dev-ai/artlab --help\n```\n\n## Usage\n\n```bash\n# Show a random piece\nartlab\n\n# Show a specific piece\nartlab robot\nartlab cat\nartlab dragon\n\n# List everything\nartlab -l\n\n# Print big block text\nartlab --text \"SHIP IT\"\nartlab -t \"artlab\" -c cyan\n\n# Force a palette\nartlab robot -c green\nartlab dragon -c magenta\n\n# Animate the reveal\nartlab unicorn -a\n\n# No color (for scripts / piping)\nartlab robot --no-color\n```\n\n### Options\n\n| Flag | Description |\n|------|-------------|\n| `-l, --list` | List all available pieces |\n| `-r, --random` | Show a random piece |\n| `-t, --text TEXT` | Render text as big block letters |\n| `-c, --color` | Palette: `rainbow`, `green`, `cyan`, `magenta`, `none` |\n| `-w, --width N` | Pad art to a fixed width |\n| `--no-center` | Don't center the art |\n| `-a, --animate` | Reveal the art with an animation |\n| `--no-color` | Disable color output |\n| `--version` | Print version |\n\n## Gallery\n\nRun `artlab` to see a random piece, or `artlab -l` to browse the full library.\nEverything is bundled — no API, no network, no nonsense.\n\n```\n   /\\_/\\\n  ( o.o )\n   > ^ <\n  /     \\\n  \\_____/  meow\n```\n\n## Tests\n\n```bash\npython -m pytest\n```\n\nTested on Python 3.8–3.12 via GitHub Actions.\n\n## Sponsor\n\nLike `artlab`? Keep the terminal artsy for free by [becoming a sponsor](https://github.com/sponsors/dsk-dev-ai) on GitHub 💜.\n\n---\n\n<div align=\"center\">\n\n**artlab** · because the terminal deserves art.\n\n</div>\n","env-proof":"# env-proof\n\n> **Prove your environment before you run.**\n> Validate your app's environment against a typed contract — fail fast in local dev and CI, never leak secrets.\n\n**Status:** under active development — v1.0.0 coming soon. See [SPEC.md](SPEC.md) for the exact V1 specification.\n\n## Quickstart (preview)\n\n```ts\n// env.contract.ts\nexport default {\n  DATABASE_URL: { required: true, type: 'url' },\n  PORT:         { required: true, type: 'number', min: 1, max: 65535 },\n  NODE_ENV:     { required: true, type: 'enum', values: ['development', 'test', 'production'] },\n} as const;\n```\n\n```bash\nnpx env-proof   # ✓ pass → exit 0 · ✗ fail → every problem listed, exit 1\n```\n\n## What it is NOT\n\n- Not dotenv — it does not load `.env` files.\n- Not a config framework — one job only: verify the environment satisfies the contract.\n- No secret management, no coercion — values are checked exactly as provided.\n\n---\n\nMIT © 2026 dsk-dev-ai\n"},"activity":[{"type":"PushEvent","repo":"dsk-dev-ai/stalecheck","action":"pushed `main` to","detail":"","created_at":"2026-11-10T17:33:05Z"},{"type":"PushEvent","repo":"dsk-dev-ai/paypilot-ai","action":"pushed `main` to","detail":"","created_at":"2026-11-09T10:10:40Z"},{"type":"PushEvent","repo":"dsk-dev-ai/paypilot-ai","action":"pushed `chore/refresh-paypilot-ai-ui` to","detail":"","created_at":"2026-11-09T10:10:43Z"},{"type":"PushEvent","repo":"dsk-dev-ai/sandbox-bridge","action":"pushed `main` to","detail":"","created_at":"2026-11-07T02:41:32Z"},{"type":"PublicEvent","repo":"dsk-dev-ai/mcp-nexus","action":"made public","detail":"","created_at":"2026-09-23T15:08:20Z"}],"contributions":{"upstream":[{"repo":"microsoft/agentrc","number":369,"title":"fix(instructions): deduplicate nested AGENTS.md content","url":"https://github.com/microsoft/agentrc/pull/369","merged_at":"2026-09-21T04:15:02Z","author":"digitarald","via":"commits"},{"repo":"microsoft/agentrc","number":368,"title":"fix(vscode): honor nested batch instructions","url":"https://github.com/microsoft/agentrc/pull/368","merged_at":"2026-09-21T04:08:50Z","author":"digitarald","via":"commits"},{"repo":"mdn/content","number":45399,"title":"docs(glossary): add Interface glossary page","url":"https://github.com/mdn/content/pull/45399","merged_at":"2026-08-31T18:04:13Z","author":"dsk-dev-ai","via":"author"},{"repo":"mdn/content","number":45326,"title":"fix(css): consolidate nested grid example","url":"https://github.com/mdn/content/pull/45326","merged_at":"2026-08-27T07:39:36Z","author":"dsk-dev-ai","via":"author"},{"repo":"mdn/content","number":44763,"title":"docs(wasm): correct min_u output description","url":"https://github.com/mdn/content/pull/44763","merged_at":"2026-07-17T10:17:52Z","author":"dsk-dev-ai","via":"author"},{"repo":"mdn/content","number":44727,"title":"Fix misleading createAttributeNS() namespace guidance and examples","url":"https://github.com/mdn/content/pull/44727","merged_at":"2026-07-17T07:05:16Z","author":"dsk-dev-ai","via":"author"},{"repo":"mdn/content","number":43471,"title":"docs: add payload size limit note to navigator.sendBeacon()","url":"https://github.com/mdn/content/pull/43471","merged_at":"2026-03-19T20:33:03Z","author":"dsk-dev-ai","via":"author"},{"repo":"mdn/content","number":43474,"title":"Fix console timestamp data","url":"https://github.com/mdn/content/pull/43474","merged_at":"2026-03-18T10:10:56Z","author":"dsk-dev-ai","via":"author"},{"repo":"firstcontributions/first-contributions","number":113631,"title":"Add dsk-dev-ai to Contributors list","url":"https://github.com/firstcontributions/first-contributions/pull/113631","merged_at":"2026-03-16T02:56:46Z","author":"dsk-dev-ai","via":"author"}],"org":[{"repo":"nextgenai-labs/uuid-generator-pro","number":6,"title":"chore: complete final release audit for v1.0.0","url":"https://github.com/nextgenai-labs/uuid-generator-pro/pull/6","merged_at":"2026-07-27T16:15:18Z","author":"dsk-dev-ai","via":"author"},{"repo":"nextgenai-labs/uuid-generator-pro","number":5,"title":"docs: prepare marketplace documentation and assets","url":"https://github.com/nextgenai-labs/uuid-generator-pro/pull/5","merged_at":"2026-07-27T14:17:33Z","author":"dsk-dev-ai","via":"author"},{"repo":"nextgenai-labs/uuid-generator-pro","number":4,"title":"feat: add export and productivity features","url":"https://github.com/nextgenai-labs/uuid-generator-pro/pull/4","merged_at":"2026-07-27T14:00:30Z","author":"dsk-dev-ai","via":"author"},{"repo":"nextgenai-labs/uuid-generator-pro","number":3,"title":"feat: enhance user interface and experience","url":"https://github.com/nextgenai-labs/uuid-generator-pro/pull/3","merged_at":"2026-07-27T13:40:07Z","author":"dsk-dev-ai","via":"author"},{"repo":"nextgenai-labs/uuid-generator-pro","number":2,"title":"feat: implement uuid generation engine","url":"https://github.com/nextgenai-labs/uuid-generator-pro/pull/2","merged_at":"2026-07-27T13:25:47Z","author":"dsk-dev-ai","via":"author"},{"repo":"nextgenai-labs/uuid-generator-pro","number":1,"title":"feat: complete project foundation","url":"https://github.com/nextgenai-labs/uuid-generator-pro/pull/1","merged_at":"2026-07-27T12:48:00Z","author":"dsk-dev-ai","via":"author"},{"repo":"nextgenai-labs/nextjs-saas-starter","number":8,"title":"feat(devops): implement production deployment foundation","url":"https://github.com/nextgenai-labs/nextjs-saas-starter/pull/8","merged_at":"2026-07-26T15:14:09Z","author":"dsk-dev-ai","via":"author"},{"repo":"nextgenai-labs/nextjs-saas-starter","number":7,"title":"feat(saas): implement reusable SaaS core foundation","url":"https://github.com/nextgenai-labs/nextjs-saas-starter/pull/7","merged_at":"2026-07-26T14:58:17Z","author":"dsk-dev-ai","via":"author"},{"repo":"nextgenai-labs/nextjs-saas-starter","number":6,"title":"feat(dashboard): implement production dashboard foundation","url":"https://github.com/nextgenai-labs/nextjs-saas-starter/pull/6","merged_at":"2026-07-26T14:34:10Z","author":"dsk-dev-ai","via":"author"},{"repo":"nextgenai-labs/nextjs-saas-starter","number":5,"title":"feat(database): implement production backend foundation","url":"https://github.com/nextgenai-labs/nextjs-saas-starter/pull/5","merged_at":"2026-07-26T12:01:48Z","author":"dsk-dev-ai","via":"author"},{"repo":"nextgenai-labs/nextjs-saas-starter","number":3,"title":"feat(auth): implement production authentication system","url":"https://github.com/nextgenai-labs/nextjs-saas-starter/pull/3","merged_at":"2026-07-26T11:44:34Z","author":"dsk-dev-ai","via":"author"},{"repo":"nextgenai-labs/nextjs-saas-starter","number":2,"title":"feat: implement production-ready design system","url":"https://github.com/nextgenai-labs/nextjs-saas-starter/pull/2","merged_at":"2026-07-26T11:19:18Z","author":"dsk-dev-ai","via":"author"},{"repo":"nextgenai-labs/nextjs-saas-starter","number":1,"title":"feat: initialize project foundation","url":"https://github.com/nextgenai-labs/nextjs-saas-starter/pull/1","merged_at":"2026-07-26T10:59:34Z","author":"dsk-dev-ai","via":"author"},{"repo":"nextgenai-labs/gitai","number":7,"title":"feat: add AI-powered commit generation","url":"https://github.com/nextgenai-labs/gitai/pull/7","merged_at":"2026-06-24T07:53:31Z","author":"dsk-dev-ai","via":"author"},{"repo":"nextgenai-labs/gitai","number":6,"title":"feat: add conventional commit support","url":"https://github.com/nextgenai-labs/gitai/pull/6","merged_at":"2026-06-24T07:27:03Z","author":"dsk-dev-ai","via":"author"},{"repo":"nextgenai-labs/gitai","number":5,"title":"feat: add git diff based commit suggestions","url":"https://github.com/nextgenai-labs/gitai/pull/5","merged_at":"2026-06-24T07:16:13Z","author":"dsk-dev-ai","via":"author"}],"recent":[{"repo":"dsk-dev-ai/bugdrop-portfolio","number":8,"title":"release: v1.5.0 — cabinet export and reset","url":"https://github.com/dsk-dev-ai/bugdrop-portfolio/pull/8","merged_at":"2026-11-02T12:53:14Z","author":"dsk-dev-ai","via":"author"},{"repo":"dsk-dev-ai/bugdrop-portfolio","number":7,"title":"release: v1.4.0 — unlocked superpower profile","url":"https://github.com/dsk-dev-ai/bugdrop-portfolio/pull/7","merged_at":"2026-11-02T12:49:57Z","author":"dsk-dev-ai","via":"author"},{"repo":"dsk-dev-ai/bugdrop-portfolio","number":6,"title":"docs: v1.3.1 — submission screenshots","url":"https://github.com/dsk-dev-ai/bugdrop-portfolio/pull/6","merged_at":"2026-11-02T12:46:37Z","author":"dsk-dev-ai","via":"author"},{"repo":"dsk-dev-ai/bugdrop-portfolio","number":5,"title":"release: v1.3.0 — AWS architecture on the live site","url":"https://github.com/dsk-dev-ai/bugdrop-portfolio/pull/5","merged_at":"2026-11-02T12:42:26Z","author":"dsk-dev-ai","via":"author"},{"repo":"dsk-dev-ai/bugdrop-portfolio","number":4,"title":"release: v1.2.0 — capsule cabinet and shareable deep links","url":"https://github.com/dsk-dev-ai/bugdrop-portfolio/pull/4","merged_at":"2026-11-02T12:39:17Z","author":"dsk-dev-ai","via":"author"},{"repo":"dsk-dev-ai/bugdrop-portfolio","number":3,"title":"release: v1.1.0 — deploy readiness polish","url":"https://github.com/dsk-dev-ai/bugdrop-portfolio/pull/3","merged_at":"2026-11-02T12:16:03Z","author":"dsk-dev-ai","via":"author"},{"repo":"dsk-dev-ai/bugdrop-portfolio","number":2,"title":"chore: point repository links at the published repo","url":"https://github.com/dsk-dev-ai/bugdrop-portfolio/pull/2","merged_at":"2026-11-02T12:07:08Z","author":"dsk-dev-ai","via":"author"},{"repo":"dsk-dev-ai/bugdrop-portfolio","number":1,"title":"release: BUG DROP v1.0.0","url":"https://github.com/dsk-dev-ai/bugdrop-portfolio/pull/1","merged_at":"2026-11-02T12:02:47Z","author":"dsk-dev-ai","via":"author"},{"repo":"dsk-dev-ai/sheetcraft","number":18,"title":"Add freeze panes","url":"https://github.com/dsk-dev-ai/sheetcraft/pull/18","merged_at":"2026-11-02T04:40:34Z","author":"dsk-dev-ai","via":"author"},{"repo":"dsk-dev-ai/sheetcraft","number":17,"title":"Add charts","url":"https://github.com/dsk-dev-ai/sheetcraft/pull/17","merged_at":"2026-11-01T01:42:33Z","author":"dsk-dev-ai","via":"author"},{"repo":"dsk-dev-ai/sheetcraft","number":16,"title":"Add sorting and filtering","url":"https://github.com/dsk-dev-ai/sheetcraft/pull/16","merged_at":"2026-11-01T01:16:57Z","author":"dsk-dev-ai","via":"author"},{"repo":"dsk-dev-ai/sheetcraft","number":15,"title":"Add multiple sheets","url":"https://github.com/dsk-dev-ai/sheetcraft/pull/15","merged_at":"2026-11-01T01:12:15Z","author":"dsk-dev-ai","via":"author"}],"org_repos":[{"repo":"nextgenai-labs/ForgeOS","count":118,"private":true},{"repo":"nextgenai-labs/uuid-generator-pro","count":6,"private":false},{"repo":"nextgenai-labs/nextjs-saas-starter","count":7,"private":false},{"repo":"nextgenai-labs/gitai","count":3,"private":false},{"repo":"nextgenai-labs/nextgenai-platform","count":19,"private":false}]}}