Community
    • Login

    WebServerNpp (Python Script plugin)

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    8 Posts 3 Posters 285 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • All_StarSA
      All_StarS
      last edited by

      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 console

      You can get the script at https://github.com/josevdr95new/WebServerNpp

      Michael VincentM 1 Reply Last reply Reply Quote 2
      • notdodgeballN
        notdodgeball
        last edited by

        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.

        All_StarSA 1 Reply Last reply Reply Quote 0
        • All_StarSA
          All_StarS @notdodgeball
          last edited by

          @notdodgeball I’m not just trying to entertain myself.

          1 Reply Last reply Reply Quote 0
          • Michael VincentM
            Michael Vincent @All_StarS
            last edited by

            @All_StarS said in WebServerNpp (Python Script plugin):

            turns Notepad++ into a local web server

            Sounds like VSCode’s Live Server functionality?

            Cheers.

            All_StarSA 1 Reply Last reply Reply Quote 0
            • All_StarSA
              All_StarS @Michael Vincent
              last edited by All_StarS

              @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

              1 Reply Last reply Reply Quote 0
              • All_StarSA
                All_StarS
                last edited by All_StarS

                Compatible with py3 https://github.com/josevdr95new/WebServerNpp/tree/py3 new branch

                git clone --branch py3 --single-branch https://github.com/josevdr95new/WebServerNpp.git
                
                1 Reply Last reply Reply Quote 3
                • All_StarSA
                  All_StarS
                  last edited by All_StarS

                  Testing Tkinter

                  G.png

                  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()
                  
                  notdodgeballN 1 Reply Last reply Reply Quote 2
                  • notdodgeballN
                    notdodgeball @All_StarS
                    last edited by

                    Nice. It’s progressing fast.

                    Now which will come first, https or authentication?

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    The Community of users of the Notepad++ text editor.
                    Powered by NodeBB | Contributors