GitHunt
TA

tassaron/bat2web

turn a Windows batch file into a Flask webapp that runs on a Linux server

bat2web

Ever wanted to turn a Windows batch file into a webapp running on a Linux server? Now you can.

Play Funtimes.bat on my website

Requirements

See requirements.txt

  • Python 3.13.11
  • Flask 3.1.2
  • python-dotenv 1.2.1
  • Batchfile.py 0.7 (my library, installed from git)
  • lower Python versions down to 3.8 probably work if you also use an older Flask version

Backstory

When I was 16 I used to write text adventure games using batch files. See the Batchfile.py readme for more information. I wrote Batchfile.py so I could play my old batch file games without Windows, and turning that into a website seemed like a fun extension of the idea.

Languages

Python62.4%JavaScript22.2%HTML13.4%Shell2.1%

Contributors

Created October 9, 2020
Updated January 5, 2026