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

Feature Request: OpenWRT support #35

Open
duoi opened this issue Oct 14, 2023 · 7 comments
Open

Feature Request: OpenWRT support #35

duoi opened this issue Oct 14, 2023 · 7 comments

Comments

@duoi
Copy link

duoi commented Oct 14, 2023

Firstly I’d like to thank the creator and contributors for this fantastic product.

I have an OpenWRT based router and I like the idea of being to install this directly on there. I’m not sure what the complications are, but if it is a standalone binary, then it might just need to be packaged in the opkg format.

@gabe565
Copy link
Owner

gabe565 commented Oct 14, 2023

Hi! CastSponsorSkip does get built to a standalone binary, so it should work on your device. Unfortunately, the packaging tool I use (called GoReleaser) doesn't seem to support the opkg format, but you could still download the binary to your device! Do you know which CPU architecture your router uses?

@duoi
Copy link
Author

duoi commented Oct 15, 2023

That's cool, I'll see if I can roll something for it. It is MIPS-based however.

@gabe565
Copy link
Owner

gabe565 commented Oct 15, 2023

I'll search some more to see if there's any way for me to build an opkg.

I suspected it was MIPS. Go supports MIPS compilation so I'll go ahead and enable that even if I can't build an opkg!

@gabe565
Copy link
Owner

gabe565 commented Oct 15, 2023

Interesting. This thread makes it seem like opkg can install deb files, so I wonder if I just need to turn on MIPS compilation...

@duoi
Copy link
Author

duoi commented Oct 15, 2023

That would be really interesting, I didn't know that.

Digging into this further, it looks like I'm out of space on this router so wouldn't be able to go down the opkg route either way, and I'd end up just having some script run on startup to pull the binary down onto /tmp.

If you are able to make it work via opkg though I think it would be incredible. It negates the need for a separate server entirely.

@duoi
Copy link
Author

duoi commented Nov 27, 2023

Hi @gabe565, hope you are well! Do you plan on turning on MIPS compilation any time soon? Very happy to help test it!

@atesin
Copy link

atesin commented Dec 15, 2024

i dont believe you could ever be able to install and run a debian package inside an openwrt system... the package system, the architecture, everything are lights ahead different

the only reference to sponsorblock i found in openwrt is this: https://forum.openwrt.org/t/youtube-adblock-does-it-exist-on-openwrt-platform/184122/128

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

3 participants