Github is the source of truth for most Angular demos, examples, prototypes, and “real world” projects. However, downloading & initializing these projects locally can take a looooong time- which makes them difficult to share with others. ????
This is precisely why we created StackBlitz, a lightning fast online IDE that allows you to live edit Angular CLI projects in-browser. It also now powers all of the official Angular.io documentation examples!
Wouldn’t it be great if you could instantly run any Angular CLI project on Github directly inside StackBlitz by simply changing the URL? ????
Yup, it’s seriously that easy. And it makes the process of sharing examples, demos, and apps a total breeze. ????
See it live in action with these repos below:
You can run any public repo on Github by providing the username + repo name like so:
And you can also optionally specify a branch, tag, or commit:
Whenever you push commits to Github, the corresponding StackBlitz project automatically updates with the latest changes — ensuring Github remains your code’s source of truth.
No more downloading, cloning, or installing. Thanks to the blazing fast Turbo package manager, StackBlitz can install all of your app’s dependencies & boot in mere seconds.
StackBlitz comes out of the box with all of the functionality you’d expect in your local VS Code environment like intellisense, go to definition, hot reloading, full access to npm, and much, much more.
We’d love to hear your feedback on this feature! Today this functionality is probably best suited for smaller apps & examples as we hammer out remaining implementation details, but if you find anything that’s not working as expected please don’t hesitate to file an issue on Github, chat with us in our Discord channel, or tweet us @stackblitz. Code on! ????????