Ghost effect for particles

How do i give individual particles spawned by a emitter a trail?, like this image

There is shadow clones extension but it won’t be exactly what you want because it only creates copies of some object and not shrinking in size trail

If it helps, the trail is for fireworks, and yeah I know about that extension but it didn’t work so well.