Skip to content
View Lax3n's full-sized avatar
🎯
Focusing
🎯
Focusing
  • Université Côte d'Azur
  • Nice
  • 09:45 (UTC +01:00)

Highlights

  • Pro

Organizations

@GDGunica

Block or report Lax3n

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. 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
Lax3n/README.md

Typing SVG


👋 About me

  • 🎓 Master's student in Mathematical Engineering, with a Bachelor's degree in Mathematics applied to Economics
  • 🌪 Founder of TornadoAPI
  • 💻 I really love to code: most of what I learned, I learned by building things
  • 🍽 My very first projects were restaurant reservation bots, written entirely by hand, back before there was any AI to help with code
  • 👟 Then came sneaker bots: that is where I picked up networking, proxies, automation and the habit of making things fast
    • SSL proxying to capture and read the traffic of an app or a site
    • SSL pinning: understanding how apps pin their certificates, and how to get past it to see the traffic
    • Rebuilding the full request flow by hand (login, cart, checkout), step by step, from what the capture shows
  • 🔍 I enjoy reverse engineering web servers from the outside: working out how a service behaves from nothing but its requests and responses
  • 🏆 Two hackathons with the Google Developer Group on Campus, Université Côte d'Azur, including a 2nd place
  • 🦀 Today I mostly write Rust and Python

🌪 What I'm building

TornadoAPI: a video download API for teams that need media at scale. One request in, the finished file in your own bucket.

About 310,000 lines of Rust, 6,300 tests and 800+ theorems in Lean 4. Most of what makes it work is written from scratch instead of taken off the shelf.

My own load balancing

No message broker and no off-the-shelf balancer: jobs are placed by the engine itself, on top of plain Dragonfly lists and about 50 atomic Lua scripts.

  • Placement at admission: an atomic script picks the least loaded worker (running tasks + queue length), and only among workers that really have the scratch space for the job
  • Pull and work stealing: each worker drains its own queue, then the shared one, then steals from the busiest peer when it runs dry
  • A physical governor, not rate limits: before taking a job, a worker reads its real memory and its CPU/IO pressure from the kernel. Capacity is whatever the hardware can take right now
  • Statistical space reservation: every job reserves its expected size μ, and one shared safety margin of z·√(Σσ²) covers the whole portfolio. μ and σ come from a size model learned on finished jobs
  • Failure handling: heartbeats, orphaned jobs sent back to the queue when a worker dies, a watchdog on its own OS thread that kills a frozen runtime, and graceful drain with requeue
  • Byte-level pacing: a GCRA scheduler on a virtual clock caps throughput per worker
  • Blue/green deploys of the API, switched without dropping requests

The rest of the engine

  • Media muxing in pure Rust: about 24,000 lines that read and write MP4 (progressive and fragmented), Matroska/WebM, MPEG-TS and ADTS by stream copy, plus HLS and DASH, concat and clipping. FFmpeg is only left for re-encoding
  • Mux and upload while the download is still running: the muxer follows the write frontier of the file, parts leave as soon as they are ready, and bytes already uploaded are punched out of the file to free the space
  • Bring your own storage: S3-compatible, Cloudflare R2, Google Cloud Storage, Azure Blob. Parallel multipart with my own orchestration: a slow part is raced by a duplicate, a stalled part is detected and replaced. The GCS client is written by hand (OAuth2 by JWT, XML multipart, CRC32C)
  • Proofs, not just tests: 11 modules of the muxer are modelled in Lean 4 (50 files, no sorry). Lean generates test vectors that the Rust tests replay
  • Out-of-memory protection: a semaphore per physical resource, bounded write-behind buffers, and a download that can spill from RAM to disk mid-flight
  • Everything measured: a per-job performance trace with hundreds of instrumentation points, and no change ships without before/after numbers
  • A strict gate: every commit on the main branch is tested as-is in a container by a self-hosted CI, and automated audit agents hunt bugs every hour, each fix backed by a test that fails before it

Around it, in the Velys-Software organization: the Rust engine and its networking layer, a Next.js dashboard on Cloudflare Workers, a FastAPI backend with Stripe billing, the landing page and docs, a ClickHouse-backed video index, a self-hosted CI, and a fleet of bare-metal workers.

  • 🐍 tornado-python-sdk: the official Python SDK (pip install tornado-sdk), async and sync
  • 🔌 TornadoAPI_N8N: the n8n node, with downloads, clipping, live recording, progress webhooks

