inital commit

This commit is contained in:
chikovanreuden
2025-10-20 02:05:08 +02:00
commit 2fb5f48a54
19 changed files with 601 additions and 0 deletions

14
app/sendNotification.ts Normal file
View File

@@ -0,0 +1,14 @@
import * as Bun from "bun";
export function sendNotification(title: string, body: string, click?: string) {
const command = [
"python",
"./app/notification.py",
`--title=${title}`,
`--body=${body}`,
];
if (click) {
command.push(`--click=${click}`);
}
Bun.spawn(command);
}