Compare commits
2 commits
9e5bcd024b
...
10fb167d65
Author | SHA1 | Date | |
---|---|---|---|
10fb167d65 | |||
2aff54281e |
4 changed files with 1 additions and 23 deletions
|
@ -76,7 +76,6 @@ steps:
|
||||||
settings:
|
settings:
|
||||||
api_key:
|
api_key:
|
||||||
from_secret: github_api_token
|
from_secret: github_api_token
|
||||||
github_url: https://github.com
|
|
||||||
files:
|
files:
|
||||||
- deploy/hathoris-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}hf
|
- deploy/hathoris-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}hf
|
||||||
- deploy/hathoris-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}v7
|
- deploy/hathoris-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}v7
|
||||||
|
@ -147,7 +146,6 @@ steps:
|
||||||
settings:
|
settings:
|
||||||
api_key:
|
api_key:
|
||||||
from_secret: github_api_token
|
from_secret: github_api_token
|
||||||
github_url: https://github.com
|
|
||||||
files:
|
files:
|
||||||
- deploy/hathoris-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
|
- deploy/hathoris-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
|
||||||
when:
|
when:
|
||||||
|
@ -215,7 +213,6 @@ steps:
|
||||||
settings:
|
settings:
|
||||||
api_key:
|
api_key:
|
||||||
from_secret: github_api_token
|
from_secret: github_api_token
|
||||||
github_url: https://github.com
|
|
||||||
files:
|
files:
|
||||||
- deploy/hathoris-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
|
- deploy/hathoris-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
|
||||||
when:
|
when:
|
||||||
|
|
|
@ -20,10 +20,7 @@ RUN go get && go generate && go build -ldflags="-s -w"
|
||||||
|
|
||||||
FROM alpine:3.18
|
FROM alpine:3.18
|
||||||
|
|
||||||
ENV HATHORIS_BIND=:8080
|
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
CMD ["/srv/hathoris"]
|
CMD ["/srv/hathoris"]
|
||||||
|
|
||||||
RUN apk --no-cache add alsa-utils pulseaudio-utils mpv yt-dlp
|
|
||||||
|
|
||||||
COPY --from=build /go/src/git.nemunai.re/nemunaire/hathoris/hathoris /srv/hathoris
|
COPY --from=build /go/src/git.nemunai.re/nemunaire/hathoris/hathoris /srv/hathoris
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
FROM alpine:3.18
|
FROM alpine:3.18
|
||||||
|
|
||||||
ENV HATHORIS_BIND=:8080
|
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
CMD ["/srv/hathoris"]
|
CMD ["/srv/hathoris"]
|
||||||
|
|
||||||
RUN apk --no-cache add alsa-utils pulseaudio-utils mpv yt-dlp
|
|
||||||
|
|
||||||
COPY hathoris /srv/hathoris
|
COPY hathoris /srv/hathoris
|
||||||
|
|
15
README.md
15
README.md
|
@ -47,26 +47,13 @@ Hathoris is compatible with any Linux distribution that has PulseAudio. It also
|
||||||
|
|
||||||
### Quick Installation Guide
|
### Quick Installation Guide
|
||||||
|
|
||||||
#### With Docker
|
|
||||||
|
|
||||||
```
|
|
||||||
docker run -p 8080:8080 \
|
|
||||||
--device /dev/snd \
|
|
||||||
-e PULSE_SERVER=unix:${XDG_RUNTIME_DIR}/pulse/native \
|
|
||||||
-v ${XDG_RUNTIME_DIR}/pulse/native:/run/pulse/native \
|
|
||||||
-v ~/.config/pulse/cookie:/root/.config/pulse/cookie \
|
|
||||||
nemunaire/hathoris
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Without Docker
|
|
||||||
|
|
||||||
1. Install dependancies.
|
1. Install dependancies.
|
||||||
|
|
||||||
On Debian/Ubuntu/Raspbian/armbian/...: `sudo apt install alsa-utils pulseaudio-utils mpv yt-dlp`
|
On Debian/Ubuntu/Raspbian/armbian/...: `sudo apt install alsa-utils pulseaudio-utils mpv yt-dlp`
|
||||||
On Alpine: `sudo apk add alsa-utils pulseaudio-utils mpv yt-dlp`
|
On Alpine: `sudo apk add alsa-utils pulseaudio-utils mpv yt-dlp`
|
||||||
On ArchLinux/Manjaro: `sudo pacman -S alsa-utils pulseaudio mpv yt-dlp`
|
On ArchLinux/Manjaro: `sudo pacman -S alsa-utils pulseaudio mpv yt-dlp`
|
||||||
|
|
||||||
2. Download the [latest release binary for your architecture](/nemunaire/hathoris/releases/latest); choose between ARMv6 (Raspberry Pi Zero), ARMv7 (Voltastreams, Raspberry Pi 2+), ARM64 (Raspberry Pi Zero 2 and 3+ **with 64 bits OS**).
|
2. Download the latest release binary for your architecture; choose between ARMv6 (Raspberry Pi Zero), ARMv7 (Voltastreams, Raspberry Pi 2+), ARM64 (Raspberry Pi Zero 2 and 3+ **with 64 bits OS**): https://git.nemunai.re/nemunaire/hathoris/releases/latest
|
||||||
|
|
||||||
3. Give execution permissions: `chmod +x hathoris-linux-armv7`
|
3. Give execution permissions: `chmod +x hathoris-linux-armv7`
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue