Skip to content
This repository was archived by the owner on Feb 8, 2023. It is now read-only.
This repository was archived by the owner on Feb 8, 2023. It is now read-only.

Use IPFS to host a Blog (or similar type of website) #66

@daviddias

Description

@daviddias

I'm specially interested in figure out a way (or ways) that we can start hosting Blog type of webpages on IPFS, without having to create a new framework for blogging, meaning that I'm focusing on statically generated blogs or blogs that compiled to a static generated version.

Even though a statically generated blog is a static website, it has some extra challenges to the normal static webpage hosting, simply because of the expectations that we have from a blog nowadays, such as searching for post tags or blog posts by date.

I'm writing this issue to put the ideas and discussions we've been having about it in one place, so that it also easier to see the progress.

These statically generated blog should be accessible and correctly rendered if loaded from a ipfs.io/ipfs/hash, ipfs.io/ipns/hash or somedomain.com/. It is important to this in mind, because the the fact that we might have some basePath means that loading assets (css, fonts, images) on a webpage through root path ('/'), becomes impossible. What this means is that we need a way to make the urls of the assets of a web page to be loaded through a path that is relative to itself ('../css' or '../../img/collection1' for eg).

Some options:

  • precompile the whole blog
  • have a native web app to do the blog generation
    • make this native webapp be a IPFS hosted WebComponent that loads posts and styling from somewhere else
    • make harp to be a browser app?
  • leverage the MerkleDAG to create a more interesting data structure for the blog

Some more context:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions