https://github.com/imjah/scripts
Miscellaneous
https://github.com/imjah/scripts
bash python
Last synced: 3 months ago
JSON representation
Miscellaneous
- Host: GitHub
- URL: https://github.com/imjah/scripts
- Owner: imjah
- License: gpl-3.0
- Created: 2024-02-06T22:30:47.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-08T19:56:02.000Z (6 months ago)
- Last Synced: 2025-02-02T05:42:27.877Z (5 months ago)
- Topics: bash, python
- Language: Python
- Homepage:
- Size: 60.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ttv
Twitch and YouTube livestream feed built with
[SafeTwitch](https://codeberg.org/safetwitch) and [Piped](https://github.com/teampiped)
#### Config
```yaml
# ~/.config/ttv/config.ymltwitch:
- kapitanbombatvyoutube:
- "@kapitanbomba"piped:
- https://pipedapi.kavin.rockssafetwitch:
- https://stbackend.drgns.spacetimeout: 5
separator: ;
```#### Launcher
```sh
ttvmenu() {
ttv | sort | column -ts";" | fzf -m | grep -oE "https://[^[:space:]]+" | \while read -r url; do
$TERMINAL -- streamlink --player mpv "$url" best &
done
}
```#### Dependencies
- python
- python-requests
- python-websockets
- python-yaml# weather
[Weather Icon](https://github.com/erikflowers/weather-icons)
with current temperature from [Open-Meteo](https://open-meteo.com/)
#### Dependencies
- python
- python-requests
- nerd-fonts