Local network - animate text on remote machine

i would like to setup two raspberry pis connected over ethernet via a switch.
On the first one i would like to have a localy running website with a text input field and a submit button.
I would like to save the submitted words (not more than 50) in a file.
On the second raspberry pi i would like to have this animation
running and the animated words should be taken of the file generated with the other raspberry.
Every new entry in the file should push one of the older entry out like a shift register.

What would be a practical solution?
Maybe a database running on the raspberry pi that handles the animation?
Before i start running in trouble i thought it wold be wise ask here if someone could give some recommendations or hints.

Thanks for any help!

1 Like

Why don’t you set up the web server on the same PI as the one running the animation ?