add uv files + python script to send to webhook

This commit is contained in:
2026-06-12 18:29:54 +02:00
parent 1ed4ac04dd
commit e3705027fa
8 changed files with 129 additions and 203 deletions
+12
View File
@@ -0,0 +1,12 @@
import requests
import subprocess
import os
webhook_url = os.environ['WEBHOOK_URL']
bun_path = '/home/user/.bun/bin/bun'
result = subprocess.run([bun_path, "run", "getWishlist.mjs"], capture_output=True, text=True)
requests.post(
webhook_url,
json={"content": result.stdout}
)