Skip to content

Web server

MoutonBinoclard edited this page Aug 22, 2025 · 3 revisions

SPC Logo

Web Server

Now, you can simply run a web server, let's see how to do it

Grabbing your Ngrok Auth Token

First, you need to create an account on ngrok.com. After that, you can grab your auth token in your dashboard here : your dashboard

Add the Token to SPC

Now open the settings editor, and in the web section, paste your token in the Ngrok Token field. Don't forget to save by clicking the green button

Change the title of the web page

You can do this by just changing the title field and saving

Start the web server

Just launch the web.exe file. Also make sure to run spc.exe after each round saved. This webpage takes the files from the export folder, so if you don't run SPC, the data won't be updated

Share the link

When you launch the web server, a terminal should open and after a few seconds, you should a link like this one:

https://f209-2a02-842a-53a0-c201-4981-e082-1b37-b9aa.ngrok-free.app

(It's a random link, it will change every time you run the script)

Close the web server

You can just close the terminal or press CTRL + C in the terminal

Note

  • If you close the terminal, the server will stop.
  • If you want to stop the server, press CTRL + C in the terminal.
  • You need to run SPC to update the data in the web server.
  • You cannot run two python instances on VS Code. That's why I open the web server with the python executable directly.

Clone this wiki locally