Inline border gradient on mesh edges

Hello,
Im looking for a solution to create a inline border gradient shader without UVs depending on the outer mesh edes, any idea?
Thank u!
Im looking for a solution to create a inline border gradient shader without UVs depending on the outer mesh edes, any idea?
Thank u!