A CLI for running effective Reddit giveaways using Puppeteer
Dependencies (top-level): Puppeteer Inquirer
Intended use: When creating a giveaway thread, require each user who would like to enter to include a string.
(ex: To enter this giveaway please include "example string" in your comment)
Default run command: node app.js
Takes 4 non-abstracted inputs:
- URL of Reddit post
- String being searched for
- Whether or not capitalization should be ignored
- The number of winners
Currently #3 does nothing. I may revisit if it proves useful for me to do so, otherwise feel free to branch and make that simple change for your own use.
Outputs: Comma-separated usernames of the winners
Notes: Currently does not load additional comments, thus this is not currently applicable for posts that recieved enough comments to warrent additional pages of comments.