This is a static website (HTML/CSS/JS). No build step is required.
- Open a terminal.
- Go to the project folder (the folder that contains
index.html):cd /path/to/your/velocity - Optional: verify you are in the right place:
You should see
pwd lsindex.html,styles.css, andscript.js. - Start a local web server on port 5500:
python3 -m http.server 5500
- Keep that terminal running.
- Open your browser to:
- Use the UI:
- Click All Flows / Build / CI / Developer / AI / GPU to filter traffic.
- Click Simulate Artifact Traffic to run the animation.
- Hover a node card to focus that route.
- Stop the server when done:
- Press
Ctrl + Cin the terminal.
- Press
If you prefer npm commands:
- Go to the project folder:
cd /path/to/your/velocity - Run:
npm run start
- Open:
- Open this folder in VS Code.
- Install the Live Server extension (if needed).
- Right-click
index.html. - Click Open with Live Server.
You are not in the right location yet.
Try finding the folder first:
find ~ -type d -name velocity 2>/dev/null | headThen cd into the correct result:
cd /actual/path/from/findUse ls on macOS/zsh (not dir):
lsPort 5500 is occupied. Start on another port:
python3 -m http.server 8080Then open:
Do not type the URL by itself as a shell command.
Use one of these:
- paste URL into browser address bar, or
- open it from terminal on macOS:
open http://localhost:5500/index.html(If you used port 8080, replace 5500 with 8080.)
You can host this static site with GitHub Pages.
If you have not pushed yet:
git init
git add .
git commit -m "Initial commit"
git branch -M main
git remote add origin https://github.com/<your-username>/<repo-name>.git
git push -u origin mainIf this repo already exists locally, just ensure origin points to GitHub and push main.
- In GitHub, open your repo.
- Go to Settings → Pages.
- Under Build and deployment, set Source to GitHub Actions.
This repo now includes a workflow at .github/workflows/deploy-pages.yml that deploys automatically on pushes to main.
After the Actions workflow completes, your site URL will be:
https://<your-username>.github.io/<repo-name>/
For this project file, use:
https://<your-username>.github.io/<repo-name>/index.html
Any push to main redeploys automatically:
git add .
git commit -m "Update site"
git push- Open VS Code.
- Click File → Open Folder... and select your project folder (the one with
index.html). - Open Terminal → New Terminal.
- In that terminal, run:
python3 -m http.server 5500
- Open in your browser:
Alternative in VS Code:
- Install the Live Server extension.
- Right-click
index.html→ Open with Live Server.
This project is static HTML/CSS/JS, so the easiest approach is:
- Open Visual Studio.
- Choose File → Open → Folder... and select the project folder.
- Open View → Terminal.
- Run:
python3 -m http.server 5500
- Open in browser:
If port 5500 is busy, use:
python3 -m http.server 8080Then open:
If index.html is not on your machine, you need to clone/download the repo first.
- Create a folder for projects and open terminal there.
- Run:
git clone https://github.com/<your-username>/<repo-name>.git
cd <repo-name>
lsYou should now see files like:
index.htmlstyles.cssscript.jsREADME.md
Then launch:
python3 -m http.server 5500Open:
- Open your GitHub repo page.
- Click Code → Download ZIP.
- Unzip the folder.
- Open terminal in the unzipped folder.
- Run:
python3 -m http.server 5500Open: