
Product
Rust Support Now in Beta
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
vanalytics
Advanced tools
Simple video player client (based on JWPlayer) with a configurable analytics server in node.js
install Apache CouchDB, see installation guide
git clone https://github.com/abanppc/vanalytics.git
cd vanalytics
npm install .
Optionally configure your reverse proxy (e.g. nginx) to the proxy_pass to your node.js server
Update config file
./pushapp couchdb_user couchdb_pass couchdb_host[=localhost]
from the installation directory run
npm start
Views Histogram by (UUID,UserId)
GET /analytics/views/25ea3fae-4220-11e4-86da-2c44fd7f1164/user2
{
"ok": true,
"results": [{
"key": ["25ea3fae-4220-11e4-86da-2c44fd7f1164", "user2"],
"value": {
"1": 1,
"2": 1,
"3": 1,
"4": 1,
"5": 1,
"27": 1,
"28": 1,
"29": 1,
"30": 1,
"31": 1,
"32": 1,
"33": 1,
"34": 1,
"35": 1,
"36": 1,
"37": 1,
"38": 1,
"39": 1,
"40": 1
}
}]
}
Total Watches by UUID
GET /analytics/watches/25ea3fae-4220-11e4-86da-2c44fd7f1164
{
"ok": true,
"results": [{
"key": ["25ea3fae-4220-11e4-86da-2c44fd7f1164", 2014, 11, 22],
"value": 1
}]
}
Total Watches by (UUID/UserId)
GET /analytics/watches/25ea3fae-4220-11e4-86da-2c44fd7f1164/user2
{
"ok": true,
"results": [{
"key": ["25ea3fae-4220-11e4-86da-2c44fd7f1164", "user2", 2014, 11],
"value": 1
}]
}
Play/Replay by UUID
GET /analytics/prp/25ea3fae-4220-11e4-86da-2c44fd7f1164
{
"ok": true,
"results": [{
"plays": {
"1": 1,
"2": 1,
"3": 2,
"4": 2,
"5": 2,
"6": 2,
"7": 2,
"8": 2,
"9": 2,
"10": 2,
"11": 2,
"12": 2,
"13": 2,
"14": 2,
"15": 2,
"16": 2,
"17": 2,
"18": 2,
"19": 2,
"20": 2,
"21": 2,
"22": 2,
"23": 2,
"24": 2,
"25": 2,
"26": 1,
"27": 1,
"28": 1,
"29": 1,
"30": 1,
"31": 1,
"32": 1,
"33": 1,
"34": 1,
"35": 1,
"36": 1,
"37": 1,
"38": 1,
"39": 1,
"40": 1
},
"replays": {
"27": 1,
"28": 1,
"29": 1,
"30": 1
}
}]
}
Traffic Usage By UUID
GET /analytics/traffic/MultiBitrateVid.mp4
{
"ok": true,
"results": [{
"key": ["MultiBitrateVid.mp4", 2014, 11, 22],
"value": {
"sum": 1200,
"count": 48,
"min": 25,
"max": 25,
"sumsqr": 30000
}
}]
}
Traffic Usage By IP
GET /analytics/trafficIp/172.16.35.15
{
"ok": true,
"results": [{
"key": ["172.16.35.15", 2014, 11, 22],
"value": {
"sum": 1260,
"count": 50,
"min": 25,
"max": 30,
"sumsqr": 31800
}
}]
}
FAQs
Video Analytics Script
We found that vanalytics 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.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.