I would like to be able to post simple markdown documents to IPFS as “blog posts”. Additionally, I would like to run my own IPFS gateway so that I can reference / link to blog posts using a domain I can control.
So, something like
ipfsDOTbmannconsultingDOTcom/long-ipfs-hash would work.
- pinning IPFS content – even for simple Markdown text files, I need to ensure that the content is available. I think this means running a full IPFS daemon
- embed / display images – I assume that using the
imgtag with a pointer to a gateway’d image should just work. Practically, this likely means keeping a blog posts folder with a sub folder per article where the markdown file and related images are kept
- versioning – when a post is updated, a new file needs to be uploaded. The web permalink shouldn’t change, but can display pointers to old versions. This CAN be done manually. Some research on this lead me to some initial writing on IPNS
My main machine is a Chromebook which is a bit of a wacky environment for local testing and development. You may have better luck with a more common Mac/Win/Linux setup, but the majority of the repos below are relatively old / outdated
However, IPFS installs and runs on Chrome machines using chromebrew easily:
crew install ipfs
TO DO: probably want to have the datastore somewhere else so it doesn’t get blown away.
A Rust + Node system for having a web interface to write Markdown, with previews, and post to IPFS. It is up and running at https://ipfs.ink and can be used, but doesn’t solve my need to have my own IPFS gateway.
I did get this pushed to Heroku and built using a rust buildpack, but the web front end is a small Node server which all of a sudden means running two buildpacks and I couldn’t get the two running together on my local machine.
Github - https://github.com/kpcyrd/ipfs.ink
A very simple project in Go where you can embed / display markdown files that are already hosted on IPFS. This would do for having my own domain / gateway. The project appears to be stale, I couldn’t get it to build.
More of a proof of concept. Supports basic markdown and WikiNames linking. I like the concept of this very much and would love to get to something like this.
PHP + database server to display / host images on IPFS. Live at https://ipfs.pics/ (well, showing a maintenance error, so may not actually be up and running)