Swiftpack.co - sharpfive/oliva as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by sharpfive.
sharpfive/oliva 0.0.3
Sample app for generating baseball game data using Publish
⭐️ 2
🕓 2 weeks ago
.package(url: "https://github.com/sharpfive/oliva.git", from: "0.0.3")


Library and Sample app for generating HTML baseball game data using Publish.

Why would you do this?

I got mad when I drafted a fantasy baseball team and couldn't see them play because the pandemic shut down Major League Baseball. So I wrote a baseball simulator so I could see how the team I drafted would fare in a head-to-head game.

This repo is how I convert the results to a static HTML site. I'm definitely pushing the limits of what John Sundell had in mind for his Publish library, but that's how I roll.

What does the output look like?

My League's HTML Output

Sample Stub Data Output

What is Oliva?

Tony Oliva was a Shortstop for the Minnesota Twins. He should be in the Hall of Fame. He's not, but Mr. Oliva might take some solace knowing there is an open source Swift library named after him. I sat next to him at a Twins game once. That was awesome.


Stars: 2
Last commit: 2 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics