import { createSignal } from "solid-js"; import { ChatBubbleLeftIcon, ClipboardDocumentIcon, ClipboardDocumentCheckIcon, } from "@/components/icons"; function App() { const install = `curl -fsSL https://trok.cloud/install.sh | sh`; const [copied, setCopied] = createSignal(false); const handleCopy = () => { navigator.clipboard.writeText(install); setCopied(true); setTimeout(() => { setCopied(false); }, 1300); }; return (
It's like ngrok but simpler. Just install, run the command, and get a shareable URL to access your local service from anywhere. No complex setup—just instant, secure tunneling to the internet.
{">"} $ trok tcp 3000
started Trok client on trok.cloud
[CMD] EHLO [ARG] trok.cloud
provide the local port you want to share, and it'll generate a URL.
share the URL with your friends.
access your local service from anywhere.