initial commit

This commit is contained in:
2025-09-17 23:05:25 -04:00
commit ee78eef527
17 changed files with 610 additions and 0 deletions

26
startpage/root/bin/gpt.js Normal file
View File

@@ -0,0 +1,26 @@
export async function cmd(inp, k) {
var search = ""
if (inp.indexOf(" ") > 0) {
search = inp.substring(inp.indexOf(" ") + 1)
}
if (k == 'Enter') {
window.open(`https://chatgpt.com/?q=${search}`, '_self');
}
return `
<pre>
press Enter to search chat.openai.com for: '${search}'
</pre>
`;
}
export let man = `
<pre>
GPT(1)
NAME
\tgpt - search chat.openai.com for something. You'll probably only get slop
\tbut it may have a chance of helping.
</pre>
`