-
Notifications
You must be signed in to change notification settings - Fork 865
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
Co-host websites #1034
Comments
This is fantastic, can't wait to see this ship in some form. It might be worth identifying users' primary motivations for co-hosting websites, and doing some UX flows based on those. It would give a frame of reference for what you build, and what the language should be to describe it. |
I really like the idea of persisting the list in a configuration file on MFS. Been thinking about doing that for other node-bound features in ipfs-companion as well, and it feels what we will decide here will establish practice for other apps to follow. Some ideas below: Introduce
|
Heey! So, I agree with you and also think the option (B) is the best one to go to. The 12 hours refreshing interval looks good to me too. How'd we coordinate between Desktop & Companion? Or each one would check every 12 hours without coordinating to each other? |
I think if we go with (B) and agree that instead of
That way multiple apps can do the refreshing without stepping on each other toes, and entire thing is very simple, no need for locks / signaling. |
Completely agreed! |
@hacdias I took a stab at writing a spec for this, let's continue in ipfs-shipyard/cohosting#2 |
https://news.ycombinator.com/item?id=39208673 & https://neimanslab.org/2024-01-31/why-i-moved-my-blog-ipfs-to-server.html are related here. We could make it much easier for people to self-host their websites |
During this week's weekly call, we went over the co-hosting feature of IPFS Desktop. I decided to remove it for now and move that code to another branch so we can test it better.
So, we should introduce a section in Settings to add and remove websites from the co-hosting list. It can even be coordinated with IPFS Companion! What if:
/.cohosting
or something like that.Or... another idea could be:
Instead of pinning,
.cohosting
could be a directory inside MFS where we would copy the latest hash of some website to.Both Desktop and Companion could run scripts from time to time to check if the websites were up to date.
@lidel I'd love to hear your opinions on this. It'd be really cool if this got coordinated with IPFS Companion so we'd use the same structure for saving the co-hosting list.
Notice that this would be a list per repository and not per installation. That's the only way I can think about now to create this sync'ed feature between Desktop & Companion!
The text was updated successfully, but these errors were encountered: