Couriway Stat Highlights

About

About

This website shows the top ten most remarkable statistics for each day of Couriway's 100K No Reset challenge. The data used comes from the official spreadsheet.

Contributing

The source code is self-hosted on Fossil at https://fossil.samnystrom.dev/couri-stat-highlights. If you have a bug report, feature request, or question, you can ping me (stonks3141) in CouriCord or create a ticket or forum post on the Fossil page. Code contributions are welcome.

Licensing and Attribution

The source code for this website is available under the ISC license. The icons are owned by Minecraft/Mojang and used under fair use. This website is not an official Minecraft product and is not approved by or associated with Mojang. The font, Kadwa, is used under the Open Font License version 1.1.

Technical Details (for nerds)

This website is served by a Go program using net/http and html/template, running behind Caddy on Alpine Linux on a $5/month Linode VPS. The server uses s6 for init, supervision, and service management, otelcol-contrib for metric and log collection, and OpenObserve for observability and alerting.

The spreadsheet stats are stored in a SQLite database. Every 5 minutes, the database is updated with the latest data from the spreadsheet. The per-day and per-run stat rankings are computed with a large SQL query, which takes about 3 seconds to execute and runs every 5 minutes. The results of this query are cached in a separate SQLite table. On each request, another query fetches the relevant rankings from the cache in about 3 ms.

API

There is a JSON API available at /api/dailyStats. That page accepts the query parameters perDay, perPage, and page. You can also fetch all the stats for a single day from /api/day/{date} (e.g. /api/day/2025-03-04).

ISC License

Copyright © 2025 Sam Nystrom <sam@samnystrom.dev>

Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.