Playball – Watch Mlb Games From a Terminal
Posted3 months agoActive3 months ago
github.comTechstoryHigh profile
excitedpositive
Debate
20/100
MlbTerminal UISports DataOpen-Source
Key topics
Mlb
Terminal UI
Sports Data
Open-Source
A developer created a terminal-based interface to watch MLB games, sparking enthusiasm and discussion among HN users about its potential, related projects, and the broader implications of sports data accessibility.
Snapshot generated from the HN discussion
Discussion Activity
Very active discussionFirst comment
12m
Peak period
111
0-12h
Avg / period
29.2
Comment distribution146 data points
Loading chart...
Based on 146 loaded comments
Key moments
- 01Story posted
Oct 2, 2025 at 12:09 PM EDT
3 months ago
Step 01 - 02First comment
Oct 2, 2025 at 12:21 PM EDT
12m after posting
Step 02 - 03Peak activity
111 comments in 0-12h
Hottest window of the conversation
Step 03 - 04Latest activity
Oct 7, 2025 at 11:45 AM EDT
3 months ago
Step 04
Generating AI Summary...
Analyzing up to 500 comments to identify key contributors and discussion patterns
ID: 45451577Type: storyLast synced: 11/20/2025, 7:55:16 PM
Want the full context?
Jump to the original sources
Read the primary article or dive into the live Hacker News thread when you're ready.
(I misinterpreted "watch" completely different (post history will reflect why))
(profile bio) > I’m Josh; from Minnesota
Say no more.
Of course, the obvious step after that is for MLB to shit a brick and shut down the API.
Not sure about TOS but would be a natural fit as a twitch channel.
- Everyone's favorite chaotician
It is buggy as hell, but neat that you can move around the field and watch player movement off the ball. But there are a ton of glitches, like players getting frozen or duplicated, batters, umps, and catchers getting swapped (funny to see the ump at bat), and mixups with mount visits. In time, I can imagine this as a great way to watch though. Especially for novice players and fans learning the game and trying to figure out things like who should back up which throws in which situations etc.
Wasn't obvious to me- sounds like you've got an idea that might be fun to pursue.
Also the fun baseball stuff, the kind jomboy covers, wont ever be in the video because its not in the feed
[1] https://en.wikipedia.org/wiki/Blindfold_chess
here is an example inning:
K | 6-3 | BB | 2B (RBI, R1-H) | F8
Makes it easy to visualize the game if listening on the radio.
So... ꓘ
To use a Cricket analogy you don't differentiate if or what the stroke was at the time they were LBW, stumped, bowled caught out.
In baseball, the baserunners are allowed to advance to the next base at any time the ball is "in play" which includes when the pitcher (vaguely similar to bowler in cricket) is holding the ball.
When a baserunner tries to advance without the ball ever being hit, this is called a "steal."
When the baserunner and batter are coordinating so that the batter will try to hit the ball during a steal, this is called a "hit and run." The idea is that the infielders will be getting in position to get the runner out, so won't be in good position to play a ground-ball hit by the batter.
So consider a play where a batter strikes out, then the baserunner is thrown out trying to advance (a strike-out throw-out double play). If it's a swinging strike, that might be a failed hit and run, but if it's a strikeout looking, then it's almost certainly a failed attempt at a steal (with the minority of the time it being the batter missing the signal for a hit and run).
I should acknowledge that 2 strikes with fewer than 2 outs is not considered a good count to try a hit and run; unless a poor batsman is up next you are often better off having a fresh count with the next batter. On the other hand a hit and run is really only effective when it's a surprise.
It matters for the pitcher because if you can disguise your pitch well enough that it looks like a ball coming in but is actually a strike, so that the hitter doesn't even try to hit it, that is a great signal.
As a batter, you typically* want to swing at strikes, so you want to know if you are letting hittable pitches go by. From the time baseball players are like 10 years old, you'll hear coaches and parents yelling "be a hitter, don't strike out looking!".
* there are always situations you probably don't want to swing, like if you have 3 balls and no strikes, you usually want to not swing, and assume you'll get another ball and will get walked to get on base. There are a lot of other situations where you do or don't swing, and the strikeout looking vs swinging measures that.
https://www.retrosheet.org/eventfile.htm
Originally to parse these out people used MS-DOS utilities written by the guy who made the Diamond Mind Baseball game. There's a more modern set of utilities called Chadwick now so you don't have to use DOS.
https://en.wikipedia.org/wiki/Baseball_scorekeeping
https://www.reddit.com/r/BaseballScorecards/
https://www.reddit.com/r/baseball/comments/1lzpwrq/reasons_i... / https://www.reddit.com/r/baseball/comments/68qdm9/people_who...
It’ll be a while before it can replace a true play-by-play announcer, but with seven second TV delay it’s maybe close to feasible.
The Finals is a video game with AI voiceover for its commentary, and it’s pretty engaging. I’d expect to see this in FIFA soon if it isn’t there already.
[1] - https://support.espn.com/hc/en-us/articles/40378137547796-Wh...
A big one is pitch counts. That should absolutely be correct for safety. But if you're at an age where it goes kid pitch -> coach pitch, you gotta figure out a way to do this and keep an accurate total.
They pay people to watch every play of every game and apply a formula that grades the relative difficulty in order to develop their advanced statistical models.
Some of this stuff has been automated, but a lot still hasn't and still relies on the "eye test".
[1] https://www.sportsinfosolutions.com/
I would be curious to see how automated this stuff is now with computer vision but I doubt its mostly automated.
[0] https://www.amazon.com/Game-Set-Cash-International-Trading/d...
My first thought of this app is that it would just show a filled in version of a scorecard in person - one of the first hobbies of mine
https://upload.wikimedia.org/wikipedia/commons/8/84/Lee-rich...
I love baseball and I love that the hacker culture seems to love baseball too.
I read that part of baseball's decline from the premiere American sport was due to its outdated revenue model (strict reliance on ticket sales). The NFL in 80s really embraced TV and reached more fans and here we are. MLB has been recently way ahead of the curve on streaming (MLB.tv, AWS StatCast etc).
I hope projects like this contribute to baseball regaining popularity
I have not watched the MLB in a while so I don't know specifically what you are talking about but I can imagine.
I'm all for consenting adults to be able to legally place wagers at outlets that are not swindling them, or offering the kinds of loans that could get a person's legs broken.
But I'm so tired of ALL THE COVERAGE being about betting. It was more fun when the coverage was mostly sports, and Al Michaels had to sneak in the odd mention of what the point spread was for a game he was broadcasting.
Even my friends who enjoy gambling don't like the media coverage of it. I guess we're not a representative sample.
You may well be representative; it’s just that all these parties directly invested in gambling would rather expand gambling as much and as fast as they can, at the expense of turning off their whole audience.
[1](https://en.wikipedia.org/wiki/ESPN_Bet_Live)
Gambling advertising should be completely banned. Gambling is a zero-sum activity. Actively promoting it benefits no one except the betting house.
But, anecdotally, my local (Angels) broadcasts don't talk about it at all. I listen to MLB Radio, and their day time shows barely touch on it (I'm pretty sure there's a odds making show on the radio, but not during prime time in the day).
MLB Network on TV, I do not see it in their main shows. MLB Central doesn't (I don't think, I'm honestly not a regular viewer) really touch on it. MLB Now doesn't, nor does MLB Tonight or Quick Pitch (their overnight highlight show).
There's ads, there's ads in the stadium (big BET MGM sign in Yankee stadium, for example).
So, anyway, on the periphery, it's certainly there, but the shows the MLB seems to put their brand on, I'm not seeing that much of it.
The closest I've see is on the Apple TV broadcasts where they might put up a "28% chance to get on base" in the corner for a batter. Interesting, perhaps, statistic, but I don't know that it necessarily encourages betting.
You'd think it would be relatively easy for the leagues to provide separate streams that omit gambling ads (and maybe sell that ad space to others).
Penn entertainment for example acquired Barstool Sports and The Score, and entered into a 10-year deal with ESPN to create ESPN-bet, for cash and a stake in the company. ESPN is now directly invested in the gambling industry.
Football works pretty well for this too. Hockey and Basketball require attention.
I too live in Austin and I watched more Toronto Blue Jays, SF Giants, and LA Dodgers games than Rangers games this year.
I think that's why they show all the baseball zen stuff rather than ads for whatever feed they are broadcasting.
My preference would be for them to pull back to a whole-stadium view and just let the ballpark sounds play. The stuff the MLB inserts is all pretty bad.
The post you replied to included this:
> I read that part of baseball's decline from the premiere American sport was due to its outdated revenue model (strict reliance on ticket sales). The NFL in 80s really embraced TV and reached more fans and here we are. MLB has been recently way ahead of the curve on streaming (MLB.tv, AWS StatCast etc).
I'm _hoping_ (although numbers don't seem to be showing it as a huge success as of yet) is that the Apple-MLS deal works well enough that other leagues are at least open to the idea of a no-blackout, all-inclusive package.
College football is going the same way with ESPN and FOX properties on cable/streaming but also needing Peacock, Paramount+ and I think AppleTV next season.
For MLS the deal has been pretty good I think. Mainly because everything is all in one place.
If you can get along with audio only, Sirius has a subscription that includes every MLB game.
My understanding of the issue is that MLB sold off the TV rights to local games years ago to the RSN (Regional Sports Networks) and the contracts have yet to expire. Rumor has it that around 2028 or so, they will try to rein them back in.
https://www.nytimes.com/athletic/5933299/2024/11/19/mlb-plan...
I also think it has a huge negative impact on youth interest in baseball. I personally got into baseball as a kid because my father would do the same - get home from work and turn on the game because it was on OTA TV. How are you getting kids interested in the sport if they can't even watch because the parents don't want to fork over that cost? Huge ripple effect. The RSN's which typically carry a vast majority of local baseball games (mlb.tv is blacked out for local markets) bet big on streaming and lost a ton of money[1]. They, in turn, attempted to gouge the remaining dedicated fans at an inflated cost. I already pay $82/month for YoutubeTv. If it's not on there, I just won't watch - in turn, I also go to the ballpark less and really don't keep up with the local team at all.
[1] Bally Sports (Diamond Sports Group) 2023 Bankruptcy
And now the Mariners are closing down Root Sports and putting their TV on MLBTV next season. I hope they don't price us right out of baseball again.
A terrible way to run a sport. Fortunately, the Tigers are my favored team but it would have been nice to see some Mariners games this year too.
https://www.mlb.com/news/mlb-to-distribute-mariners-games-st...
>Cable subscribers will still be able to view games through a specific channel, and streamers will be able to watch through MLB.TV with no blackouts.
Mlb.tv is comparable to $20/month if not cheaper, but they sell by the season, not the month. Also, MLB has had an ongoing promotion with T-Mobile so one week every year every T-Mobile subscriber can sign up for a season of MLB.tv for free through the T-Mobile Tuesdays app. Non-baseball T-Mobile subscribers often sell their subscription for like $10 at that time on sites like Slickdeals. MLB also starts running 50% off deals starting around May (that's one month into the season).
https://news.gallup.com/poll/4735/sports.aspx
The data shows that the biggest drop was around the 60s. This is probably due to TV. The strike looks like it had some effect and the steroids era not much.
I think baseball needs more national stars. People like Ohtani and Judge, but they are not on the level Ken Griffey, Jr. was in 93-94. None of them reach the level of Mahomes or Manning either.
Like how people take turns playing offense and defense and how you can only get runs by touching home plate - and if the inning is over, you just lose all your progress.
It kind of just feels like a board game with some many things happening at once in such a small amount of time.
NBA play would be very different and very difficult, because there are no defined plays, only possessions. It'd include relative locations on the floor (lane, 2pt area, 3pt area), list of players who touched the ball, and what the outcome was (2pt, 3pt, turnover, out-of-bounds, etc).
mlbt: https://github.com/mlb-rs/mlbt gomlb (self plug): https://github.com/AxBolduc/gomlb
I also know of NBA CLI (https://github.com/dylantientcheu/nbacli) for the NBA but last I checked it was having issues with changes to the NBA API.
Does something similar exist for f1? Or soccer?
I did a tour of an MLS stadium yesterday and the tour guide was showing some of the equipment the players wear during the game and the _teams_ actually have a moment by moment read out of exactly where all all the players are on the field and what they are doing, where contact is made on the ball, their heart rate and lots of other stuff, and the ball itself has electronics in it in some leagues, so it actually _is_ possible to completely reconstruct a game from a data feed. Just that the feed isn't public.
Already thinking about the ways you could represent a race with a text[^1], could be a very interesting project but not sure if there's any APIs.
[^1]: Baseball for example: https://news.ycombinator.com/item?id=45453733
-- Neal Stephenson
<https://www.azquotes.com/quote/783529>
<https://hackneys.com/docs/in-the-beginning-was-the-command-l...> (PDF)
(Play-by-play...)
Years ago, I wrote something based on this same premise, mostly just to experiment with Golang: https://github.com/jimt1234/mlbcli
Playball: Watch MLB games from the comfort of your own terminal - https://news.ycombinator.com/item?id=37591070 - Sept 2023 (1 comment)
Playball: Watch MLB games from the comfort of your own terminal - https://news.ycombinator.com/item?id=21653981 - Nov 2019 (42 comments)
EDIT: Nevermind, I found one downthread: https://github.com/mlb-rs/mlbt
Cricket
One of the many standout features of a sport that already includes:
- being famous for taking five days to play and often ending in a drawer;
- where a major component of play is the nature and timing of the ball falling apart; and
- where regular fielding positions have names like silly mid on, third man, cow corner, and square leg,
…is that since time immemorial cricket has had a symbiotic relationship with another deeply weird pastime, the art of cricket scoring, namely the erudite process of keeping track of the score:
https://preview.redd.it/englands-first-innings-scoresheet-v0...
I wonder if the datasource is ok with being polled directly like that. I hope they don't start trying to stop it.