native-messaging
better-onetab
native-messaging | better-onetab | |
---|---|---|
6 | 2 | |
47 | 1,642 | |
- | - | |
0.0 | 0.0 | |
11 months ago | over 1 year ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
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
-
JavaScript Standard Input/Output: Unspecified
// Bun Native Messaging host // guest271314, 10-9-2022 async function getMessage() { const { promise, resolve } = Promise.withResolvers(); // https://github.com/simov/native-messaging/blob/8e99d2a345ae94426a502d05aa5d57b966f6bc78/protocol.js let messageLength = 0, bytesWritten = 0, input = [];
-
How would you fix this Node.js bug?
Does not send messages from host to browser equal or to 65536 length.
-
How to read Node.js process.stdin without using process.stdin.on('readable', () => {})?
In Node.js this code https://github.com/simov/native-messaging/blob/master/protocol.js does this
-
process.stdin.read() without using process.stdin.on('readable', ()=.{})
https://github.com/simov/native-messaging/blob/master/nodejs/example.js#:~:text=Raw,Footer
-
Node.js in Chrome extension
Yes. You can utilize Native Messaging. See https://github.com/simov/native-messaging.
-
Why does RSS constantly grow when reading data from a child process and calling process.stdout.write()?
// Node.js Native Messaging host // https://github.com/simov/native-messaging/blob/master/protocol.js // https://github.com/simov/native-messaging/blob/master/nodejs/example.js // Might be good to use an explicit path to node on the shebang line // in case it isn't in PATH when launched by Chrome process.stdin.on('readable', () => { let input = []; let chunk; while ((chunk = process.stdin.read())) { input.push(chunk); } input = Buffer.concat(input); const msgLen = input.readUInt32LE(0); const dataLen = msgLen + 4; if (input.length >= dataLen) { const content = input.slice(4, dataLen); const json = JSON.parse(content.toString()); handleMessage(json); } });
better-onetab
- Sessionic: A cross-browser extension to save, manage, restore tabs and sessions
-
Serendipity
It’s so much better with better-onetab, where it even has a search bar to easily search for old tabs based on URL and page header. Highly recommend them both, and better-onetab is even open source if that matters to you!
What are some alternatives?
node - Node.js JavaScript runtime ✨🐢🚀✨
xhub - Extend GitHub pages with math, graphs etc.
firefox-mute-site - Firefox extension that allows to instantly mute/unmute all tabs from a website
e-ink-viewable - A chrome extension to make all websites viewable in e-ink screen, convert dark theme to light theme automatically.电子墨水屏显示器Chrome插件,网页黑底白字自动转白底黑字。
omni - The all-in-one tool to supercharge your productivity ⌨️
find - A find-in-page extension for Chrome and Firefox that supports regular expressions.
markdown-viewer - Markdown Viewer / Browser Extension
node-v0.x-archive - Moved to https://github.com/nodejs/node
bypass-paywalls-chrome - Bypass Paywalls web browser extension for Chrome and Firefox.
proposal-common-minimum-api
lunabrain - AI-assisted writing tool.