Back to Templates

Streaming file updates

View App View Code on GitHub
shiny create -m express \
  -g https://github.com/posit-dev/py-shiny-templates/tree/main/monitor-file
shiny create -m core \
  -g https://github.com/posit-dev/py-shiny-templates/tree/main/monitor-file

Efficiently monitor a file for updates and visualize the data in real-time. In this case, we’re monitoring fake server logs, but you adapt this template to reactively read any file that updates over time. Note also that this app shows the entire log in a data grid, and the most recent log entry in value boxes.

Layouts:

Packages:

  • faicons
  • pandas