webextensions-examples
captureSystemAudio
Our great sponsors
webextensions-examples | captureSystemAudio | |
---|---|---|
28 | 46 | |
3,928 | 39 | |
1.3% | - | |
5.9 | 2.8 | |
21 days ago | 13 days ago | |
JavaScript | JavaScript | |
Mozilla Public License 2.0 | - |
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.
webextensions-examples
-
Browser extensions are underrated: the promise of hackable software
Check out Firefox examples on github, you’ll like it, I’ve had great experience learning from them to add nifty features to my browser:
-
Firefox: <input> picker was blocked due to lack of user activation when programmatically trying to open File Load dialog
I downloaded Content script registration repository from MDN webextensions-examples on GitHub.
-
When do you think X.org will become "officially" deprecated?
In some cases it does Banning a user doesn't magically make your bugs go away; Can't get response in Ubuntu #506.
-
I made a Light / Dark mode toggle button for Firefox, Toggley. Available on Mozilla Add-ons.
I believe there are already extensions for that. In fact, there's even one on the Mozilla Developer Network's GitHub called Theme Switcher which is essentially a dropdown menu with all of your themes.
-
I want to make a search engine extension. But I don't know how.
You dont need much. You can use this https://github.com/mdn/webextensions-examples/tree/master/discogs-search as a template
-
Executing shell scripts/command line without NODE
Yes it can, using Native Messaging https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Native_messaging. See https://github.com/mdn/webextensions-examples/pull/157.
-
'The best thing we can do today to JavaScript is to retire it,' says JSON creator Douglas Crockford • DEVCLASS
This is MDN's version of a Python Native Messaging host, including Python 2x version https://github.com/mdn/webextensions-examples/pull/157.
-
Browser Extension
https://extensionworkshop.com/ is pretty firefox-centric, but it does have a porting guide for chromium-based browsers. Similarly there's a bunch of examples to explore on github from Mozilla and from Google.
-
Show HN: Avatars for HN threads in 368 bytes
Why not create your own web extension? It will take just a few lines of code, you can look at this example for reference[0] (also on Github[1]).
[0]: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/Web...
[1]: https://github.com/mdn/webextensions-examples/tree/master/bo...
-
string to const char* for popen()
I found WebExtension with Native messaging C++ App side where the C++ design is similar to the Python design in Fix native message examples with python3 #157 that I have been using capture_system_audio.py.
captureSystemAudio
-
JavaScript Standard Input/Output: Unspecified
Synchronous. Though non-blocking when we read the message from the browser, execute the command, then stream data output from the local application to the browser piped from QuickJS std.popen(), capture_system_audio.js
-
IAMA senior javascript dev, ask me anything
I've already achieved the requirement multiple ways, already; from using Native Messaging https://github.com/guest271314/native-messaging-espeak-ng, to using GNU Core Utilities tail, to Deno.watchFs() https://github.com/guest271314/fs, et al., see captureSystemAudio. The one approach I have not yet achieved is compiling to Emscripten - with SSML support.
-
Need help with ytdl-core and ExpressJS
Sure, see https://github.com/guest271314/captureSystemAudio/blob/master/native_messaging/capture_system_audio/background.js, in pertinent part
-
Kindly review this C QuickJS HTTP streaming Web server module
This is my second time writing C source code capture_system_audio.c. I got a lot of help doing that, too . I basically implemented the same Native Messaging host algorithm in C, C++, Python, WASI/WebAssembly, and JavaScript (Node.js, QuickJS) which is the programming language I write code most using.
-
Termino.js: Create command based apps on any website - great for games, chat-bots, animations and real world apps!
I just fetch the nightly node executable, get rid of everything else in the archive, use .mjs extension for import to work without package.json, then I can connect to the host https://github.com/guest271314/native-messaging-nodejs, and start subprocesses, e.g., raw PCM streams, where stdout is streamed to the client (browser), e.g, https://github.com/guest271314/captureSystemAudio/blob/master/native_messaging/capture_system_audio/capture_system_audio_node.js.
-
How to serve exactly 1 HTML file and 1 JavaScript file, then exit the program?
Technically I can just serve the raw data as long as the server is capable of opening creating sub-processes, e.g., using EventSource https://plnkr.co/edit/qX5tepJ38BuDOSZj?preview, in which case I would just need to convert this https://github.com/guest271314/captureSystemAudio/blob/master/native_messaging/capture_system_audio/capture_system_audio.c to accept GET request, read the URL, and send the named event stream to the client.
-
[AskJS] Has anybody implemented and compiled ServiceWorker specification to a standalone executable?
Chromium and Chrome refuses to capture monitor devices on Linux. Read this https://github.com/edisionnano/Screenshare-with-audio-on-Discord-with-Linux README and the README at https://github.com/guest271314/captureSystemAudio very carefully. At best you can capture tab audio, not whatever is output to speakears and headphones, in spite of the systemAudio constraints, which is poorly named, and actually misleading.
I've already built it https://github.com/guest271314/captureSystemAudio#web-accessible-resources-transferable-streams-media-capture-transform-breakout-box, https://github.com/guest271314/captureSystemAudio/blob/master/native_messaging/capture_system_audio/capture_system_audio.js; see also https://github.com/guest271314/sw-transfer-stream and https://github.com/guest271314/offscreen-webrtc. I'm just trying to reduce steps https://github.com/guest271314/requestClient.
-
[AskJS] Do specification authors and implementers listen to developers in the field?
How is capturing speechSynthesis.speak() a security vector https://github.com/guest271314/captureSystemAudio?
-
What chrome extensions are you using in 2023?
Capture audio output to speakers or headphones to MP3 or Opus in WebM https://github.com/guest271314/captureSystemAudio/tree/master/native_messaging/capture_system_audio
What are some alternatives?
libdatachannel - C/C++ WebRTC network library featuring Data Channels, Media Transport, and WebSockets
ff2mpv - A Firefox/Chrome add-on for playing URLs in mpv.
focus-ios - ⚠️ Firefox Focus (iOS) has moved to a new repository. It is now developed and maintained as part of: https://github.com/mozilla-mobile/firefox-ios
webextension-polyfill - A lightweight polyfill library for Promise-based WebExtension APIs in Chrome
Ka-Block - A Safari extension that blocks an artisanal selection of advertising domains.
native-messaging
comet - Browser extension to replace Youtube comments with Reddit comments or view the Reddit comments of any webpage.
native-messaging-bash - Bash Native Messaging host.
Neat-URL - Neat URL cleans URLs, removing parameters such as Google Analytics' utm parameters.
proposal-do-expressions - Proposal for `do` expressions
chrome-extensions-samples - Chrome Extensions Samples