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 (

TROK

EXPOSE. SHARE. ACCESS.

Accessing your
local service should
be simple

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.

Install

Install trok to your machine using shell:

This will download the trok binary to the path you ran the script from.
Run it with  ./trok  on any system

USING TROK:

{">"} $ trok tcp 3000

started Trok client on trok.cloud

[CMD] EHLO [ARG] trok.cloud

1. Expose

provide the local port you want to share, and it'll generate a URL.

hey here take a look at my project...

2. Share

share the URL with your friends.

https://awesome-project.trok.cloud
🎉 your awesome project 🎉

3. Access

access your local service from anywhere.

); } export default App;