Below you will find pages that utilize the taxonomy term “Flask”
An example project for creating a simple Flask UI for controlling crontabs
Controlling cronjobs with a Flask UI
Updated on 30.6.2024
While creating a proper readme for the project, I realized that it can
actually be used to control several cronjobs, I just hadn't used it in that
way.
It is somewhat limited by the script identifier and by having only three
options (schedule 1, schedule 2 or disabled), but I think these could be
resolved in a reasonable amount of time.
Creating a local website with LiteDB database and HTTP calls.
I've since moved away from LiteDB and created the backend using SQLite and Python
Hosting a Local Website on Raspberry Pi with Flask
Let's jump straight in. I wanted to keep things simple, so I decided to use a basic html, css and javascript setup with Python Flask. I used ChatGPT to generate a html file with the form that I wanted, some basic css and a javascript file. I refined them myself until I was happy with the look and functionality. My target is a tablet, so I didn't bother too much with the desktop experience.