DEV Community

Eduard Constantin
Eduard Constantin

Posted on • Edited on

Storybook Genie

What I built

A command-line interface tool that can generate storybook stories from react components

Category Submission:

Wacky Wildcards

App Link

https://www.npmjs.com/package/storybook-genie

Screenshots

CLI tool

Description

Storybook Genie is a command-line interface tool that can be used to convert files that contain React components into Storybook stories.

Link to Source Code

https://github.com/eduardconstantin/storybook-genie

Permissive License

MIT

Background (What made you decide to build this particular app? What inspired you?)

I also created a web app that does the same thing with one small inconvenient, the user has to copy-paste the components in and from the app. That's how Storybook Genie was born, I wanted to make a tool for the editor that can simplify the process.

How I built it (How did you utilize GitHub Actions or GitHub Codespaces? Did you learn something new along the way? Pick up a new skill?)

I used Github Codespaces to build this tool, which was really easy to work with. I learned how to publish a npm package on npmjs.com and on Github. and I learned how to make command-line tools in nodeJS.

Additional Resources/Info

AWS GenAI LIVE image

How is generative AI increasing efficiency?

Join AWS GenAI LIVE! to find out how gen AI is reshaping productivity, streamlining processes, and driving innovation.

Learn more

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay