Three Days of Hell: From Python Utility to Web App
2025-02-09

The author spent three days trying to convert a simple Python utility into a web application. Initial attempts using Flask and Bottle frameworks failed due to CORS issues and the complexities of asynchronous requests. A foray into JavaScript's Fetch API and a Node.js REST API proved too cumbersome to maintain. Ultimately, the author reverted to the original Bottle app, accepting the user wait time for request completion in exchange for simpler, maintainable code. This highlights the importance of technology choices—sometimes the simplest solution is the best.
Development