🛰 Proxy infrastructure

Proxies are the thread that runs from the sneaker bots to today. I went from buying them, to testing them, to building the whole stack myself.

  • A proxy gateway written in Rust: HTTP CONNECT tunnels on Tokio, sticky sessions, per-account accounting, live reconfiguration without dropping connections
  • My own IP address space: prefixes announced over BGP sessions, split into pools, with a published geofeed
  • IP routing at scale: binding outgoing connections across whole prefixes, pool health tracking and automatic rotation
  • Measured, not guessed: a live monitor for bandwidth, pools and error rates across the fleet
  • Earlier: Proxyy.tech, Rust proxies deploying IPs on demand on Azure (−64% costs)

🏆 Hackathons

Both with the Google Developer Group on Campus, Université Côte d'Azur.

  • 🥈 2nd place, CCI Côte d'Azur Travel & AI 2026 (Amadeus challenge): a personalised AI assistant for air travel. It picks 3 flight offers for one specific traveller, explains the choice with verifiable facts, and protects the traveller's personal data.
    • The LLM interprets the request and phrases the answer, but never decides: ranking is a deterministic score, and every claim is checked against the offer
    • Privacy as a type: providers only ever receive a minimised query, and everything shared is logged
    • A local decision model (jev, 2B parameters, served on the machine) returns calibrated probabilities, so sensitive data never leaves the laptop
    • Flights, trains and buses from several sources, merged before ranking; MCP connector; runs fully offline for the demo
    • FastAPI · Next.js · MLX
  • 📊 Top Tech 2025: an AI demographic assistant for the Alpes-Maritimes. A question in French → SQL generated by an LLM (Ollama / OpenAI) → SQLite → automatic charts and choropleth maps, with an explanation in plain language. FastAPI · Next.js

📦 My repositories

Automation & tools

  • ⌨️ HumanTyping: the most realistic keyboard typing simulator, built on Markov chains (errors, corrections, fatigue, speed variation) for Playwright and Selenium
  • 🔑 mdpgen: truly random password generator, as a Brave/Chrome extension with Touch ID, plus a CLI. Zero dependencies, nothing stored
  • 🎙 MicGuard: macOS menu-bar app (Swift, CoreAudio) that switches back to your trusted microphone the moment AirPods or a headset take over the input
  • 🎬 ffmeg-UI: lightweight video editor on top of FFmpeg, in Rust with egui (convert, trim, crop, concatenate, filters, timeline with waveform)

Networking & proxies

Maths & machine learning

Where it started

  • 🚆 SncfPythonTkinter: train timetables between two stations with the SNCF API and a Tkinter interface

And about 80 private repositories across my account and two organizations: TornadoAPI itself, Rust proxy servers, Discord bots, booking and monitoring bots, the hackathon projects above, and coursework in optimal control, PDEs, operations research and C++.


🔧 Tech Stack


🧠 Digging into

  • Black-box reverse engineering of web servers: protocols, undocumented APIs, behaviour under load
  • Formal verification of real-world systems code with Lean 4
  • High-throughput async Rust: backpressure, admission control, memory-bounded streaming
  • Container formats from scratch: MP4, MPEG-TS, Matroska, HLS, DASH
  • Bare-metal infrastructure: networking, storage and cost at multi-petabyte traffic
  • Machine learning on Apple Silicon with MLX

📊 GitHub Stats

GitHub stats Top languages

GitHub streak


📫 Contact

Lax3n

Pinned Loading

  1. proxy-tester proxy-tester Public

    Forked from Vital-Proxies/proxy-tester

    A modern, open-source desktop application for testing and validating proxy lists with real-time results.

    TypeScript 4

  2. HumanTyping HumanTyping Public

    The most realistic keyboard typing simulator based on Markov Chains. Models authentic human behavior (errors, corrections, fatigue, speed variations) for Playwright and Selenium automation.

    Python 94 17

  3. BoilerPlate BoilerPlate Public

    Python 1

  4. CompressionDecompressionML CompressionDecompressionML Public

    Python

  5. ffmeg-UI ffmeg-UI Public

    Rust 1