flathub / dev.vencord.Vesktop

https://flathub.org/apps/details/dev.vencord.Vesktop
10 stars 8 forks source link

add TTS support #20

Closed hypevhs closed 3 months ago

hypevhs commented 4 months ago

Here's how you'd set it up in Arch

yay -S speech-dispatcher
cat << EOF > ~/.config/systemd/user/speech-dispatcherd.service
[Unit]
Description=Speech-Dispatcher, common interface to speech synthesizers

[Service]
Type=forking
ExecStart=/usr/bin/speech-dispatcher -d -t 0
ExecReload=/bin/kill -HUP \$MAINPID

[Install]
WantedBy=default.target
EOF
systemctl --user daemon-reload
systemctl enable --now --user speech-dispatcherd.service

Install Pied Flatpak and select a voice Launch Vesktop Enable VcNarrator plugin and play the test clips

flathubbot commented 4 months ago

Started test build 122045

flathubbot commented 4 months ago

Build 122045 successful To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/104989/dev.vencord.Vesktop.flatpakref
flathubbot commented 4 months ago

Started test build 123271

flathubbot commented 4 months ago

Build 123271 successful To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/106212/dev.vencord.Vesktop.flatpakref
hypevhs commented 3 months ago

@lewisakura Can we take another look at this?

hypevhs commented 3 months ago

I moved the modules stuff to the electron baseapp and rebuilt both, and it still gets picked up by Chromium correctly. I'll open a PR with them later, but if they turn me away I'm coming right back here :P With Vencord plugins being broken at the moment, though, I'll hold off.

Zishan-Rahman commented 3 months ago

@libjared (sorry for the surprise ping) In the menatime, would you like to open a PR in the Godot Engine Flatpak repository with your libspeechd module from here? If you did, it would address https://github.com/flathub/org.godotengine.Godot/issues/122, which is an issue that's been open for over a year now. Godot isn't an Electron app so its Flatpak will greatly benefit from having libspeechd built and included alongside the main Godot executable.

Vendicated commented 3 months ago

I'll open a PR with them later, but if they turn me away I'm coming right back here :P

have you done this yet? i checked your activity but couldn't find it

hypevhs commented 3 months ago

@Vendicated I opened the PR against the Electron BaseApp

flathubbot commented 3 months ago

Started test build 131062

flathubbot commented 3 months ago

Build 131062 successful To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/114061/dev.vencord.Vesktop.flatpakref
hypevhs commented 3 months ago

bot, build

flathubbot commented 3 months ago

Queued test build for dev.vencord.Vesktop.

flathubbot commented 3 months ago

Started test build 131105

flathubbot commented 3 months ago

Build 131105 successful To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/114105/dev.vencord.Vesktop.flatpakref
hypevhs commented 3 months ago

This^ build works and has TTS.

Vendicated commented 3 months ago

looks like your upstream pr got merged, awesome! can we just update the base now? or do we need to wait for them to make a new release

Vendicated commented 3 months ago

oh, nvm. awesome, thank you!!

will do some testing, then we can merge this

hypevhs commented 3 months ago

It took me some digging before, but I eventually found buried in the Flathub documentation that when new commits are added to an app's (or BaseApp's) branch, it explicitly waits exactly 3 hours before it updates the Flathub repos with the new build. I waited till after, and then asked the bot to rebuild.

TLDR AFAICT this is ready.

Vendicated commented 3 months ago

thanks for your work on this! :)