Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
A Discord Speech-to-Text module made with Vosk. Yes, it works!
In Discord settings, if you are not in the Push-to-Talk mode in "Voice & Video" and you are in the Voice Activity mode, you must disable "Automatically determine input sensivity" option and set it to lowest value. Like in this screenshot:
apt install ffmpeg
for Ubuntu)npm i assisky
options:
{
"voskLogLevel": int, // -1 to disable logging of Vosk
"modelPath": "Path to downloaded model folder", // Default: ./model
}
Returns an event for sending recognition results. See example for details.
userId: A Discord user ID that joined to a voice channel.
discordVoiceConnection: The voice connection of the bot. (Bot should join the same VC with the user.) See this for more details.
userId: A Discord user ID that joined to a voice channel and recognition for user has been started and progressing.
userId: A Discord channel ID, bot will stop listening everyone in the channel. Useful to run before leaving a VC.
Bot returns an Object which contains current listening users' streams, connection, userId. {discordAudio,PCMToMP3,wavReader,rec,connection,userId}
The config object that recieved from Assisky.setup() function.
Note: In the example below, I've used the Turkish language model but you can use different models as you want.
"bu bir denemedir" means "this is a test"
"merhaba dünya" means "hello world"
FAQs
A Discord Speech-to-Text module made with Vosk.
We found that assisky 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.