Skip to content

Add CrankHog to the apps list - #8

Merged
ThoreKoritzius merged 1 commit into
OpenBikeNet:mainfrom
raytfitzgerald:add-crankhog
Nov 22, 2026
Merged

ThoreKoritzius merged 1 commit into
OpenBikeNet:mainfrom
raytfitzgerald:add-crankhog

Conversation

@raytfitzgerald

Copy link
Copy Markdown
Contributor

What and why

Adds a row for CrankHog (app ID crankhog), an open source (MIT) indoor cycling trainer for macOS: https://crankhog.app, source at https://github.com/raytfitzgerald/CrankHog.

CrankHog now speaks protocol v0 (0.2), in a beta called Ride with others. Riders turn it on in Settings. It's off by default and nothing is sent until they do. Then they can ride velodrome-250, herne-hill-450 and herne-hill-450-clockwise with riders of other apps. The implementation is in raytfitzgerald/CrankHog#80:

  • One connection per app instance, from the Mac app, carrying one rider.
  • Positions about once a second. Power and cadence are shared by default and heart rate is off by default; riders can turn each one off or on.
  • A ping after 20 s of quiet, and reconnects with backoff.
  • Display names are checked against spec 6.3.1 before joining.
  • Rides on simulated trainers never join a server other than one on the rider's own machine, so nobody on the public server races a bot.

It has been checked against wss://openbikenet.cloud/v0. CrankHog joined the velodrome, a second connection watching the track saw it join, move and leave, and it appears in /v0/stats.

Files

  • apps.md: one row for crankhog.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@RalfLeonFasler

Copy link
Copy Markdown
Contributor

Thanks for adding CrankHog, and for testing against the live server before opening this! The row looks good: crankhog matches the app ID format in spec 5 and doesn't clash with any other app.

One small thing, not a blocker: the live check in CrankHog#80 sends hello with version: 'live-check', so that version now shows up next to crankhog in /v0/stats. That's fine, but if you'd rather keep test runs out of CrankHog's public numbers, you could give the live test its own app ID or send the real app version.

Welcome aboard!

@raytfitzgerald

Copy link
Copy Markdown
Contributor Author

Thanks for the review and the welcome!

Good catch on the version. The fix is in raytfitzgerald/CrankHog#85: the live checks now connect with their own app ID, crankhog-live-check, and the app's real version, so test runs stay out of CrankHog's numbers. The stray live-check version under crankhog should drop out of /v0/stats within 30 days.

@ThoreKoritzius
ThoreKoritzius merged commit f2e760d into OpenBikeNet:main Nov 22, 2026
1 check passed
@raytfitzgerald
raytfitzgerald deleted the add-crankhog branch November 23, 2026 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants