Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does https://www.stefanjudis.com/blog/how-to-use-headless-chrome-in-serverless-functions/ still work for you? #516

Closed
ryancwalsh opened this issue Feb 10, 2024 · 3 comments

Comments

@ryancwalsh
Copy link

Thanks for that article!

I'm in a similar situation.

I'd love to use the free Vercel Hobby plan. I could use my $6/mo Digital Ocean server, but I'd need to upgrade its Ubuntu, which would be a pain.

To get your https://www.stefanjudis.com/blog/how-to-use-headless-chrome-in-serverless-functions/ solution working I needed this advice: puppeteer/puppeteer#11052 (comment)

Now it builds fine.

But when I try on Vercel, I still get the timeout.

Does it still work for you these days?

Thanks!

@0x-m1cro
Copy link

I wish to know likewise, bump. Currently im using render, but the 12 minute timeout is pain. So before i change to vercel i need to confirm. Thank you!

@stefanjudis
Copy link
Owner

Hey friends! 👋

It's a bit odd, that you're hijacking the issues here. 😅 The code is open source and runs right now on vercel. And it works as you see on tiny-helpers.dev.

Does it still work for you these days?

Yes, as mentioned, it's running in production on vercel as we speak. 👇 Here's the code.

https://github.com/stefanjudis/tiny-helpers/blob/primary/api/screenshot.js

So before i change to vercel i need to confirm.

The code is linked above and give it a try. :)

@ryancwalsh
Copy link
Author

ryancwalsh commented Feb 13, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants