The bmannconsulting.com website

Blog dates, colophon, fixed feeds, redirects

+1 -1
Gemfile.lock
···
ruby 3.1.4p223
BUNDLED WITH
-
2.1.4
+
2.4.17
+1 -1
_config.yml
···
exclude: ['_includes/notes_graph.json', '.env', 'gemset.nix', 'fission.yaml', 'blog.code-workspace', 'netlify.toml', '_ignored', '_archive', '.vscode', '.obsidian', '.gitignore', '.github', 'README.md']
-
include: ['.well-known', '_pages']
+
include: ['.well-known', '_pages', '_redirects']
# markdown: CommonMarkGhPages
markdown: kramdown
+1 -1
_includes/head.html
···
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.title }}{% endif %}">
<meta property="og:site_name" content="{{ site.title }}">
<link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgo=">
-
<link rel="stylesheet" href="{{ 'styles.css' | relative_url }}">
+
<link rel="stylesheet" href="{{ '/styles.css' | relative_url }}">
<link rel="alternate" type="application/atom+xml" title="Blog Feed for bmannconsulting.com" href="{{ site.url }}/blog.xml" />
{% comment %}<!-- Littlefoot footnotes https://github.com/goblindegook/littlefoot -->{% endcomment %}
+2
_notes/Colophon.md
···
There is a [Backlog](https://notes.bmannconsulting.com/#/page/bmc%2Fbacklog) of things in progress.
+
This site is published to [[IPFS]] using [[Fission]] Github Actions.
+
## Time Passes
End of December 2022, poured the whole site into [[LogSeq]]. There is an archived [snapshot of 2022 Simply Jekyll](https://2022.bmannconsulting.com).
_notes/Fission.md

This is a binary file and will not be displayed.

+19
_notes/IPFS.md
···
+
---
+
title: InterPlanetary File System (IPFS)
+
---
+
+
IPFS is the InterPlanetary File System.
+
+
As mentioned in the [[Colophon]], this site is published to IPFS using the [[Fission]] Github Action. The action builds the static representation from the Markdown source using [[Jekyll]], calculates a top level [[CID]] hash aka Content IDentitifier, updates the [[DNSLink]] for the bmannconsulting.com domain, and has the Fission server cache a copy.
+
+
You can see that the DNSLink for the domain using this DNS checker <https://dnsrecords.io/_dnslink.bmannconsulting.com>, which in turn is just an alias to a Fission app, which has the actual hash <https://dnsrecords.io/_dnslink.bmcgarden.fission.app>.[^dnsrecords] You can take the CID that you find there, of the form `bafybeicxxtumkkha75i26livxe5a3iqklqfo42d7qytk2f4ob37bs3jpqa` and plug that in anywhere that understands IPFS and get the contents of that cyberboats page.
+
+
[^dnsrecords]: DNS Records is a great service! An online DNS checker / explorer. It also does social previews in things like Slack or Discord chat, so a great way to just type in a link and get the results in the preview <https://dnsrecords.io/>
+
+
You can peek at the IPFS file system underneath, by linking to one of the annual blog folders, like 2020 blog posts <https://bmannconsulting.com/blog/2020/>. Since we're browsing in there, we can also get the CID for the <a href="{{ "/blog/2020/01/03/cyberboats/" | relative_link }}">cyberboats</a> blog post, and plug it into any other gateway, like the [[Web3Storage]] one: <https://bafybeicz677flygp3v6zei4xkt3pcp6npuwk5dp2awqq3hxnxhgukhrpky.ipfs.dweb.link/> [^unstyled]
+
+
[^unstyled]: Yeah, this is unstyled, because it's trying to fetch a CSS file that is no longer referenced correctly. I could hardcode it to use the full path, but then it will point to a different version of the stylesheet. To figure out!
+
+
InterPlanetary Naming Service (IPNS) can use a name that points to IPFS hashes. This website you're browsing now is already being served over Fission's IPFS Gateway. If you're running [[Brave]], it can cache and browse sites, so you'd actually be able to browse it through localhost.
+
+
Since we already looked at Web3Storage, let's browse via IPNS using their gateway. You'll see <a href="https://w3s.link/ipns/bmannconsulting.com" target="_ipfs">w3s.link/ipns/bmannconsulting.com</a> redirect to <a href="https://bmannconsulting-com.ipns.dweb.link/" target="_ipfs">bmannconsulting-com.ipns.dweb.link</a>
+4 -8
_pages/blog.xml blog.xml
···
---
-
layout: null
-
permalink: /blog.xml
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
···
<channel>
<title>{{ site.name | xml_escape }} - Blog Feed</title>
<description>{% if site.description %}{{ site.description | xml_escape }}{% endif %}</description>
-
<sy:updatePeriod>{{ site.feed_update_period | default: "daily" | xml_escape }}</sy:updatePeriod>
-
<sy:updateFrequency>{{ site.feed_update_frequency | default: 1 | xml_escape }}</sy:updateFrequency>
<link>{{ site.url }}</link>
<atom:link href="{{ site.url }}{{ page.url }}" rel="self" type="application/rss+xml" />
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
···
{% if post.section == 'blog' and blogcount < feed_items %}
<item>
<title>{{ post.title | xml_escape }}</title>
-
{% if site.author.name %}
-
<dc:creator>{{ site.author.name | xml_escape }}</dc:creator>
+
{% if site.name %}
+
<dc:creator>{{ site.name | xml_escape }}</dc:creator>
{% endif %}
<description>{{ post.content | xml_escape }}</description>
-
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
<link>{{ site.url }}{{ post.url }}</link>
-
<guid isPermaLink="true">{{ site.url }}{{ post.url }}</guid>
+
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
+
<guid isPermaLink="true">https://bmannconsulting-com.ipns.dweb.link{{ post.url }}</guid>
</item>
{% assign blogcount = blogcount | plus: 1 %}
{% elsif blogcount >= feed_items %}
+1 -1
_pages/feeds.md
···
permalink: /feeds/
---
-
* Subscribe to this site for longer form blog posts <https://bmannconsulting.com/blog.xml>
+
* Subscribe to this site for longer form blog posts <a href="{{ '/blog.xml' | relative_link }}">bmannconsulting.com/blog.xml</a>
* Personal blog <https://blog.bmannconsulting.com/feed.xml>
* Mastodon accounts can be subscribed to as an RSS feed <https://cosocial.ca/@boris.rss>
+1 -1
_pages/index.md
···
{% for blog in recentblogs %}
{% if blog.section == 'blog' and blogcount < bloglimit %}
<li class="blog-entry" style="margin-bottom: 5px;">
-
<a class="internal-link" href="{{ blog.url }}">{{ blog.title }}</a>
+
<a class="internal-link" href="{{ blog.url }}">{{ blog.title }}</a> <time>{{ blog.date | date: "%B %-d, %Y" }}</time>
</li>
{% assign blogcount = blogcount | plus: 1 %}
{% elsif blogcount >= bloglimit %}
+2
_redirects
···
+
/.well-known/webfinger?resource=acct:boris@bmannconsulting.com https://cosocial.ca/.well-known/webfinger?resource=acct:boris@cosocial.ca 302
+
/* /404.html 404
+6
_sass/_style.scss
···
margin: 0.5em 0 1em;
}
+
li.blog-entry time {
+
color: $color-subtext;
+
font-size: 0.8em;
+
margin-left: 2em;
+
}
+
div.date {
margin-top: 1em;
}