web-screenshot-to-slack-gas


1 min read

This app is take screenshots of Web pages with GAS(Google Apps Script) and send images to Slack channel with Slack API.

Background

I should get a screen capture of my website and paste it into Slack channels.

Because I wanted to do it easily, instead of setting up a dedicated server, I make it as FaaS using Google Apps Script (GAS).

And also, I want to use TypeScript because of a Test and Type lint, so using with clasp referenced by howdy39/gas-clasp-starter

Demo

Run main function , send Slack your web page screenshot.

img

More Information

This uses Clasp, coding GAS with TypeScript, creating unit tests with Jest, automatic testing with GitHub Action, and deployment.

You can also use it as a sample starter kit.

GitHub is here