Matteo Tosi

👋 I build stuff that doesn't stall.

The stray 1 that escaped Lexy’s @include

Devlog: 2021-02

In Cockpit's Lexy templates, @include('foo.php') rendered the file, then a stray 1. I sent a fix for the extra output; it was merged on February 26.

Then I kept spreading Composer instructions across Paulo Gomes' add-ons: Autosave, Moderation, plus a BetterSlugs heading update. UserFlood got stricter lockout rules, ImageOptimizer precompiled binaries. All merged in March, except ImageOptimizer. On February 15 I published two cockpit-blog helpers on Packagist: Sample Addon, which adds a /api/test endpoint, and Sample Data, which imports data at install.

Leaflet maps don't rotate. People have been asking since 2011. On February 11 I started leaflet-rotate, building on Iván Sánchez Ortega's rotate branch: bearing, a draggable rotate control, 0.1.2 by month's end. The demo shows it. leaflet-gesture-handling learned to cooperate with it.

A rotated Leaflet map

An illustration of leaflet-rotate.

On leaflet-elevation I worked on a PR renaming .hidden to .leaflet-hidden to stop clashing with TailwindCSS. Merged.

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