Skip to content

Instantly share code, notes, and snippets.

@obezuk
obezuk / README.md
Last active September 3, 2025 05:28
Factorio Server Health Check Worker

Factorio Server Health Check Worker

A Cloudflare Worker that checks the health of a Factorio server listed in the public multiplayer lobby.

It wraps the Factorio Matchmaking API with automatic SRV record resolution.
Useful for monitoring and dashboards — returns a 200 OK if the server is online, and 404 Not Found if it isn’t.


How It Works

@obezuk
obezuk / index.html
Last active May 6, 2025 09:00
Cloudflare Worker - Link Shortener
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
### Keybase proof
I hereby claim:
* I am obezuk on github.
* I am obezuk (https://keybase.io/obezuk) on keybase.
* I have a public key ASBFh7dsKHtrTm7HvOc5sbz0VNZcPTmW8J__0nrJ-sCKFgo
To claim this, I am signing this object: