linguist
linguist copied to clipboard
Setup pipeline to maintain screenshots
We don't have process to maintain a screenshots, let's introduce it. We need a script to build preview images.
- Create HTML template with background, texts and place for screenshot
- Provide JSON with texts and path to file with screenshot
- Build HTML page and apply CSS
- Render page once and save image
- Resize image for browser stores
This task done, because we introduce svg files with a templates for each screen. Texts in SVG files can be analyzed and handled by utils, so maintaining can be automated.