diff --git a/src/App.tsx b/src/App.tsx index 579a5fb..41b4622 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -12,6 +12,10 @@ const options = [ label: "structure from motion", value: "https://app.rerun.io/version/0.20.3/examples/structure_from_motion.rrd", }, + { + label: "grpc", + value: "rerun+http://127.0.0.1:9876/proxy", + }, ]; export default function App() { diff --git a/temp.py b/temp.py new file mode 100644 index 0000000..feda4a2 --- /dev/null +++ b/temp.py @@ -0,0 +1,26 @@ +# /// script +# requires-python = ">=3.10" +# dependencies = [ +# "rerun-sdk", +# ] +# /// + +import rerun as rr +import time + +def main() -> None: + rr.init("rerun_example_react_grpc") + rr.serve_grpc() + + doc = """ + ### Hello from gRPC + """ + + rr.log("text", rr.TextDocument(doc)) + + while True: + time.sleep(1) + + +if __name__ == "__main__": + main()