brucemcpherson / desktopliberation

hosting for desktop liberation google plus community
30 stars 1 forks source link

Puppeteer, Cloud Run and GraphQL together #167

Open brucemcpherson opened 2 months ago

brucemcpherson commented 2 months ago

Puppeteer, Cloud Run and GraphQL together

I’ve had a lot of fun with this one – getting headless Pupeteer on  Cloud Run with a graphQL endpoint so you can do puppeteer things such as web scraping, taking screenshots and so on without having the bother of hosting it and making requests via GraphQL. In this article I’ll show you how to use this (I’ve called it gql-puppet ) with  Apps Script Script and Node examples. In future articles I’ll write up how to make and deploy your own server. All the code is on Github – links at end of article.

Article here https://ramblings.mcpher.com/puppeteer-cloud-run-and-graphql-together/