RivWidthCloud is a useful tool for Google Earth Engine to calculate river widths. It can calculate the widths over time from a series of Landsat images and can be run as either JavaScript or Python.