[
  /* --- Live TV (HLS) --- */
  {
    "id": "TVNZ 1",
    "network": "TVNZ",
    "type": "hls",
    "source": "streams/tvnz1.m3u8",
    "logo": "logos/tvnz1.png",
    "description": "Live TVNZ 1"
  },
  {
    "id": "Three",
    "network": "Three",
    "type": "hls",
    "source": "streams/three.m3u8",
    "logo": "logos/three.png",
    "description": "Live Three"
  },

  /* --- Streaming Platforms --- */
  {
    "id": "YouTube Live",
    "network": "Streaming",
    "type": "youtube",
    "source": "https://www.youtube.com/embed/5qap5aO4i9A",
    "logo": "logos/youtube.png",
    "description": "LoFi Beats"
  },
  {
    "id": "Twitch Gaming",
    "network": "Streaming",
    "type": "iframe",
    "source": "https://player.twitch.tv/?channel=shroud&parent=localhost",
    "logo": "logos/twitch.png",
    "description": "Twitch Stream"
  },

  /* --- Webchat --- */
  {
    "id": "Local Chat",
    "network": "Webchat",
    "type": "html",
    "source": "webchat/index.html",
    "logo": "logos/chat.png",
    "description": "Local WebSocket Chat"
  },
  {
    "id": "Matrix Chat",
    "network": "Webchat",
    "type": "iframe",
    "source": "https://app.element.io",
    "logo": "logos/matrix.png",
    "description": "Matrix/Element Chat"
  },

  /* --- Tools --- */
  {
    "id": "Notepad",
    "network": "Tools",
    "type": "html",
    "source": "tools/notepad.html",
    "logo": "logos/notepad.png",
    "description": "Simple text editor"
  },
  {
    "id": "JSON Formatter",
    "network": "Tools",
    "type": "html",
    "source": "tools/json.html",
    "logo": "logos/json.png",
    "description": "Format and validate JSON"
  },
  {
    "id": "File Viewer",
    "network": "Tools",
    "type": "html",
    "source": "tools/fileviewer.html",
    "logo": "logos/files.png",
    "description": "Browse local files"
  },
  {
    "id": "QR Generator",
    "network": "Tools",
    "type": "html",
    "source": "tools/qr.html",
    "logo": "logos/qr.png",
    "description": "Generate QR codes"
  },

  /* --- Cloud Storage --- */
  {
    "id": "Local Storage Explorer",
    "network": "Cloud",
    "type": "html",
    "source": "cloud/localstorage.html",
    "logo": "logos/cloud.png",
    "description": "View LocalStorage data"
  },
  {
    "id": "IndexedDB Browser",
    "network": "Cloud",
    "type": "html",
    "source": "cloud/indexeddb.html",
    "logo": "logos/db.png",
    "description": "Explore IndexedDB"
  },

  /* --- Games --- */
  {
    "id": "Snake",
    "network": "Games",
    "type": "game",
    "source": "games/snake/index.html",
    "logo": "logos/snake.png",
    "description": "Classic Snake"
  },
  {
    "id": "Tetris",
    "network": "Games",
    "type": "game",
    "source": "games/tetris/index.html",
    "logo": "logos/tetris.png",
    "description": "Tetris clone"
  },
  {
    "id": "WebCraft",
    "network": "Games",
    "type": "game",
    "source": "games/webcraft/index.html",
    "logo": "logos/webcraft.png",
    "description": "Your 3D voxel engine"
  },

  /* --- Media --- */
  {
    "id": "Image Viewer",
    "network": "Media",
    "type": "image",
    "source": "media/sample.jpg",
    "logo": "logos/image.png",
    "description": "View an image"
  },
  {
    "id": "PDF Viewer",
    "network": "Media",
    "type": "pdf",
    "source": "media/manual.pdf",
    "logo": "logos/pdf.png",
    "description": "View a PDF"
  },

  /* --- Audio --- */
  {
    "id": "Radio NZ",
    "network": "Audio",
    "type": "audio",
    "source": "https://radionz.stream/stream.mp3",
    "logo": "logos/radio.png",
    "description": "Radio New Zealand"
  },
  {
    "id": "Ambient Music",
    "network": "Audio",
    "type": "audio",
    "source": "audio/ambient.mp3",
    "logo": "logos/music.png",
    "description": "Relaxing ambient music"
  },

  /* --- External Web Apps --- */
  {
    "id": "Wikipedia",
    "network": "Web",
    "type": "iframe",
    "source": "https://wikipedia.org",
    "logo": "logos/wiki.png",
    "description": "Online encyclopedia"
  },
  {
    "id": "Reddit",
    "network": "Web",
    "type": "iframe",
    "source": "https://reddit.com",
    "logo": "logos/reddit.png",
    "description": "Reddit front page"
  },
  {
    "id": "GitHub",
    "network": "Web",
    "type": "iframe",
    "source": "https://github.com",
    "logo": "logos/github.png",
    "description": "GitHub"
  }
]