viewer: implement publish to rpubs