Live data from Hacker News

Plain Text Sports

plaintextsports.com

11–20 of 113 posts

Re: Plain Text Sports

#11
post #5

Does it really need to override my font size? 13px is too small for my display. Of course removing the override breaks it because it has a max-width set in px. But why does it have a max-width? It is important not to have long lines of text but there are no long lines on this page, each box has it's own size. So by removing font-size and max-width rules this is far more readable for me. And while I'm at it don't forc…

I believe it just describes the display of the data (i.e. plain text).

Re: Plain Text Sports

#12
post #7

Where do you get your data from? I've found sports data (especially odds/lines) to be overly expensive when trying to build hobby apps.

ESPN has a surprisingly comprehensive JSON API that isn't locked down. If you're only using it for a hobby app, you won't run into any issues. It's been around for quite a while.

Re: Plain Text Sports

#13
This is great! I wonder what needs to happen in order to get `curl plaintextsports.com` to Just Work, similar to `curl wttr.in`.

EDIT: After inspecting the HTML, I think Plain Text Sports is a bit of a misnomer. With that name, I might have expected a lot of

 tags in the markup, but there are no none to be found.  Instead, CSS is used for the layout, even line breaks.  So, Hypertext Sports?

Re: Plain Text Sports

#15
Beautiful. I love it! Dark mode is beautiful. So very well done. This went right to the top of my bookmark list.

Only constructive feedback would be if it can better fill a normal 16:9 desktop monitor - it looks optimized for mobile, which is great - but it's too small and narrow for keeping open on the PC

If you like MLB - this reminds me of Playball which runs in the terminal.

https://github.com/paaatrick/playball

Re: Plain Text Sports

#17

This is great! I wonder what needs to happen in order to get `curl plaintextsports.com` to Just Work, similar to `curl wttr.in`. EDIT: After inspecting the HTML, I think Plain Text Sports is a bit of a misnomer. With that name, I might have expected a lot of tags in the markup, but there are no none to be found. Instead, CSS is used for the layout, even line breaks. So, Hypertext Sports?

Yeah, I thought we'd see the results inside of a
 tag. Instead, the HTML is empty.

Looks like a single page app.

$ curl plaintextsports.com

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 183 100 183 0 0 1060 0 --:--:-- --:--:-- --:--:-- 1063 301 Moved Permanently 301 Moved Permanently CloudFront

Re: Plain Text Sports

#18
post #17

This is great! I wonder what needs to happen in order to get `curl plaintextsports.com` to Just Work, similar to `curl wttr.in`. EDIT: After inspecting the HTML, I think Plain Text Sports is a bit of a misnomer. With that name, I might have expected a lot of tags in the markup, but there are no none to be found. Instead, CSS is used for the layout, even line breaks. So, Hypertext Sports?

Yeah, I thought we'd see the results inside of a tag. Instead, the HTML is empty. Looks like a single page app. $ curl plaintextsports.com % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 183 100 183 0 0 1060 0 --:--:-- --:--:-- --:--:-- 1063 301 Moved Permanently 301 Moved Permanently CloudFront

Adding `https://` will get you the HTML, but there's very little plain text to parse. The markup's layout depends on CSS.

Re: Plain Text Sports

#19
Sadly, it's https. So a lot of older computers that still live and breathe off of sites like this (see: 68k.news) can't access it due to the bizarre (or Google pressured) security certificate ... for a sports scores site.

Re: Plain Text Sports

#20

Sadly, it's https. So a lot of older computers that still live and breathe off of sites like this (see: 68k.news) can't access it due to the bizarre (or Google pressured) security certificate ... for a sports scores site.

That's nonsense and you know it. If you really want to use plain-text web access you can run a local decryption proxy outside of your low-power old computers and use them as if it's 1989.
Post reply on HN