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.gitshow_ws_gui() -
Nice. It’s progressing fast.
Now which will come first, https or authentication?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login