Puppeteer, Cloud Run and GraphQL together - with Apps Script usage examples

44 views
Skip to first unread message

Bruce Mcpherson

unread,
Jul 11, 2024, 9:37:30 AM7/11/24
to Google Apps Script Community

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/

Reply all
Reply to author
Forward
0 new messages