We can do our own UV mapping in shader nodes, considering every edge is a seam:

[![enter image description here][1]][1]

You are free to add any scaling or mapping after the "Mix" node. You can also attach your voronoi setup after the mix.  

These questions may also help you:

- https://blender.stackexchange.com/questions/326305/how-to-map-a-texture-to-faces-using-geometry-normals/326315#326315    
- https://blender.stackexchange.com/questions/326768/rotate-texture-per-instance/326772#326772

## File

[<img src="https://blend-exchange.com/embedImage.png?bid=mRd2A3LE" />](https://blend-exchange.com/b/mRd2A3LE/)

  [1]: https://i.sstatic.net/UD4LMnrE.png