I've recently started experimenting with Balatro bot development, and besteon/balatrobot was exactly what I was looking for. However, since the project hasn’t seen updates in over a year and there’s limited ongoing support (despite some recent issues and pull requests), I decided to fork it and explore the codebase myself to get it working with the latest versions of Balatro, Lovely, and Steammoded.
During the process, I took notes that gradually evolved into fairly complete documentation. I’ve refactored the code into a proper Python module, cleaned up the Lua, and introduced some structural changes — including breaking changes — all aimed at improving the developer experience. Some highlights include:
- Extensive documentation
- smods docs as a Git submodule
- Lua and Python type annotations
- Formatting, linting, and type checking
- CI for code quality
- Automated releases based on semantic versioning
- Cursor rule support for better LLM usage in the Cursor editor
You can check out the fork here: https://github.com/S1M0N38/balatrobot
And the documentation here: https://s1m0n38.github.io/balatrobot/
If the original authors are interested, I’d be happy to contribute back or help merge it upstream. The Python interface has changed significantly, so it might take some work to reconcile the differences (especially since the GitHub Actions are configured for my personal setup), but I’m open to collaboration.
I'd also really appreciate any feedback or thoughts you might have on the fork.