question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

sb extract alternative to puppeteer

See original GitHub issue

I build and “extract” several static storybooks for composition within a docker-based CI/CD environment similar to Drone. The sb extract command leverages puppeteer to extract metadata. Puppeteer’s headless browser is notoriously difficult to configure and use within docker and other virtual linux environments, and is currently blocking us from implementing fully automated storybook builds.

Is there an alternative for the json metadata fetch that sb extract executes that doesn’t require launching a browser? Could a simple GET request be used in puppeteer’s place?

Alternatively, a working docker image to use for the cli step would be incredibly helpful.

I can potentially contribute time for a fix if help with on-boarding and familiarization with the ecosystem is possible.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:15 (7 by maintainers)

github_iconTop GitHub Comments

4reactions
wKichcommented, Mar 30, 2021

@adrianiy, do you want to save it into the storybook-static dir? I’m going to make the extract step a part of the build process. So you be able to do ‘storybook-build’ and get stories.json automatically in the same directory with storybook static. Is it ok for you?

3reactions
wKichcommented, Mar 28, 2021

@shilman @rmknecht. I released a new version of Creevey 0.7.26 with the command ‘creevey --extract’. It generates ‘stories.json’ file, and it’s 10x faster than ‘build-storybook && sb extract’.

Read more comments on GitHub >

github_iconTop Results From Across the Web

We Tried 5 Best Puppeteer Alternatives [in-Depth Comparison]
Can't find an alternative to Puppeteer? Check out our list of the best puppeteer alternatives, including Urlbox, Playwright, and Testsigma.
Read more >
Configurable Chromium executable path when extracting stories ...
sb extract internally utilizes puppeteer-core , which aims for programmatic use and does not respect $PUPPETEER_EXECUTABLE_PATH environment variable by design.
Read more >
Web Scraping with C# | ScrapingBee
Learn web scraping with C# with this step-by-step tutorial covering the must-known C# web-scraping tools and libraries.
Read more >
Puppeteer Alternatives: 7 options worth a shot
Phantombuster is a puppeteer alternative that specializes in extracting a list of leads. Now, how you use those leads is totally up to...
Read more >
English Everyday Flashcards | Quizlet
Image: to pigeonhole sb/sth ... an alternative that we sacrifice when we make a decision ((在需要而又相互对立的 ... A dongle may be portable like...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found