DEV Community

Discussion on: I'll make a custom social image for your GitHub repo

Collapse
 
braydentw profile image
Brayden W ⚡️

Very cool - thanks! So is this what the mugshotbot tool does?

Thread Thread
 
joemasilotti profile image
Joe Masilotti

This is an upcoming feature. It's mainly used to automate link preview images for your blog. You drop in a line of HTML and it dynamically creates an image when share on Twitter/Facebook.

Thread Thread
 
braydentw profile image
Brayden W ⚡️

Nice :)

What would the HTML be for? (Sorry for all the questions. This is just a super interesting tool to me :D)

Thread Thread
 
joemasilotti profile image
Joe Masilotti

No problem at all!

With a subscription you can add some HTML to your

for crawlers to get your image. For example, in the snippet below the ... can be set to dynamically generate images for every page on your blog.
<head>
  <meta name="og:image" content="https://www.mugshotbot.com..." />
</head>
Enter fullscreen mode Exit fullscreen mode
Thread Thread
 
braydentw profile image
Brayden W ⚡️

Ok ok ok. That makes sense now 😅. I thought I had to insert a piece of HTML onto the website.

Thanks for your clarification. Is there a free version of this?

Thread Thread
 
joemasilotti profile image
Joe Masilotti

Ha, nope, just a meta tag! And yeah, there is a free version.

With the free version you can generate unlimited images via the web GUI. Automating via a URL and removing the small watermark is a paid service.

Thread Thread
 
braydentw profile image
Brayden W ⚡️

Got it - thanks for the info :D

Thread Thread
 
joemasilotti profile image
Joe Masilotti

No problem! Let me know if you have any more questions or would like to set it up on your blog :)