Help with programming input data (possibly)

Octoprint is designed with a Raspberry pi in mind...the version is called Octopi. Sounds like it would do what you need.