WebServerNpp (Python Script plugin)
-
Hello everyone! 👋
I’m new to scripting and wanted to share my first creation—WebServerNpp! With some help from DeepSeek, I built this handy tool that turns Notepad++ into a local web server. I’d love for you to try it out and let me know what you think!
✨ What does this script do?
• Turns Notepad++ into a lightweight web server
• Serves files directly from your current working directory
• Perfect for quick HTML/CSS/JS testing
• Full control via Notepad++'s Python consoleYou can get the script at https://github.com/josevdr95new/WebServerNpp
-
I had to convert it to Python 3 but yep, it worked. I’m curious if you have a use case or a reason behind you project or are just messing around.
-
@notdodgeball I’m not just trying to entertain myself.
-
@All_StarS said in WebServerNpp (Python Script plugin):
turns Notepad++ into a local web server
Sounds like VSCode’s Live Server functionality?
Cheers.
-
@Michael-Vincent Yes, I have to change it to make it work in py3
Available commands:
startws() - Starts the server in the current
stopws() - Stops the server
statusws() - Displays the server status
refreshws() - Restarts the server -
Compatible with py3 https://github.com/josevdr95new/WebServerNpp/tree/py3 new branch
git clone --branch py3 --single-branch https://github.com/josevdr95new/WebServerNpp.git
-
Testing Tkinter
GUI interface https://github.com/josevdr95new/WebServerNpp/tree/GUIinterface-py3 new branch
git clone --branch GUIinterface-py3 --single-branch https://github.com/josevdr95new/WebServerNpp.git
show_ws_gui()