I have been writing software for years, and since 2016 I have published the parts I thought others could use.

Everything here is open source. Work I have done for companies is not included.

Get in touch: /contact

Projects I contributed to

erlang/otp The Erlang runtime and its standard libraries.

golang/go The Go compiler, runtime and standard library.

twitter/the-algorithm The source of X's recommendation algorithm.

rust-lang/rust The Rust compiler and standard library.

ejabberd A scalable XMPP, MQTT and SIP messaging server.

moq-dev/web-transport A Rust WebTransport library for native and WASM.

Notable things I wrote

libraries

keshvar

Every country's data: ISO names, currency, languages, phone codes, subdivisions, geo bounds and translations.  GitHub

tanzim

Configuration pipeline: load, parse, merge, validate. Every value and every error knows its file, line and column.  GitHub

director

A supervisor for Erlang/Elixir processes built for speed and flexibility, with children kept in a list, a map, ETS or Mnesia.  GitHub

sockerl

TCP servers, clients and connection pools for Erlang/Elixir, with SSL.  GitHub

utilities

tir

time.ir in your shell: today in the Persian and Gregorian calendars, with desktop notifications.  GitHub

sssh

Pick a server from a list and connect. A small SSH launcher.  GitHub

pcrypt

Archive, encrypt (AES-256) and compress (Zstd) a directory in one ~1 MB binary.  GitHub

applications

borhan

Memory for AI agents. Search by idea, in English and Persian, over MCP, the command line or HTTP.  GitHub

espai

Any agent that can run curl gets a real browser. No SDK, no MCP, no API key.  GitHub

mcpd

A ~3 MB MCP daemon: any script becomes a tool for AI assistants.  GitHub

plogia

A blog that reads like a Telegram channel: Markdown posts, real view counts, email subscribers, RSS.  GitHub