Skip to content
This repository was archived by the owner on Feb 3, 2021. It is now read-only.

Repository files navigation

Open JAMstack Comments

Inspired by Phil Hawksworth's Jamstack Comments Engine. Uses 📬 email for comment moderation.

Configuration

Environment Variables

  • NETLIFY_PAT - personal access token for Netlify API
  • NETLIFY_API_ID - API ID from the Settings page. This is the Site ID.
  • APPROVED_COMMENTS_FORM_ID - form ID of the form where approved submissions are moved
  • SENDGRID_API_KEY - key received from Sendgrid

Email Web API

I use Sendgrid. They have a free 100 mail/day limit (pretty generous) and a JavaScript library for communicating with their API.

  • Configure the SENDGRID_API_KEY as listed above.
  • Then update ownerEmail and siteName in the notify-owner.js function.

About

Comments on a static site, inspired from @philhawksworth/jamstack-comments-engine. Uses emails for moderation.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages