Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
How can I maintain a pointer to a file? #3
Suppose I had a slideshow stored in ipfs where each slide was an html file stored in an ipfs directory. How would I go about maintaining a pointer to the current slide, such that a browser polling a certain URL would always see the current slide?
If so is there any way to subscribe to change events for this pointer?
Thanks for responding the project seems really interesting (I have now listened to the three talks).
I will try to rephrase the question.
I'd like web clients to refetch data when an IPNS entry changes. I am guessing I'd need a Go server with websockets.
From Go can I subscribe to IPNS locator change events or do I just have to poll?
This issue has been moved to https://discuss.ipfs.io/t/how-can-i-maintain-a-pointer-to-a-file/408.