Skip to content
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

Host on IPFS #4

Open
moul opened this issue Apr 6, 2020 · 8 comments
Open

Host on IPFS #4

moul opened this issue Apr 6, 2020 · 8 comments
Labels
backlog good first issue Good for newcomers help wanted Extra attention is needed 🚀 feature-request

Comments

@moul
Copy link
Member

moul commented Apr 6, 2020

No description provided.

@moul moul added good first issue Good for newcomers help wanted Extra attention is needed labels Apr 7, 2020
@fte378
Copy link
Contributor

fte378 commented Apr 9, 2020

I will collect some experience with my own blog. Your site is more complex but maybe I can help a bit.

@fte378
Copy link
Contributor

fte378 commented Apr 10, 2020

Is using ipns acceptable? The drawback is that during the propagation links may be not working or assets are not present.
The other method would be updating your DNS on every publish step.

@Jorropo Jorropo mentioned this issue Sep 3, 2020
@moul
Copy link
Member Author

moul commented Sep 8, 2020

@Jorropo is working on a PoC -> https://jorropo.ovh/ipns/k2k4r8pdq8w3382yrqib8vpt60v0282nzsmv17qp4rtxg1h8lca76tlv/

There are various issues:

  • font-awesome is configured to run on certain hostname only -> is there a way to fallback nicely?
  • some images are loaded with a bad path
    Screenshot - Manfred 2020-09-08 at 09 53 52
  • some content are hardcoded to be served by berty.tech
    Screenshot - Manfred 2020-09-08 at 09 54 18

probably other things I missed

@cdeleeuwe can you tell us what you think?

@cdeleeuwe
Copy link
Collaborator

@Jorropo above PR fixed some relative urls. Hopefully it will now work without errors :)

@Jorropo
Copy link
Contributor

Jorropo commented Sep 8, 2020

@cdeleeuwe seems, to work fine, only font awesome is left to tackle (I'll take a look later). :)

@cdeleeuwe
Copy link
Collaborator

@Jorropo awesome :). From what I see, font awesome is loading OK..
image

Just made a PR (#153) to fix the homepage Lottie animation relative url. After that I think there might still be some assets missing that are used in the style.scss file. These are are a bit tricky to make relative paths, since Hugo only renders the SASS once, so is not aware of the current path. A possible workaround would be to move it the partial/head.html file (similar as what is done with the fonts).

@Jorropo
Copy link
Contributor

Jorropo commented Sep 8, 2020

@Jorropo awesome :). From what I see, font awesome is loading OK..
image

Just made a PR (#153) to fix the homepage Lottie animation relative url. After that I think there might still be some assets missing that are used in the style.scss file. These are are a bit tricky to make relative paths, since Hugo only renders the SASS once, so is not aware of the current path. A possible workaround would be to move it the partial/head.html file (similar as what is done with the fonts).

I can't reproduce it either.

@jefft0
Copy link
Contributor

jefft0 commented Mar 15, 2024

Now working on higher priority items. This could be a good project for someone who wants to experiment with IPFS. Backlog for now.

@jefft0 jefft0 added the backlog label Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog good first issue Good for newcomers help wanted Extra attention is needed 🚀 feature-request
Projects
None yet
Development

No branches or pull requests

5 participants