Remix of my runout sensor container with a filament guide for the Ender 3. If you switch to an ABL, just repurpose your Z limit switch as a filament runout sensor. Stock parts other than a skateboard wheel bearing and a connector, depending on how you connect the limit switch to a mainboard or raspberry pi to manage filament runout detection. You need to print the spacers and ring from the linked remix of https://www.thingiverse.com/thing:3052488 in addition to what's here.
After using it for a while, there are a couple issues I'm going to circle back on in the design. First, filament catches can cause the sensor to pop open. I plan to add a recess to easily add a zip tie to prevent that or I may break down and add some m3 holes to put the two parts together. I may add a way to lock the sensor onto the mount as well. I also want to add a cable tie mechanism