Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
iebb committed Apr 10, 2022
2 parents b40e248 + 71c46dd commit e4696db
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM golang:1.18

WORKDIR /usr/src/app

# pre-copy/cache go.mod for pre-downloading dependencies and only redownloading them in subsequent builds if they change
COPY go.mod go.sum ./
RUN go mod download && go mod verify

COPY . .
RUN go build -v -o /usr/local/bin/app ./...

CMD ["app"]
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,16 @@
# F1WebViewer-SelfHosted
Self-hosted reverse-proxy for F1 web viewer.
Self-hosted reverse-proxy for F1 web viewer, includes a web server at port 13331.


### Tutorial:

![image](https://user-images.githubusercontent.com/2127498/162486955-ca58805d-da15-43e0-9b4a-a54a31401a10.png)

Download binary from https://github.com/iebb/F1WebViewer-SelfHosted/releases, or build your own, or just `go run main.go`

You can also run this proxy in your server, and use http://[server-ip]:13331/ to watch it. That might be useful if your home country doesn't have F1TV.

### Extras:

Currently authentication and Reese84 Requests are routed through the public website as the solution might be immature.

0 comments on commit e4696db

Please sign in to comment.