Simple edge highlight

how can I get my cubes to have this simple highlighted line? I don’t want to add any extra geometry (like bevel) I want to keep the cubes low poly. I thought it would be easy and tried messing around with the pointiness shader but can’t figure it out. is there any blender shader file I can download somewhere for this?