Content pfp
Content
@
https://warpcast.com/~/channel/orbiter
0 reply
0 recast
0 reaction

Steve pfp
Steve
@stevedylandev.eth
Turn a Next.js App into a static site by adding just one line of code 👀 https://orbiter.host/blog/how-to-host-a-static-next-app
2 replies
2 recasts
15 reactions

Callum Wanderloots ✨ pfp
Callum Wanderloots ✨
@wanderloots.eth
Okay! Finally home and just published a video so I have some more headspace to look into orbiter My current stack is obsidian —> digital garden plugin, which goes to a GitHub repo —> 11ty static builder—> netlify for hosting 1) Orbiter would replace the netlify component? 2) Each time I click publish on obsidian, it updates the GitHub repo and rebuilds the site with the latest updated files. How does this work with IPFS? It’s not on chain, but uses a CID? 3) how do the smart contracts come into play for the website?
1 reply
0 recast
1 reaction

Steve pfp
Steve
@stevedylandev.eth
LFG!! 🔥😎 1. Yes exactly! 2. & 3. I think the best way to implement Orbiter into your flow is with a GitHub action. With an action it will build the site on the cloud and then using the Orbiter CLI it will publish the site automatically with the updated files! So your overall flow really doesn’t change at all. Under the hood Orbiter uploads the folder of files to IPFS and gets the new CID. Then we write to a contract on Base that new CID entry. The contract then becomes the point of reference and where the latest version is pulled from. Every time you update your site it does that whole flow again. When you connect your ENS it creates a link between your ENS contentHash record and that contract on Base, so it always stays up to date! I need to look into how we can adjust our current GitHub action to work for 11ty so I’ll keep you posted!
1 reply
0 recast
1 reaction

Callum Wanderloots ✨ pfp
Callum Wanderloots ✨
@wanderloots.eth
Awesome! Okay thanks for sharing. So, in terms of practical flow, the entire folder of files gets uploaded as a single IPFS CID? How are images treated? or knowledge graphs? see: https://wanderloots.xyz for an example The ENS integration allows you to bring in your ENS as a proof of ownership, effectively? Regarding the digital garden plugin, my actions wouldn't change at all? E.g., change note from "unpublished" to "published", press the DG plugin publish feature, which pushes to github, and that would be the end of the process for the user? Sure! lmk how the 11ty component works out, because tbh, I would love to keep using this existing obsidian plugin since it works so well.
1 reply
0 recast
1 reaction