Generate visual representations of the networks underlying video-gamebooks on YouTube https://youtube-maze.delab.re/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Mattéo Delabre ebcdbada27
Fix systemd unit description
2 years ago
bin Turn into an Express server 2 years ago
files Fix systemd unit description 2 years ago
lib Send SVG to clients, add simple caching 2 years ago
public Add a real front page 2 years ago
routes Add a real front page 2 years ago
.eslintrc Commit initial 6 years ago
.gitignore Add a real front page 2 years ago
LICENSE License under MIT 2 years ago
README.md Add a real front page 2 years ago
app.mjs Add helmet 2 years ago
package-lock.json Add helmet 2 years ago
package.json Add helmet 2 years ago

README.md

YouTube Maze

Some YouTube creators have made video-gamebooks during which viewers can make choices that influence the course of the narration. This is generally implemented by breaking up the video into short interlinked segments. This tool automatically generates a visual representation of networks underlying such games by automatically exploring the video maze starting from a root video.

See it live →

How Does it Work?

The algorithm starts at the first video and explores the links recursively using a breadth-first search approach, keeping track of the links as it goes. The Graphviz library is used to automatically lay out the graph so that as few edges cross as possible.

Running Locally

You can also run the server locally, provided you have a working installation of Node.JS and Graphviz.

git clone https://forge.delab.re/matteo/youtube-maze.git
cd youtube-maze
npm install
npm start

If everything goes as planned, you should be able to access the server by opening http://localhost:3000 in your browser.

License

This software is made available under the MIT license. See the full license text →