Skip to content
View LucasSKrewer's full-sized avatar
  • Sapucaia do Sul, RS

Block or report LucasSKrewer

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.

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
LucasSKrewer/README.md
LucasSKrewer — IT Analyst, Python/Flask, infrastructure to application; game mods, C++, reverse engineering, netcode

IT analyst at a metalworking company, covering everything from infrastructure to the application layer. The part I like most is building the internal systems the company runs on every day.

My work almost always starts the same way: someone losing hours to a spreadsheet. It ends with a web tool that does the same thing in seconds.

Outside work, game mods — where I get to touch C++, reverse engineering and netcode.

Daily stack

  • Python — Flask, SQLite, pandas, routine automation
  • Web — HTML/CSS/JS with no framework, server-side rendering
  • Windows — PowerShell, Waitress, on-premise server deployment
  • Data — fiscal and financial reconciliation, NF-e XML, spreadsheet ETL

Public projects

dnc_micro_toolkit — transfers G-code programs to CNC machines over three transports (Fanuc FOCAS, RS-232, WiFi DNC box), with no proprietary DNC software. The box's protocol — TFTP over UDP/69 but with its own opcodes and packet format — was mapped by reverse engineering the vendor's .NET installer, running its packet constructors via reflection and capturing the real bytes. Documented byte by byte in the repo.

conciliador_nfe — compares the SEFAZ NF-e spreadsheet against what was actually entered in the internal system and reports what's missing. Flask + SQLite.

lsk_backup — 3-2-1 backup for the small businesses I support: a PySide6 tray app over rclone, built so a non-technical user can check that last night's backup actually ran.

cripto-backtester — backtests trading strategies against real Binance history, with no API key and no order sent anywhere. It's careful not to use the current candle's own price in the decision, which is the mistake that makes backtests lie.

forja-video — faceless video production kit for Claude Code: the agents, skills and scripts that take an episode from research to a finished Short. ffmpeg + edge-tts + Wikimedia, no paid API.

musicgen-local — instrumental tracks generated offline with MusicGen, stitching segments together to get past the model's 30 s limit.

jlpt-estudos — Japanese vocabulary study for JLPT N5 and N4, with a roadmap by topic and per-word progress.

Most of what I write is internal and stays at the company. What's here is the slice I can open up.

Game mods

Modding gives me the kind of problem work doesn't: someone else's code, no documentation, no game source, and a 2010 compiler as a hard requirement.

KenshiCoop — experimental fork. The original mod is by nhoral (AGPL-3.0) and takes Kenshi from single-player to two-player co-op; all credit for the mod goes to them.

I wanted to know whether the synchronization architecture could hold a larger group — a direction the author deliberately doesn't pursue, so it became a fork rather than an issue. On the experimento-3-jogadores branch:

  • Peer-to-peer relay — the host now forwards state authored by one peer to the other peers, through a single chokepoint, with an explicit per-packet-type policy and 42 assertions pinning the table down. A no-op with two players.
  • Per-peer state cleanup — one player leaving used to sweep the entire session, tearing down the proxies of everyone who stayed. Each peer is now swept individually.
  • Per-sender sequence guard — this one is a real bug, not an N-player change: the docs promise a monotonic seq per sender, but the line kept a single scalar. Two senders with independent counters would starve each other out.

It isn't N-ready yet, and the FORK-NOTES list honestly what's still missing.

Pinned Loading

  1. KenshiCoop KenshiCoop Public

    Forked from nhoral/KenshiCoop

    Fork experimental do KenshiCoop (mod original de nhoral, AGPL-3.0) — explorando se a sincronização aguenta mais de 2 jogadores. Ver FORK-NOTES na branch experimento-3-jogadores.

    C++ 1

  2. cripto-backtester cripto-backtester Public

    Local backtesting of trading strategies on real Binance history - single-file Flask, no API key, no risk. SMA crossover vs buy and hold, no lookahead.

    Python

  3. dnc_micro_toolkit dnc_micro_toolkit Public

    G-code transfer to CNC machines (Fanuc FOCAS, RS-232, and a WiFi DNC box over a reverse-engineered protocol) with no proprietary software

    Python

  4. kenshi-modkit kenshi-modkit Public

    Read, edit and write Kenshi mods (.mod/.base) from Python, without the FCS. Includes filetype 17, absent from the public spec, and a mod conflict detector.

    Python

  5. conciliador_nfe conciliador_nfe Public

    Reconciles Brazilian e-invoices: compares the tax authority export against what was entered in the ERP and shows what is missing - local Flask + SQLite

    Python