Skip to content
View muhammetsafak's full-sized avatar
👨‍💼
Polyglot Software Engineer & System Architect
👨‍💼
Polyglot Software Engineer & System Architect

Organizations

@InitPHP @InitORM @Parantaj @signallockapp @CommitBrief @BabelQueue @bulutklinik

Block or report muhammetsafak

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
muhammetsafak/README.md

Hi, I'm Muhammet Şafak 👋

Polyglot Software Engineer & System Architect

Website sade.dev LinkedIn X Medium YouTube Email

Profile views


I've been building software since 2008. Today I design the microservice and event-driven architecture of high-traffic systems across the PHP, Go, Python and JavaScript ecosystems — focused on the problem, not the language.

What I learn from that work ends up across a few channels, each with a clear role.

✍️ Where I write

Channel What you'll find Language
muhammetsafak.com.tr Applied development journal — what I built, how I built it, what broke TR - EN
sade.dev Architecture manifesto — production backend & systems decisions, the trade-offs behind them TR - EN
YouTube What text can't carry — process, side-by-side comparisons, walkthroughs TR

The line between the two sites is intentional: the journal is applied — granular, project-by-project, in the first person. sade.dev is the principled side — timeless, impersonal, the architecture I'd defend in a design review.

🎯 Now

Architecting the event-driven, microservice backbone of high-traffic systems at Bulutklinik — designing for failure, scale, and the long run. Writing on muhammetsafak.com.tr since 2014, one month at a time — distilling production decisions into something worth reading.

🚀 Open source & projects

  • CommitBrief (github) — Local LLM-powered code review CLI for git diffs. Review staged changes, commits, branches, or PRs in your terminal — provider-agnostic (Anthropic, OpenAI, Gemini, Ollama, or your local Claude/Gemini/Codex CLI). Written in Go, GPL-3.0.
  • BabelQueue (github) — Language-agnostic message queue standard: one strict JSON envelope that Laravel, Symfony, Go, Python, Java, .NET and Node.js all speak — over the broker you already run (Redis, RabbitMQ). Drops PHP's serialize() lock-in, adds URN routing and built-in trace_id for cross-service tracing. No sidecar or proxy. SDKs for six languages, MIT-licensed.
  • QueryProxy (github) — Self-hosted access control layer between developers and production databases: nobody gets credentials, everybody gets a query. AST-based SQL guards reject unprotected UPDATE/DELETE and inject row limits, DBAs approve from the web UI or Slack/Teams, results come back masked-at-write with an immutable audit trail. PostgreSQL, MySQL, MariaDB, SQL Server and SQLite. A single Laravel monolith, no external services required, AGPL-3.0.
  • Contextator (github) — Turns a pile of documentation into a private MCP endpoint your agent can actually search. Point a project at local directories, git repos, uploads or Notion; it does markdown-aware chunking with heading breadcrumbs and incremental re-indexing by file hash. Embeddings run locally on CPU by default — OpenAI is optional, not assumed. TypeScript, PostgreSQL + pgvector, one Docker container, AGPL-3.0.
  • RAGmux (github) — Self-hosted AI gateway: one OpenAI-compatible /v1/chat/completions endpoint in front of OpenAI, Anthropic, Gemini, DeepSeek, Ollama or anything else that speaks the protocol — with RAG, per-project rate limits, token budgets and audit logging built in. Two containers, no Redis, no separate vector database: users, documents, vectors and metrics all live in one PostgreSQL. Written in Go, AGPL-3.0.
  • Regnarium — A 4X strategy game that respects your evening: a full conquest on a 480-hex map in 30–45 minutes. Diceless combat that shows the damage before you commit, three AI personalities that don't cheat, seed-based maps you can share and replay. Runs entirely on-device — no servers, no accounts, no telemetry — in the browser today, iOS and Android next.

Most of what I open-source is built outside of work — because I enjoy it. If something here helps you, a ⭐ is always appreciated.

For everything else I've built, see the Portfolio page. I also gather what I build under a few umbrellas, each with its own remit:

  • Parva Machina (github) — A one-person game studio, no publisher and no funding. Browser games — strategy, puzzle, simulation — that stay playable in airplane mode: no accounts, no telemetry, no hidden dice. Regnarium above is one of them.
  • Tignex (github) — The engineering organization behind the developer tooling: self-hostable, forkable, built for systems already in production. Every project keeps its own name and repo; the decisions and trade-offs behind them are written down in public.
  • Tunedness (github) — Applied AI research and engineering. Most AI projects stall in the last 10% — fine-tuning, retrieval, agents, evals, cost — and that's where the work starts. Everything ships behind eval gates, and the client keeps the weights, prompts and infrastructure.

🛠️ Tech stack

Languages

PHP Go Python JavaScript TypeScript

Frameworks & tools

Laravel Composer Git Linux

Data & infrastructure

PostgreSQL MySQL Redis RabbitMQ Elasticsearch MongoDB


The fastest way to reach me is info@muhammetsafak.com.tr.

Pinned Loading

  1. CommitBrief/commitbrief CommitBrief/commitbrief Public

    Local LLM code review CLI for git diffs — review staged/unstaged changes, any git diff range, or a GitHub PR, right in your terminal.

    Go 10

  2. InitPHP/Socket InitPHP/Socket Public

    Lightweight TCP, UDP, TLS and SSL socket toolkit for PHP 8.1+. Enum-driven factory, non-blocking select-driven server loop, and a per-transport Channel strategy.

    PHP 11

  3. Contextator/Contextator Contextator/Contextator Public

    Turn any collection of documentation into a private, semantically searchable MCP endpoint — one URL per project, self-hosted in one Docker container.

    TypeScript

  4. Ragmux/ragmux Ragmux/ragmux Public

    Self-hosted AI gateway: OpenAI-compatible proxy for OpenAI, Anthropic, Gemini, DeepSeek, Ollama and vLLM with built-in RAG, in a single container

    Go

  5. QueryProxy/QueryProxy QueryProxy/QueryProxy Public

    Self-hosted database access control & query approval portal — developers submit SQL, DBAs approve from web or Slack, results come back limited, masked and audited.

    PHP

  6. signallockapp/macos signallockapp/macos Public

    Menu-bar app that auto-locks your Mac when a trusted Bluetooth device (Apple Watch, AirPods, BLE tag) moves out of range. Fully local, no telemetry.

    Swift