Export Particles Position as Empties?

Hi, I was wondering if there is a way to replace cached/non-cached particles as keyframed nulls/empties, or add nulls that track particles, so I can attach objects per particle?
I vaguely remember some sort of script, or addon, but after a couple of hours of search I couldn’t find anything.

Mainly I want to take my render and add graphical elements in after effects that track the position of individual particles.

Thanks for your help!

here’s a simple script to test: https://db.tt/Xm56CkVN
here a different solution using the Animation Nodes addon: https://db.tt/eZNdFbot
both should export to AE