Guest Comments API


A simple, self-hosted Express.js API written in TypeScript for guest comments on my static site. Yes, this very one!

Note that this project has been archived.


Primary Author


A few days

Technologies Used/Explored

  • Express.js
  • TypeScript
  • Data sanitization
  • GitHub REST API
  • SendGrid API
  • Docker


Comments should be a part of my static site repository and handled at the static site level. This is most performant and keeps data in one place. There is no API endpoint to fetch comments as the app does not store any data by itself, for example, in a database.

All operations (well, just the three) interact with my GitHub repository. Currently, only GitHub is supported, but I may be open to adding support for Gitea instances should I switch to such options in the future and find it a viable endeavor.