Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Turn .mp3 URLs into an audio player in the Datasette interface
Install this plugin in the same environment as Datasette.
datasette install datasette-mp3-audio
Try this plugin at https://scotrail.datasette.io/scotrail/announcements
The demo uses ScotRail train announcements from matteason/scotrail-announcements-june-2022.
Once installed, any cells with a value that ends in .mp3
and starts with either http://
or /
or https://
will be turned into an embedded HTML audio element like this:
<audio controls src="... value ...">Audio not supported</audio>
A "Play X MP3s on this page" button will be added to athe top of any table page listing more than one MP3.
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd datasette-mp3-audio
python3 -m venv venv
source venv/bin/activate
Now install the dependencies and test dependencies:
pip install -e '.[test]'
To run the tests:
pytest
FAQs
Turn .mp3 URLs into an audio player in the Datasette interface
We found that datasette-mp3-audio demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.