Qutejs
A library for building qutebrowser userscripts with nodejs
Install / Use
/learn @aidanharris/QutejsREADME
qutejs

A library for building qutebrowser userscripts with nodejs
Usage
const qutejs = require('qutejs');
qutejs.jseval([], function () {
alert('Hello World');
});
See the examples for some basic examples.
NOTE: Commands are camel-cased e.g the command adblock-update becomes adblockUpdate as shown in examples/adblockupdate.js.
Commands take either multiple function arguments or an array of options. There is one special case being jseval (as shown above).
The jseval function allows you to pass a function as the second argument which is parsed by qutejs. If the function is undefined we will assume the javascript to be executed is contained within the options array.
Running extra commands
If for some reason a command isn't directly exposed by qutejs you can directly execute commands to the $QUTE_FIFO using the _execFifo method as follows:
const qutejs = require('qutejs');
qutejs._execFifo(null, ['open','-t','https://duckduckgo.com']);
This command is prefixed with an underscore due to the unlikely event that qutebrowser introduces an execFifo command.
Related Skills
node-connect
346.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
346.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
346.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
