From cf9238a17f058896885aa3987ff451e0e71c40e0 Mon Sep 17 00:00:00 2001 From: Ngoc Khuat Date: Fri, 1 Jul 2022 11:07:11 +0700 Subject: [PATCH] moving from tstream.club to tstream.xyz --- README.md | 10 +++++----- tstream/cmd/tstream.go | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index e2bfa4f..e641e3d 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@

TStream - Streaming from terminal

-

+

-TStream.club | Join our Discord | Start Streaming +tstream.xyz | Join our Discord | Start Streaming

![TStream](./client/public/demo.gif) @@ -55,7 +55,7 @@ Optional configurations: Test the server with `curl http://localhost:3000/api/health`. It should return the current time ## Client web app -This is what currently running at [tstream.club](https://tstream.club). +This is what currently running at [tstream.xyz](https://tstream.xyz). To run it: - Install [nodejs](https://nodejs.org/en/download/) @@ -65,13 +65,13 @@ To run it: - Tell the client your the server address by: `export REACT_APP_API_URL={your server address}` - Run server: `npm run start` -Now go to `localhost:3001`, it should be exactly like [tstream.club](https://tstream.club) +Now go to `localhost:3001`, it should be exactly like [tstream.xyz](https://tstream.xyz) For production I recommend using service like [Vercel](https://vercel.com/). It's free and very easy to setup ## Streaming -By default the tstream package will stream to [https://server.tstream.club](https://server.tstream.club) +By default the tstream package will stream to [https://server.tstream.xyz](https://server.tstream.xyz) You can override it with by running `tstream -server {your server address}`. diff --git a/tstream/cmd/tstream.go b/tstream/cmd/tstream.go index 5aee6ca..60db099 100644 --- a/tstream/cmd/tstream.go +++ b/tstream/cmd/tstream.go @@ -67,8 +67,8 @@ func main() { var private = flag.Bool("private", false, "Start a private session") var chat = flag.Bool("chat", false, "Open chat client: %s") - var client = flag.String("client", "https://tstream.club", "TStream client url") - var server = flag.String("server", "https://server.tstream.club", "Server endpoint") + var client = flag.String("client", "https://tstream.xyz", "TStream client url") + var server = flag.String("server", "https://server.tstream.xyz", "Server endpoint") var version = flag.Bool("version", false, fmt.Sprintf("TStream version: %s", cfg.STREAMER_VERSION)) flag.Parse()