Install local Web server in your Browser | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Install local Web server in your Browser

So you want to learn back-end Server side programming, but dont have easy access to a Webserver. Now you can install one right in your Browser in Chrome with 1 click. (Desktop only) https://chrome.google.com/webstore/detail/web-server-for-chrome/ofhbbkphhbklhfoeikjpcbhemlocgigb?hl=en Enjoy

25th Apr 2018, 7:00 PM
Mike Choy
Mike Choy - avatar
3 Answers
+ 4
The open source code is here: https://github.com/kzahel/web-server-chrome I loaded it, it works. I was also able to load local content using a SoloLearn web app (iframe src=http://127.0.0.1:8887/index.html .... img src=...); so, that's cute and certainly would let someone practice the webserver idea. [meta] I did some basic security checks and (without having looked tooo deeply) it seems to avoid accidentally sharing the whole file system (so that's nice too).
25th Apr 2018, 8:48 PM
Kirk Schafer
Kirk Schafer - avatar
+ 4
good to know thanks for sharing :)
25th Apr 2018, 7:28 PM
Stefanoo
Stefanoo - avatar
+ 1
Thanks Kirk, I'm a Chrome OS user so good to get feedback on a regular OS user. Can you confirm what OS you were using
25th Apr 2018, 8:50 PM
Mike Choy
Mike Choy - avatar