https://github.com/skynewz/twitch-clip
Twitch-aware application to watch followed live streams in your favorite media player, with a simple click, from system tray
https://github.com/skynewz/twitch-clip
golang iina streamlink system-tray twitch vlc
Last synced: about 2 months ago
JSON representation
Twitch-aware application to watch followed live streams in your favorite media player, with a simple click, from system tray
- Host: GitHub
- URL: https://github.com/skynewz/twitch-clip
- Owner: SkYNewZ
- License: gpl-3.0
- Created: 2021-05-21T17:03:40.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-04-19T11:23:39.000Z (about 2 years ago)
- Last Synced: 2025-02-16T14:08:15.503Z (over 1 year ago)
- Topics: golang, iina, streamlink, system-tray, twitch, vlc
- Language: Go
- Homepage:
- Size: 1.57 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# twitch-clip
Twitch-aware application to watch followed live streams in your favorite media player, with a simple click

## Build (from macOS)
You can use https://taskfile.dev to use predefined tasks.
### For macOS
```shell
$ task build:darwin # will build the Go binary
$ task package:darwin # package/bundle as macOS app
```
### For Windows
````shell
$ brew install mingw-w64 # Compile https://github.com/getlantern/systray
$ task build:windows
````
### For Unix
Not supported yet. I didn't find the fix for
```shell
$ task build:linux
task: [mod] go mod download
task: Task "generate" is up to date
task: [build:linux] go build -ldflags="-s -w -X 'main.twitchClientID=${TWITCH_CLIENT_ID}' -X 'main.twitchClientSecret=${TWITCH_SECRET_ID}'" -tags production -o "out/twitch_clip_${GOOS}_${GOARCH}.exe" .
# runtime/cgo
linux_syscall.c:67:13: error: implicit declaration of function 'setresgid' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
linux_syscall.c:67:13: note: did you mean 'setregid'?
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:593:6: note: 'setregid' declared here
linux_syscall.c:73:13: error: implicit declaration of function 'setresuid' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
linux_syscall.c:73:13: note: did you mean 'setreuid'?
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:595:6: note: 'setreuid' declared here
task: Failed to run task "build:linux": exit status 2
```