Beaker: Question: How does one add the "P2P version available" tag to a standard website?

Created on 5 Apr 2018  路  5Comments  路  Source: beakerbrowser/beaker

I have a standard website that I want to mirror on Beaker. How do I point from a hosted website to a beaker version?

image

This should probably be in the docs of how to run a beaker site 馃槃

Most helpful comment

Hi! We鈥檙e currently revamping our docs. Until then, my blog post about how I publish my website might be helpful.

https://taravancil.com/blog/how-i-publish-taravancil-com/

The key takeaway is that you need to publish a file at https://yourwebsite.com/.well-known/dat that looks like this one (but actually points to the dat:// url for your website)

https://taravancil.com/.well-known/dat

All 5 comments

If I'm not mistaken, the banner appears when the file https://{site}/.well-known/dat is available and points to a dat archive. This also makes the dat version of the site available under the same url as the site as dat://{site}

You can read a bit more about it here: https://medium.com/offline-camp/beaker-browser-f460cb40c4b4
in the section 'Addresses'.

Hi! We鈥檙e currently revamping our docs. Until then, my blog post about how I publish my website might be helpful.

https://taravancil.com/blog/how-i-publish-taravancil-com/

The key takeaway is that you need to publish a file at https://yourwebsite.com/.well-known/dat that looks like this one (but actually points to the dat:// url for your website)

https://taravancil.com/.well-known/dat

My website is currently hosted on in a folder (https://childishgiant.github.io/perdola/). Do I have to put it at https://childishgiant.github.io/ or https://childishgiant.github.io/perdola/ ? Thanks :)

Hm, I didn't know you could do that with github pages. I think you'd put it under https://childishgiant.github.io, but I could be wrong.

@pfrazee wrote a small guide about putting a github.io website on dat a while back

https://gist.github.com/pfrazee/8eb85d7bb33efb52c7d6d1a2e639d979

Yea, you get a page for your user (user.github.io) and pages for each repo (user.github.io/repo)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dasanchez picture dasanchez  路  3Comments

pmario picture pmario  路  4Comments

ShalokShalom picture ShalokShalom  路  4Comments

hossameldeen picture hossameldeen  路  4Comments

pfrazee picture pfrazee  路  4Comments