Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interested in switching to Alga? #62

Closed
Tenzer opened this issue Nov 3, 2024 · 6 comments
Closed

Interested in switching to Alga? #62

Tenzer opened this issue Nov 3, 2024 · 6 comments

Comments

@Tenzer
Copy link

Tenzer commented Nov 3, 2024

Hi there. I have helped a bit with the maintenance of LGWebOSRemote but ended up writing my own alternative from scratch named Alga.

Among the reasons for making an alternative was to use a websocket library that is actively maintained, as ws4py which is used by LGWebOSRemote hasn't had a release since 2018.

I've noticed there's been a fair number of issues reported around LGWebOSRemote in relation to this project, and I wonder if they would have a better experience if it instead switched to using alga.

I am not a Hammerspoon user myself, so I might not be the best person to try it out. I've had a quick look through lgtv_init.lua and I think most commands have equivalent versions in alga.

Is this something you would be interested in trying out? I could perhaps make a PR with some rough changes so it can be tested out?

@cmer
Copy link
Owner

cmer commented Nov 9, 2024

Yeah this is interesting! LGWebOSRemote hasn't been the easiest to work with.

I really wish there was a native binary we could use instead of having to rely on installing Python and other dependencies. Is this something you'd consider working on?

@Tenzer
Copy link
Author

Tenzer commented Nov 10, 2024

I've had a look at this and think it should be possible to distribute a file created by PyApp. It's a binary file that would download Python and Alga on the first run and offers support for updating Alga via a command when new versions become available.

I'll try to find more time to get it integrated with the release workflow, and let you know when I have something ready to test.

@cmer
Copy link
Owner

cmer commented Nov 11, 2024

Awesome thank you! It'd make it easier for people to install my script. The hardest part for people is typically the Python stuff and dependencies.

@cmer
Copy link
Owner

cmer commented Dec 6, 2024

Hey @Tenzer, have you been able to make any progress on this? Thanks!

@Tenzer
Copy link
Author

Tenzer commented Dec 6, 2024

Hi. I did start work on in, but I haven't found the time to complete it: Tenzer/alga#65. I haven't forgotten about it though!

@cmer
Copy link
Owner

cmer commented Dec 13, 2024

I just released a completely revamped version that uses bscpylgtv. I turned it into a portable executable. Therefore, I will not be switching to alga.

@cmer cmer closed this as completed Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants