Skip to content

mrummler17/nrl-tipbot

Repository files navigation

NRL TipBot

Codex-managed NRL tipping dashboard with weekly verified round notes, charity bet tracking, and static GitHub Pages deployment.

Live site: https://mrummler17.github.io/nrl-tipbot/

What It Does

NRL TipBot is a static weekly command board for:

  • NRL round previews, wraps, and tip confidence
  • Official-source team news and late-mail notes
  • Charity betting discipline and ledger tracking
  • A compact live-round tracker for results and validation notes
  • GitHub Pages publishing from a generated index.html

The app started as a single prototype file and now keeps content, live round data, and presentation separated so weekly updates are easier to review.

Current Snapshot

  • Round: Round 21, 2026
  • Mode: market-aware top-two chase
  • Tipping comp handle: Prince_of_Penrith
  • Ladder target: top 2 before finals; latest exact gap needs a fresh comp screenshot after Round 20
  • Last card: Round 20 validated 8 from 8
  • Tip card: Panthers, Roosters, Storm, Raiders, Warriors, Broncos, Titans, Sharks
  • Charity bet status: no Round 21 bet locked
  • Charity ledger: 3-2, $31.50 invested, $32.03 returned, +$0.53 profit
  • Validation rule: do not move the charity ledger without recorded TAB odds, stake, result, and user confirmation

Round 21 tips:

  1. Panthers over Eels - heavy favourite protect pick
  2. Roosters over Knights - market match with Tedesco back
  3. Storm over Rabbitohs - controlled split against the market
  4. Raiders over Wests Tigers - heavy favourite protect pick
  5. Warriors over Bulldogs - favourite protect pick
  6. Broncos over Cowboys - narrow favourite match
  7. Titans over Dragons - tiny-market split
  8. Sharks over Sea Eagles - favourite protect pick

Round 21 notes:

  • The board now prioritises getting Prince_of_Penrith to 2nd before finals without reckless full-card chasing.
  • The last known 5-point gap came from the supplied Round 19 screenshot; a fresh ladder screenshot is needed after Round 20.
  • Use one or two controlled differentials per full round after modelling likely leader tips.
  • Use betting-market favourites each week as a proxy for safe leader picks; NourilM and Kristy W13 are likely to protect position by backing favourites.
  • Classify every game as favourite match, controlled split, or avoid before lockout.
  • Sportsbet favourites for Round 21 are Panthers, Roosters, Rabbitohs, Raiders, Warriors, Broncos, Dragons and Sharks.
  • TipBot matches six favourites and splits on Storm over Rabbitohs plus Titans over Dragons.
  • No Round 21 charity bet is locked, so the Mark Hughes Foundation ledger stays unchanged regardless of tipping-comp outcomes.

Round 20 notes carried forward:

  • Round 20 card was validated as 8 from 8 from official NRL result lines.
  • Correct tips: Broncos, Sharks, Roosters, Raiders, Warriors, Bulldogs, Titans and Dolphins.
  • No Round 20 charity bet was locked, so the Mark Hughes Foundation ledger stayed unchanged.

Round 19 notes carried forward:

  • Round 19 card finished as 3 correct and 4 missed after a user-reported Storm win over the Titans.
  • Storm v Titans exact score still needs official confirmation before publishing the final score line, but the tip direction is treated as correct.

Round 18 notes carried forward:

  • No Round 18 charity bet was locked, so the Mark Hughes Foundation ledger stayed unchanged.
  • Round 18 should not be published as a final tip-count wrap without clean result cross-checking.

Round 12 remains validated as a 5 from 5 result and must not be changed without re-checking official NRL scores.

Project Structure

.
|-- data/
|   |-- briefing.json      # Main dashboard content, charity ledger, sections, and narrative
|   `-- live-round.json    # Current round tracker, sources, alerts, and results
|-- dist/
|   |-- index.html         # Generated dashboard output
|   `-- README.md          # Generated text summary
|-- generate.js            # Static generator
|-- index.html             # GitHub Pages entry file, synced from dist/index.html
|-- HANDOVER.md            # Continuity notes for future sessions
|-- package.json
`-- README.md

Update Workflow

  1. Edit data/briefing.json for the durable board content.

  2. Edit data/live-round.json for current round status, sources, alerts, and results.

  3. Validate the JSON:

    node -e 'JSON.parse(require("fs").readFileSync("data/briefing.json","utf8")); JSON.parse(require("fs").readFileSync("data/live-round.json","utf8")); console.log("json ok")'
  4. Build the static output:

    npm run build
  5. Sync the generated page to the GitHub Pages entry file:

    cp dist/index.html index.html
  6. Check the result locally, then commit and push main.

Development Commands

npm run build     # Generate dist/index.html and dist/README.md
npm run sync      # Alias for the same generator
npm run snapshot  # Alias for the same generator

Optional local preview:

python3 -m http.server 4173

Then open http://127.0.0.1:4173/index.html.

Deployment

GitHub Pages serves the root index.html, not dist/index.html.

Always run the build and copy dist/index.html to index.html before pushing. A successful push to main should trigger the Pages build for:

https://mrummler17.github.io/nrl-tipbot/

Data Discipline

  • Treat NRL tips and charity bets as separate records.
  • Treat market prices as tipping-comp intelligence first, not as permission to place a bet.
  • Do not retrospectively count an unplaced lean as a charity bet.
  • Keep the Mark Hughes Foundation ledger factual and conservative.
  • Re-check official NRL sources before publishing a round preview, wrap, or result correction.
  • Keep HANDOVER.md current before risky changes, deploys, or long context-heavy sessions.

Sources

Recent Round 21 updates used:

License

Private personal project unless a license is added.

About

Codex-managed NRL tipping dashboard with weekly verified round notes, charity bet tracking, and static GitHub Pages deployment.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors