This VidLii instance is completely open source and it's thankfully uses the GPL 3.0 license for it's bare bones implementation. Also we use following open source projects which helps this instance to run and life:
.env by Vance Lucas for handling environment variables