Matteo Tosi

👋 hello fellow humans

No more messy commit logs, starting from a simple git hook

Devlog: 2026-07

Clean commit logs shouldn't require heavy dependencies.

On July 28 I opened (and merged) PR #965 to enforce Conventional Commits across the team with a native, zero-dependency Git hook.

If you're not familiar with it, Conventional Commits is a lightweight convention on top of commit messages. Instead of vague logs like "fix stuff" or "wip", every commit follows a structured pattern:

<type>(optional scope): <description>

feat(map): add elevation profile toggle
fix(editing): prevent duplicate feature creation
chore(githooks): enforce conventional commits

Consistent messages make the history readable at a glance and open the door to automated changelogs and semantic versioning.

No Husky, no third-party tooling. Everything is wired into plain git: running npm install triggers a prepare script that sets core.hooksPath to .githooks, where a lightweight commit-msg script validates each message against a regex before git records it.

flowchart LR
    A["git commit"] --> B[".githooks/commit-msg"]
    B -->|Valid| C["✅ Commit"]
    B -->|Invalid| D["❌ Rejected"]

No extra npm bloat. Just git doing what it already knows how to do.

Meanwhile, I tagged leaflet-elevation v2.6.0.

In g3w-admin, I worked on two big ones:

Pilot ID · SWE

Software Engineer @ g3w-suite

Over a decade fighting enterprise maps. Day job: getting QGIS projects to fly on the web.

Station
g3w-suite · client, server, Docker, plugins
On board since
2012
Side missions
Leaflet plugins, brownfield code
Motto
Peace, love, and lean code.

Callsign · Raruto

This is Raruto.

Just another human in the loop. The helmet does most of the work.

Callsign
Raruto
Name
Matteo Tosi
Home base
github.com/Raruto
Flight log
Debriefs →

Stencil · 01

No step

On a real airframe it marks the panels your boot would punch through. Here it marks the parts held together with duct tape. Tread lightly.

Stencil · 02

Mach 3+ inside

SR-71 cruise speed. This site gets close by shipping almost nothing: plain HTML, one stylesheet, no framework.

Mach 3
Not included.

Stencil · 04

Open hatch

Most of my open-source mileage is Leaflet plugins. Maps that rotate, draw elevation profiles, and lately go 3D.

Hangar
42 airframes →

Stencil · 03

Rust free

No theme, no page builder. Markdown in, HTML out, one small Node script in between. Hand-rolled HTML, like it's 1999.

Source
Raruto/raruto.github.io

Stencil · 05

Best viewed @ 85,000 ft

Roughly where the SR-71 cruised. Down here, any browser from this decade will do.

Ground crew

GitHub Pages

The runway. Markdown in, HTML out, one small Node script in between, pushed to a repo and served from there. No servers to babysit.

Source
Raruto/raruto.github.io
Service
pages.github.com