import React, {useEffect, useState} from "react"
import Layout from "../components/layout"
import RepoCard from "../components/cards/repo"
import AdbConnect from "../components/adbconnect"
import bgImage from "../media/phones.png"
import { TiWarning } from "react-icons/ti";
const IndexPage = () => {
const [repos, setRepos] = useState([]);
useEffect(() => {
fetch("https://raw.githubusercontent.com/recloudstream/cs-repos/master/repos-db.json")
.then(r => r.json())
.then(data => {
setRepos(data)
})
}, [setRepos])
return Keep in mind that the extensions can execute arbitrary code inside the app.
This means you should treat them with the same level of scrutiny you treat any apps. Extensions can also read all of the Cloudstream's data.