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

Allow PubSub Hub url to be configured #380

Merged
merged 2 commits into from
Oct 4, 2022
Merged

Allow PubSub Hub url to be configured #380

merged 2 commits into from
Oct 4, 2022

Conversation

TheSilkky
Copy link
Contributor

@TheSilkky TheSilkky commented Oct 4, 2022

This will let users running Piped inaccessible from the public internet to self host their own WebSub / PubSubHubbub 0.4 compatible server to update their subscriptions feed.

Should help with TeamPiped/Piped#707 and TeamPiped/Piped#1130

@TheSilkky
Copy link
Contributor Author

Personally, I've been using this implementation: tystuyfzand/websub-server

@FireMasterK
Copy link
Member

Thank you! But how would you host a websub server? Is there any docker image perhaps for the repository you linked? If possible, I would link a local server directly for new installations.

@FireMasterK FireMasterK merged commit 2433586 into TeamPiped:master Oct 4, 2022
@TheSilkky
Copy link
Contributor Author

TheSilkky commented Oct 11, 2022

I made a mistake opening this, I initially thought this worked because I wrongly assumed my feed had updated. I've since realized that this won't work because the feed still has to notify the hub to fetch new data via a POST request.

I did some experimenting with using timers instead of a request from the feed to initiate fetching, but as it turns out YouTube doesn't actually publish the data at all and it's only accessible when using their hub.

Ultimately, my solution is to connect a cheap vps to my private network, use it to expose the /webhooks/pubsub path on it's own public address and then configure the PUBSUB_URL option to that address.

Sorry for wasting your time with this, I think I just got a little excited lol

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

Successfully merging this pull request may close these issues.

2 participants