I share the source code of a Panel dashboard that I built few weeks ago:
This dashboard displays the real-time position of any bus, tram, or train (ATAC and Roma TPL operators) within the Metropolitan City of Rome Capital. The “stream layer” updates dynamically via a Pipe stream every 10 seconds.
One solutions could be to ask romanmobilita.it to enable using their data from applications like yours by adding the missing CORS headers. I just did asked something similar for KLIFS - the structural kinase database and they just did it.
I hope you get it working. Really learned a lot from looking at your code and how you import extra python files and also custom built wheels.
thanks for the feedback . I sent a request to Roma Mobilità (social networks, forums, etc…) to enable CORS headers on their resources. In case of negative response, I will change the GTFS feed URL.