-
Notifications
You must be signed in to change notification settings - Fork 17
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
Publishing websites to IPFS as a service and github app #77
Comments
+1 to more conversational issues 😂 @scout and I were talking about this same idea/service just a couple of days ago. I'm very interested in sketching out thoughts to make this happen. I have a few concerns around using dns to link to deployed versions, due to browsers not always respecting TTL but this is something i need to get a better feel for first. I'd love to tag team on this next Wed! |
Hurray! The trick to this proposal is that we want to stop having to mess with DNS to update a site. We really want to be able to just |
Count me in! |
This is cool. I want it now! :-) (Fun fact - At Joyent, I used to work with Brock and Rob who made surge.sh ... they also created PhoneGap) |
I'd love to help with this any way I can. I actually already have a cli working pretty much as @olizilla described: https://github.com/agentofuser/ipfs-deploy. Next up is making it work with Travis so that it automatically deploys PRs and branches, and posts the link back as a comment. Besides Travis I also want to make it work with as many CIs as possible like Gitlab CI, Circle CI, etc. People have reacted very positively to my pitch of "IPFS as easy as Netlify" :) |
1 similar comment
I'd love to help with this any way I can. I actually already have a cli working pretty much as @olizilla described: https://github.com/agentofuser/ipfs-deploy. Next up is making it work with Travis so that it automatically deploys PRs and branches, and posts the link back as a comment. Besides Travis I also want to make it work with as many CIs as possible like Gitlab CI, Circle CI, etc. People have reacted very positively to my pitch of "IPFS as easy as Netlify" :) |
@agentofuser you did it! This is very cool! I'm happy to help out how ever I can! |
NOTE: Valuable discussion on this topic has also been gathered in #69, which was closed in favor of this issue. Please consider discussion in that issue when proceeding with this one. |
Note ipfs/ipfs-webui#1441 - user request for this functionality. |
Note ipfs/ipfs-webui#1453 - user request for this functionality. |
Other inspiration per @lidel - Beaker Browser, https://beakerbrowser.com/ |
I believe this will become much more relevant when "pinning API changes" land in WebUI. After that lands, we should look into ways WebUI can provide basic Publishing tools, so people can edit and publish static websites to IPFS without leaving WebUI etc. Editor UIs in Beaker and #69 provide good starting points for exploration of the "publishing from webui" angle. |
Referencing ipfs/ipfs-webui#1696 (comment) as another consideration, to quote:
|
ETA April 2020:
Valuable discussion on this topic has also been gathered in #69, which was closed in favor of this issue. Please consider discussion in that issue when proceeding with this one.
Original issue text
The problem: I want to publish a website to IPFS and also my domain, with https, and not have it rely (just) on my machine for uptime. We want shareable preview urls, and a simple mechanism for promoting a preview to the live verison.
Prior art:
surge
from the directory you want to publishHow about "pin sites to an ipfs cluster, as a service, and github app"
Example usage
The command would add a site locally, and pin the CID to the remote cluster. You get an immutable deploy style url like
https://bafywoowoo.ipfs.dev
that loads fast as the content is already on more than one machine, and one of them is an always available cluster that we look after....some preview builds later...
me:
Ok that CID is hot! I wish to publish it!bot:
OK, as this a new site, let me create a IPNS keypair for you. Here it is, dont lose it. I'm going to host it for you and point it to that new CID you gave me, and reliably reannounce it every few hours for you... do you have a legacy dns name you'd like to map it to?me:
sure do, it's oli.zilla.org.uk, what of it?bot:
ok, go set this txt record on your dns providerdnslink=/ipns/Quink
...me:
done!bot:
ok, performing the lets encrypt dance... done. https://oli.zilla.org.uk is go, dweb style.This need has come up multiple times, from mutliple folks. Right now there are a bunch of PL sites that need this service. We've got a reasonable service in place via circleci, but the drawbacks are
An extension to this idea is to have a github action that builds, pins and updates the status on your PR with the preview url (done, here: https://github.com/ipfs-shipyard/ipfs-github-action)
and a github app that is notified when your master branch changes, and triggers the ipns update automagically.
The text was updated successfully, but these errors were encountered: