BikeControl (SwiftControl)
Use Zwift Click, Zwift Play, Shimano Di2, or any Bluetooth controller with MyWhoosh, Rouvy, Zwift, and more. Free to try on iOS, Android, Windows, and macOS.
A hockey stats/info website based on the soccer website https://www.fotmob.com/
Translation pending
Sports & fitnessTypeScript · SCSSGitHub @SOSharkieOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Loading the full README. The saved excerpt is shown below.
A hockey stats website for the NHL, based on the soccer stats site Fotmob. It shows
scores, standings, game details, team and player pages, leaderboards, the playoff bracket and the draft, all from
publicly available NHL API data.
The app has two parts:
• HokMob.App/ – ASP.NET Core (.NET 7) backend. It serves the built Angular app and proxies the NHL APIs.
• HokMob.App/ClientApp/ – Angular 15 frontend.
• .NET 7 SDK (or a newer SDK, see note below)
• Node.js and npm
• A trusted ASP.NET Core dev certificate: dotnet dev-certs https --trustRead the full README ↗Website: hokmob.azurewebsites.net
A hockey stats website for the NHL, based on the soccer stats site Fotmob. It shows scores, standings, game details, team and player pages, leaderboards, the playoff bracket and the draft, all from publicly available NHL API data.
The app has two parts:
HokMob.App/ – ASP.NET Core (.NET 7) backend. It serves the built Angular app and proxies the NHL APIs.HokMob.App/ClientApp/ – Angular 15 frontend.The NHL APIs don't all send CORS headers, so the browser can't call them directly. The Angular app calls the backend, which forwards the request:
GET /api/nhl/score/now -> https://api-web.nhle.com/v1/score/now
| Route | Upstream | Controller / client |
|---|---|---|
/api/nhl/<path> | api-web.nhle.com/v1 | NhlController.cs, NhlApiClient.cs |
/api/nhl-stats/* | api.nhle.com/stats/rest/en | NhlStatsController.cs, NhlStatsApiClient.cs |
/api/nhl-search/player | search.d3.nhle.com | NhlSearchController.cs, NhlSearchApiClient.cs |
score, schedule, standings, gamecenter, player, ...).
To use a new api-web endpoint, add its first path segment to AllowedRoots in NhlController.cs./api/nhl/score/now rather than an NHL host.The simplest way to run both parts, from HokMob.App/ClientApp:
npm run dev
It starts the backend on https://localhost:7157 and an Angular dev server on plain HTTP; open
http://localhost:4200. Output is prefixed with [api] and [web], and Ctrl+C stops both. It needs no trusted dev
certificate, and runs on a newer .NET runtime too (it sets DOTNET_ROLL_FORWARD=Major).
The HTTPS route runs both from the backend project instead. It needs a trusted dev certificate
(dotnet dev-certs https --trust) and, with only .NET 8+ installed, DOTNET_ROLL_FORWARD=Major set first:
cd HokMob.App
dotnet run
Then open https://localhost:7157. The first run installs npm packages and starts the Angular dev server
(https://localhost:44424) automatically. Either way the Angular app reloads when you change source files, and
/api requests are forwarded to the backend via ClientApp/proxy.conf.js.
You can also run the Angular dev server on its own (cd HokMob.App/ClientApp, then npm start), but
/api/nhl/... calls only work while the backend is also running. To test the backend on its own, open
https://localhost:7157/api/nhl/score/now.
The ASP.NET Core dev certificate is missing or expired (they last one year). Check with
dotnet dev-certs https --check --verbose, then regenerate it:
dotnet dev-certs https --clean
dotnet dev-certs https --trust
If the Angular dev server then shows certificate errors, delete %APPDATA%\ASP.NET\https\hokmob.pem and
hokmob.key (bash/macOS: ~/.aspnet/https/). npm start re-exports them from the new certificate.
From HokMob.App/ClientApp:
npm run test:ci
That runs the Karma suite once in headless Chrome; npm test watches instead. The
same tests, a production build and a backend build run on every pull request and have to pass before merging.
A finished game's expected goals and Corsi come from Natural Stat Trick, which needs an access key. Never commit it.
For local runs, set it in user secrets from HokMob.App:
dotnet user-secrets set "NaturalStatTrick:Key" "<key>"
On Azure, add it as the NaturalStatTrick__Key application setting. Without a key the game page still works, just
without those stats. See "Natural Stat Trick" in docs/nhl-api.md.
Run dotnet publish -c Release from HokMob.App to build the backend and a production Angular bundle (output in
bin/Release/net7.0/publish). Pushing to master runs the same publish and deploys it to Azure. To build only the
Angular app, run ng build from HokMob.App/ClientApp; the artifacts land in dist/.
New Angular code is scaffolded from HokMob.App/ClientApp with ng generate component <name> (or directive,
pipe, service, ...).
CLAUDE.md – repo layout, editing conventions, how to run, build and test.docs/nhl-api.md – the NHL APIs: which one serves what, response conventions, caching, open
questions.docs/draft-page.md – the draft page's data and behaviour.