|
|
|
|
|
by TimBurr
2015 days ago
|
|
Not much of one :) The backend is all Python - netcdf library for reading; Pillow for image manipulation. There's a second Python script that regenerates the videos daily, using FFMPEG. A simple cronjob restarts the services if anything crashes. From there, rsync mirrors the files to a DigitalOcean VM running Apache. The frontend is vanilla HTML/CSS/JS. No jQuery or other magic. The JS periodically changes the img href attribute to force an image reload, so if you leave the page up, it'll slowly change as the day passes. Video page is similar - the javascript snippets load different .webm videos. (As an aside, cross-browser compatibility for embedded videos is challenging. webm had the best support when I built this, but it's far from universal.) |
|