Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

267 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

preview-backend

The preview server is a headless chromium instance that generates screenshots and animations of items via puppeteer. It's also in charge of generating unique trading cards for every NFT item minted. Here's how it works:

  1. Start with user-agent (website or Discord bot) requesting a preview image.
  2. Request gets sent to the preview server, checks S3 cache if there's a preview already.
  3. If there's no preview, the server will ask the API about the token and fetch the IPFS content
  4. The files from the IPFS hash get rendered using Puppeteer, exported as previews.

Local screenshots

Run https://github.com/webaverse/app, then:

https://127.0.0.1:3001/screenshot.html?url=https://webaverse.github.io/assets/male.vrm&ext=vrm&type=png

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages