Materials:
1x M4x40 bolt
1x M4 nylon locknut
2x M4x10 (Form C) washers
1x M4x12 repair washer
1x M8 washer behind the inner bearing over the plastic spindle
2x 8mm axle 22mm x7mm bearings (from skates)
Optional:
1x M8x1.6mm spacer between the bearings
3D printed parts:
2x pulley halves with supports from the bed
1x Stand with no support
1x Support with no support
1x Spindle with no support
The photo shows the lock nut on the outside however if you are lucky you might be able to hide it on the inside by using washers to take up the length of the bolt.