- https://greenash.net.au/thoughts/2022/03/email-based-comment-moderation-with-netlify-functions/ - https://docs.netlify.com/forms/setup/ Workflow: 1. Use Netlify Forms to collect comment submissions - Use Ajax form for better UX but make sure non-JS works, too - Should mention that all comments become public upon approval. If they want to contact me directly, go to the Contact link. 2. Use Netlify Functions to set up a [Scheduled](https://docs.netlify.com/netlify-labs/experimental-features/scheduled-functions/) [Background](https://docs.netlify.com/functions/build-with-javascript/#background-function-format) Function: - This function checks all the verified comment submissions - Uses https://github.com/octokit/octokit.js to create a pull request to send comments to GitHub - Run this function at 9 AM everyday 3. Me review the pull request, approve to merge into `mainstreet` 4. Netlify rebuild, comments display - [ ] Make some fun idea with avatar?
Workflow:
mainstreet