ZomoXYZ / twitchlive

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

twitchlive

intermediate http server to see if a twitch user is live

example

curl --request GET \
  --url https://shy-truth-4c6b.zomodev.workers.dev/xqc

could return

  • 200 online
  • 404 offline
  • 400 missing user

folders

  • main
    • main logic of the server
  • server
    • run the logic as a node server, using the http module
  • worker
    • run the logic as a cloudflare worker

.env example

SERVER_PORT=8080

About


Languages

Language:TypeScript 62.2%Language:JavaScript 37.8%