Skip to content

Commit

Permalink
Merge pull request #54 from qnkhuat/move-to-xyz
Browse files Browse the repository at this point in the history
Moving from tstream.club to tstream.xyz
  • Loading branch information
qnkhuat committed Jul 1, 2022
2 parents 337698b + cf9238a commit 0c472b3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<h1 style="border-bottom:0" align="center">TStream - Streaming from terminal</h1>
<a href="https://tstream.club"><p align="center"><img style="border-radius:20px;" src="./client/public/android-chrome-192x192.png"/></p></a>
<a href="https://tstream.xyz"><p align="center"><img style="border-radius:20px;" src="./client/public/android-chrome-192x192.png"/></p></a>

<p align="center">
<a href="https://tstream.club">TStream.club </a> | <a href="https://discord.gg/qATHjk6ady"> Join our Discord </a> | <a href="https://tstream.club/start-streaming">Start Streaming</a>
<a href="https://tstream.xyz">tstream.xyz </a> | <a href="https://discord.gg/qATHjk6ady"> Join our Discord </a> | <a href="https://tstream.xyz/start-streaming">Start Streaming</a>
</p>

![TStream](./client/public/demo.gif)
Expand Down Expand Up @@ -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/)
Expand All @@ -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}`.

Expand Down
4 changes: 2 additions & 2 deletions tstream/cmd/tstream.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 0c472b3

Please sign in to comment.