native-messaging-mkvmerge
webtransport
native-messaging-mkvmerge | webtransport | |
---|---|---|
3 | 4 | |
2 | 3 | |
- | - | |
1.8 | 0.0 | |
almost 4 years ago | over 2 years ago | |
JavaScript | JavaScript | |
GNU General Public License v3.0 only | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
native-messaging-mkvmerge
-
Node.js Native Messaging host
Merge Matroska and WebM files (https://github.com/guest271314/native-messaging-mkvmerge).
-
Deno Native Messaging host
There is a shell script to automate that procedure here https://github.com/guest271314/native-messaging-mkvmerge/blob/master/host/install_host.sh.
-
Running a python script from a website
Aside from WebTransport, it is also possible to run arbitrary locally hosted code using Native Messaging https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Native_messaging, e.g., see https://github.com/guest271314/native-messaging-mkvmerge.
webtransport
-
How to execute processes at the same time for multi web user application
I've only tested Python to create a Native Messaging host https://github.com/guest271314/native-messaging-python and experiment with the deprecated QuicTransport https://github.com/guest271314/quictransport/blob/main/audioworklet-webassembly-memory-grow/quicTransportAudioWorkletMemoryGrow.js and WebTransport https://github.com/guest271314/webtransport.
-
I Created A Web Speech API NPM Package Called SpeechKit
One way to do that is utilizing Native Messaging on Chromium or Firefox https://github.com/guest271314/native-messaging-espeak-ng, and https://github.com/guest271314/webtransport/blob/main/webTransportEspeakNg.js for some WebTransport experiments. Technically we don't need a local server. We can stream and parse the WAV directly and pipe to AudioWorklet or a MediaStreamTrackGenerator https://github.com/guest271314/AudioWorkletStream. The same is true for speech recognition, where audio is piped to the local application and text or JSON piped back. Note also espeak-ng has been compiled to WebAssembly. I created native-messaging-espeak-ng for the ability to pass SSML directly to espeak-ng.
-
How to convert byte array to arguments for subprocess.run?
Yes, I am currently using https://github.com/guest271314/webtransport/blob/main/quic_transport_server_tts.py#L138.
-
Running a python script from a website
You can use WebTransport in the browser (Chromium; Chrome) to run arbitrary Python (or other language the OS supports), e.g., see https://github.com/guest271314/webtransport.
What are some alternatives?
native-messaging-bash - Bash Native Messaging host.
native-messaging-python - Python Native Messaging host
espeak-ng - eSpeak NG is an open source speech synthesizer that supports more than hundred languages and accents.
GoogleNetworkSpeechSynthesis - Google's Network Speech Synthesis: Bring your own Google API key and proxy
speech-kit - Simplifying the Speech Synthesis and Speech Recognition engines for Javascript. Listen for commands and perform callback actions, make the browser speak and transcribe your speech!
pocketsphinx - A small speech recognizer
quictransport - QuicTransport experiments
samples - A repo containing samples tied to new functionality in each release of Google Chrome.
AudioWorkletStream - fetch() => ReadableStream => AudioWorklet