A minimally viable version with streaming