
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
A simple youtube downloader included in Tsunami
To install Mist on your site you need to be using nodejs and express
1: Upload the mist folder to your website
2: Setup express
const express = require('express');
const app = express();
3: Add mist
const mist = require("mist-yt");
4: Setup mist
app.use((req, res) => {
if (req.url.startsWith("/watch")) {
mist.watch(req, res)
} else if (req.url.startsWith("/video")) {
mist.video(req, res)
}
})
If you want some kind of error page you can set it up like this
app.use((req, res) => {
if (req.url.startsWith("/watch")) {
mist.watch(req, res)
} else if (req.url.startsWith("/video")) {
mist.video(req, res)
} else {
res.send("404 Error)
}
})
Full Result (see /demo)
const express = require('express');
const app = express();
const mist = require("mist-yt");
app.use((req, res) => {
if (req.url.startsWith("/watch")) {
mist.watch(req, res)
} else if (req.url.startsWith("/video")) {
mist.video(req, res)
}
})
app.listen(8080, () => {
console.log('Server running at localhost:8080');
});
Your all setup! Access Mist by going to /watch
/watch?=videoid&audio=false
Main video page
/video?=videoid&audio=false
Just the video
If you wish to use Mist commercially (on your service) you must include credit to Mist somewhere on your service
FAQs
A simple youtube downloader included in Tsunami
The npm package mist-yt receives a total of 2 weekly downloads. As such, mist-yt popularity was classified as not popular.
We found that mist-yt demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.