Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/evgenykochetkov/fxhash-variations-tester
https://github.com/evgenykochetkov/fxhash-variations-tester
Last synced: 24 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/evgenykochetkov/fxhash-variations-tester
- Owner: evgenykochetkov
- Created: 2023-09-16T14:25:08.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-16T18:25:23.000Z (about 1 year ago)
- Last Synced: 2024-10-04T16:18:19.699Z (about 1 month ago)
- Language: JavaScript
- Size: 16.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fx(hash) variations tester
A script to generate a bunch of variations of your locally running fx(hash) project.
Basically, it
- opens your project in a headless browser
- waits for `fxpreview` call
- saves a screenshot to a specified location
- repeats all the above a bunch of times## Usage
- clone this repo
- run `npm install` to install [Puppeteer](https://pptr.dev). It may be a bit slow:> When you install Puppeteer, it automatically downloads a recent version of Chrome for Testing (~170MB macOS, ~282MB Linux, ~280MB Windows) that is guaranteed to work with Puppeteer. The browser is downloaded to the $HOME/.cache/puppeteer folder by default (starting with Puppeteer v19.0.0).
- edit the constants at the beginning of `index.mjs`
- make sure that your fx(hash) project is running
- run `npm start`