Compare commits
3 commits
67c79979ee
...
10fb167d65
Author | SHA1 | Date | |
---|---|---|---|
10fb167d65 | |||
2aff54281e | |||
b82316752d |
3 changed files with 61 additions and 11 deletions
|
@ -1,4 +1,4 @@
|
||||||
image: registry.nemunai.re/hathoris:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
|
image: nemunaire/hathoris:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
|
||||||
{{#if build.tags}}
|
{{#if build.tags}}
|
||||||
tags:
|
tags:
|
||||||
{{#each build.tags}}
|
{{#each build.tags}}
|
||||||
|
@ -6,16 +6,16 @@ tags:
|
||||||
{{/each}}
|
{{/each}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
manifests:
|
manifests:
|
||||||
- image: registry.nemunai.re/hathoris:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-amd64
|
- image: nemunaire/hathoris:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-amd64
|
||||||
platform:
|
platform:
|
||||||
architecture: amd64
|
architecture: amd64
|
||||||
os: linux
|
os: linux
|
||||||
- image: registry.nemunai.re/hathoris:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm64
|
- image: nemunaire/hathoris:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm64
|
||||||
platform:
|
platform:
|
||||||
architecture: arm64
|
architecture: arm64
|
||||||
os: linux
|
os: linux
|
||||||
variant: v8
|
variant: v8
|
||||||
- image: registry.nemunai.re/hathoris:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm
|
- image: nemunaire/hathoris:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm
|
||||||
platform:
|
platform:
|
||||||
architecture: arm
|
architecture: arm
|
||||||
os: linux
|
os: linux
|
||||||
|
|
43
.drone.yml
43
.drone.yml
|
@ -71,11 +71,22 @@ steps:
|
||||||
event:
|
event:
|
||||||
- tag
|
- tag
|
||||||
|
|
||||||
|
- name: github release
|
||||||
|
image: plugins/github-release:linux-arm
|
||||||
|
settings:
|
||||||
|
api_key:
|
||||||
|
from_secret: github_api_token
|
||||||
|
files:
|
||||||
|
- deploy/hathoris-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}hf
|
||||||
|
- deploy/hathoris-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}v7
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
|
||||||
- name: docker
|
- name: docker
|
||||||
image: plugins/docker:linux-arm
|
image: plugins/docker:linux-arm
|
||||||
settings:
|
settings:
|
||||||
registry: registry.nemunai.re
|
repo: nemunaire/hathoris
|
||||||
repo: registry.nemunai.re/hathoris
|
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
auto_tag_suffix: ${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
|
auto_tag_suffix: ${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
|
||||||
dockerfile: Dockerfile-norebuild
|
dockerfile: Dockerfile-norebuild
|
||||||
|
@ -130,11 +141,21 @@ steps:
|
||||||
files:
|
files:
|
||||||
- deploy/hathoris-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
|
- deploy/hathoris-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
|
||||||
|
|
||||||
|
- name: github release
|
||||||
|
image: plugins/github-release
|
||||||
|
settings:
|
||||||
|
api_key:
|
||||||
|
from_secret: github_api_token
|
||||||
|
files:
|
||||||
|
- deploy/hathoris-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
|
||||||
- name: docker
|
- name: docker
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
registry: registry.nemunai.re
|
repo: nemunaire/hathoris
|
||||||
repo: registry.nemunai.re/hathoris
|
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
auto_tag_suffix: ${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
|
auto_tag_suffix: ${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
|
||||||
dockerfile: Dockerfile-norebuild
|
dockerfile: Dockerfile-norebuild
|
||||||
|
@ -187,11 +208,21 @@ steps:
|
||||||
files:
|
files:
|
||||||
- deploy/hathoris-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
|
- deploy/hathoris-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
|
||||||
|
|
||||||
|
- name: github release
|
||||||
|
image: plugins/github-release
|
||||||
|
settings:
|
||||||
|
api_key:
|
||||||
|
from_secret: github_api_token
|
||||||
|
files:
|
||||||
|
- deploy/hathoris-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
|
||||||
- name: docker
|
- name: docker
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
registry: registry.nemunai.re
|
repo: nemunaire/hathoris
|
||||||
repo: registry.nemunai.re/hathoris
|
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
auto_tag_suffix: ${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
|
auto_tag_suffix: ${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
|
||||||
dockerfile: Dockerfile-norebuild
|
dockerfile: Dockerfile-norebuild
|
||||||
|
|
21
README.md
21
README.md
|
@ -47,8 +47,27 @@ Hathoris is compatible with any Linux distribution that has PulseAudio. It also
|
||||||
|
|
||||||
### Quick Installation Guide
|
### Quick Installation Guide
|
||||||
|
|
||||||
TODO: Add a quick installation guide.
|
1. Install dependancies.
|
||||||
|
|
||||||
|
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 ArchLinux/Manjaro: `sudo pacman -S alsa-utils pulseaudio mpv yt-dlp`
|
||||||
|
|
||||||
|
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`
|
||||||
|
|
||||||
|
4. (optional) [Prepare a configuration for optional virtual inputs](#audio-sources) (like radios, streaming sources)
|
||||||
|
|
||||||
|
The file is called `settings.json`, it is expected to be in the directory where you execute `hathoris`. It can be overwrited by adding a command line argument like `-settings-file /etc/hathoris/settings.json`.
|
||||||
|
|
||||||
|
5. Launch the binary: `./hathoris -bind :8081`
|
||||||
|
|
||||||
|
6. The interface will be available on the port 8081 from anywhere on your local network.
|
||||||
|
|
||||||
|
From your local machine, it'll be on <http://localhost:8081/>
|
||||||
|
|
||||||
|
Enjoy!
|
||||||
|
|
||||||
### Build the Project
|
### Build the Project
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue