Wesbite thumbnail generator


I need to make something that takes the URL of a website and generates a thumbnail for it. Everything I’ve seen online requires Mozilla and Xfvb or Xvnc and sometimes some other stuff. Is there either a way to install these things, or an easier solution? Any help would be greatly appreciated.