aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/atom.xml41
-rw-r--r--build/index.html27
-rw-r--r--build/macos/index.html11
-rw-r--r--build/openbsd/index.html1
-rw-r--r--build/posts.tsv1
-rw-r--r--build/qol/index.html50
-rw-r--r--build/rss.xml40
7 files changed, 134 insertions, 37 deletions
diff --git a/build/atom.xml b/build/atom.xml
index dfdebe1..8b1b84d 100644
--- a/build/atom.xml
+++ b/build/atom.xml
@@ -2,12 +2,37 @@
<feed xmlns="http://www.w3.org/2005/Atom">
<title>barf</title>
<link href="https://barf.btxx.org/atom.xml" rel="self" />
- <updated>2024-06-06T08:48:45Z</updated>
+ <updated>2024-06-06T10:08:02Z</updated>
<author>
- <name>Bradley Taunt</name>
+ <name></name>
</author>
<id>https://barf.btxx.org,2024-01-19:default-atom-feed/</id>
<entry>
+ <title>Quality of Life Improvements</title>
+ <content type="html">&lt;h1&gt;Quality of Life Improvements&lt;/h1&gt;
+&lt;p&gt;2024-06-06&lt;/p&gt;
+&lt;p&gt;I haven&#39;t circled back to &lt;code&gt;barf&lt;/code&gt; in quite a bit of time, so I&#39;m happy to announce a small update mainly focused on quality of life improvements! I&#39;ll keep things brief and get right into the core changes:&lt;/p&gt;
+&lt;p&gt;&lt;strong&gt;Automatic detection of your operating system (supports Linux, macOS and OpenBSD currently)&lt;/strong&gt;&lt;/p&gt;
+&lt;ul&gt;
+&lt;li&gt;&lt;code&gt;barf&lt;/code&gt; now checks your current OS and sets aliases accordingly&lt;/li&gt;
+&lt;li&gt;this removes the need to hard-set your own aliases or run syslinks&lt;/li&gt;
+&lt;/ul&gt;
+&lt;p&gt;&lt;strong&gt;Added a semantically valid RSS feed&lt;/strong&gt;&lt;/p&gt;
+&lt;ul&gt;
+&lt;li&gt;&lt;code&gt;barf&lt;/code&gt; initially launched with Atom support only, now a separate RSS feed is generated at build time&lt;/li&gt;
+&lt;/ul&gt;
+&lt;p&gt;&lt;strong&gt;Removed hardcoded feed links from &lt;code&gt;header.html&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;
+&lt;ul&gt;
+&lt;li&gt;You now only need to set your main domain at the top of the core &lt;code&gt;barf&lt;/code&gt; file.&lt;/li&gt;
+&lt;/ul&gt;
+&lt;p&gt;That&#39;s it really! I&#39;ve also updated the original blog posts about setting up &lt;code&gt;barf&lt;/code&gt; on macOS and OpenBSD to reflect these changes.&lt;/p&gt;
+&lt;p&gt;Cheers!&lt;/p&gt;</content>
+ <link href="https://barf.btxx.org/qol"/>
+ <id>https://barf.btxx.org/qol</id>
+ <updated>2024-06-06T10:00:00Z</updated>
+ <published>2024-06-06T10:00:00Z</published>
+ </entry>
+ <entry>
<title>Running `barf` on OpenBSD</title>
<content type="html">&lt;h1&gt;Running &lt;code&gt;barf&lt;/code&gt; on OpenBSD&lt;/h1&gt;
&lt;p&gt;2023-08-12&lt;/p&gt;
@@ -16,7 +41,6 @@
&lt;p&gt;Along with your Markdown parser of choice (&lt;code&gt;barf&lt;/code&gt; assumes you will be using my version of &lt;a href=&quot;https://git.sr.ht/~bt/smu&quot;&gt;smu&lt;/a&gt;) you will also need to install the required packages on your OpenBSD system:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;doas pkg_add rsync coreutils gsed cmake gcc
&lt;/code&gt;&lt;/pre&gt;
-&lt;p&gt;Then ensure that you alter all instances of &lt;code&gt;sed&lt;/code&gt; with &lt;code&gt;gsed&lt;/code&gt; in the core &lt;code&gt;barf&lt;/code&gt; file. (Or make an alias if you&#39;d prefer not to alter the main file)&lt;/p&gt;
&lt;p&gt;After that, everything should work perfectly fine when building!&lt;/p&gt;</content>
<link href="https://barf.btxx.org/openbsd"/>
<id>https://barf.btxx.org/openbsd</id>
@@ -268,22 +292,13 @@ tags.&lt;/p&gt;</content>
<content type="html">&lt;h1&gt;Running &lt;code&gt;barf&lt;/code&gt; on MacOS&lt;/h1&gt;
&lt;p&gt;2023-01-18&lt;/p&gt;
&lt;p&gt;The &lt;code&gt;barf&lt;/code&gt; project was built on Linux and was catered towards Linux users. The core of the project will remain focused on Linux/GNU tools, but that doesn&#39;t mean MacOS needs to be left out in the cold.&lt;/p&gt;
-&lt;p&gt;There are some very minor changes you&#39;ll need to make to your default &lt;code&gt;sed&lt;/code&gt; and &lt;code&gt;date&lt;/code&gt; paths if you plan to run barf on MacOS.&lt;/p&gt;
&lt;h2&gt;Download Packages&lt;/h2&gt;
&lt;p&gt;This walkthrough assumes that you already have &lt;a href=&quot;https://brew.sh/&quot;&gt;homebrew&lt;/a&gt; installed on your machine.&lt;/p&gt;
&lt;p&gt;You will need to install the GNU versions of both &lt;code&gt;date&lt;/code&gt; and &lt;code&gt;sed&lt;/code&gt; in order to avoid breaking things when &lt;code&gt;barf&lt;/code&gt; tries to build.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;brew install coreutils
brew install gnu-sed
&lt;/code&gt;&lt;/pre&gt;
-&lt;h2&gt;Setting &lt;code&gt;gsed&lt;/code&gt; and &lt;code&gt;gdate&lt;/code&gt; as Default&lt;/h2&gt;
-&lt;p&gt;Now run the following in a terminal shell:&lt;/p&gt;
-&lt;pre&gt;&lt;code&gt;sudo ln -fs /opt/homebrew/bin/gsed /usr/local/bin/sed
-sudo ln -fs /opt/homebrew/bin/gdate /usr/local/bin/date
-&lt;/code&gt;&lt;/pre&gt;
-&lt;p&gt;and add the following to your &lt;code&gt;.bash_profile&lt;/code&gt; file:&lt;/p&gt;
-&lt;pre&gt;&lt;code&gt;export PATH=&amp;quot;/usr/local/bin:$PATH&amp;quot;
-&lt;/code&gt;&lt;/pre&gt;
-&lt;p&gt;Reload your &lt;code&gt;bash&lt;/code&gt; instance and everything should work as intended!&lt;/p&gt;</content>
+&lt;p&gt;Now everything should work as intended!&lt;/p&gt;</content>
<link href="https://barf.btxx.org/macos"/>
<id>https://barf.btxx.org/macos</id>
<updated>2023-01-18T10:00:00Z</updated>
diff --git a/build/index.html b/build/index.html
index 6786dc8..488a398 100644
--- a/build/index.html
+++ b/build/index.html
@@ -22,8 +22,35 @@
<p>You can learn more by reading the <a href="https://git.btxx.org/barf/about">official README</a> and view the generated <a href="/atom.xml">Atom feed here</a></p>
<p><strong>barf</strong> = blogs are really fun</p>
<hr />
+<h3>Get setup in 2 minutes</h3>
+<p><strong>Install dependencies:</strong></p>
+
+<ul>
+<li>For Linux: <code>rsync</code></li>
+<li>For macOS: <code>brew install coreutils gnu-sed</code></li>
+<li>For OpenBSD: <code>doas pkg_add rsync coreutils gsed cmake gcc</code></li>
+</ul>
+<p><strong>Clone and install the lightweight markdown parser, <code>smu</code></strong></p>
+
+<ul>
+<li><code>git clone https://git.btxx.org/smu</code></li>
+<li><code>cd smu ; make ; sudo make install</code></li>
+</ul>
+<p><strong>Clone <code>barf</code>:</strong> </p>
+
+<ul>
+<li><code>git clone https://git.btxx.org/barf</code></li>
+</ul>
+<ol>
+<li>Open project, change the <code>domain</code> variable at the top of the core barf file</li>
+<li>Run: <code>make build</code></li>
+<li>Upload the contents of <code>build</code> to your server! </li>
+<li>Profit?</li>
+</ol>
+<hr />
<h3>Articles</h3>
<ul>
+<li>2024-06-06 &middot; <a href="qol/">Quality of Life Improvements</a></li>
<li>2023-10-09 &middot; <a href="cleanup/">Cleaning Up barf's Structure</a></li>
<li>2023-08-12 &middot; <a href="openbsd/">Running `barf` on OpenBSD</a></li>
<li>2023-03-07 &middot; <a href="dark-mode/">Supporting Basic Dark Mode</a></li>
diff --git a/build/macos/index.html b/build/macos/index.html
index 02464e5..06a1e4d 100644
--- a/build/macos/index.html
+++ b/build/macos/index.html
@@ -18,22 +18,13 @@
<h1>Running <code>barf</code> on MacOS</h1>
<p>2023-01-18</p>
<p>The <code>barf</code> project was built on Linux and was catered towards Linux users. The core of the project will remain focused on Linux/GNU tools, but that doesn't mean MacOS needs to be left out in the cold.</p>
-<p>There are some very minor changes you'll need to make to your default <code>sed</code> and <code>date</code> paths if you plan to run barf on MacOS.</p>
<h2>Download Packages</h2>
<p>This walkthrough assumes that you already have <a href="https://brew.sh/">homebrew</a> installed on your machine.</p>
<p>You will need to install the GNU versions of both <code>date</code> and <code>sed</code> in order to avoid breaking things when <code>barf</code> tries to build.</p>
<pre><code>brew install coreutils
brew install gnu-sed
</code></pre>
-<h2>Setting <code>gsed</code> and <code>gdate</code> as Default</h2>
-<p>Now run the following in a terminal shell:</p>
-<pre><code>sudo ln -fs /opt/homebrew/bin/gsed /usr/local/bin/sed
-sudo ln -fs /opt/homebrew/bin/gdate /usr/local/bin/date
-</code></pre>
-<p>and add the following to your <code>.bash_profile</code> file:</p>
-<pre><code>export PATH=&quot;/usr/local/bin:$PATH&quot;
-</code></pre>
-<p>Reload your <code>bash</code> instance and everything should work as intended!</p>
+<p>Now everything should work as intended!</p>
<footer role="contentinfo">
<hr>
<h3 id="menu">Menu Navigation</h3>
diff --git a/build/openbsd/index.html b/build/openbsd/index.html
index 1b80e58..dc58675 100644
--- a/build/openbsd/index.html
+++ b/build/openbsd/index.html
@@ -22,7 +22,6 @@
<p>Along with your Markdown parser of choice (<code>barf</code> assumes you will be using my version of <a href="https://git.sr.ht/~bt/smu">smu</a>) you will also need to install the required packages on your OpenBSD system:</p>
<pre><code>doas pkg_add rsync coreutils gsed cmake gcc
</code></pre>
-<p>Then ensure that you alter all instances of <code>sed</code> with <code>gsed</code> in the core <code>barf</code> file. (Or make an alias if you'd prefer not to alter the main file)</p>
<p>After that, everything should work perfectly fine when building!</p>
<footer role="contentinfo">
<hr>
diff --git a/build/posts.tsv b/build/posts.tsv
index 374d954..c02db1c 100644
--- a/build/posts.tsv
+++ b/build/posts.tsv
@@ -1,3 +1,4 @@
+posts/qol.md Quality of Life Improvements
posts/openbsd.md Running `barf` on OpenBSD
posts/markdown-examples.md Markdown Examples in barf
posts/macos.md Running `barf` on MacOS
diff --git a/build/qol/index.html b/build/qol/index.html
new file mode 100644
index 0000000..bdebf62
--- /dev/null
+++ b/build/qol/index.html
@@ -0,0 +1,50 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <link rel="icon" href="data:,">
+ <title>Quality of Life Improvements</title>
+ <link href="/atom.xml" type="application/atom+xml" rel="alternate" title="Atom feed for blog posts" />
+ <link href="/rss.xml" type="application/rss+xml" rel="alternate" title="RSS feed for blog posts" />
+ <style>*{box-sizing:border-box;}body{font-family:sans-serif;margin:0 auto;max-width:650px;padding:1rem;}img{max-width:100%;}pre{overflow:auto;}</style>
+</head>
+
+<nav>
+ <a href="#menu">Menu &darr;</a>
+</nav>
+
+<main>
+<h1>Quality of Life Improvements</h1>
+<p>2024-06-06</p>
+<p>I haven't circled back to <code>barf</code> in quite a bit of time, so I'm happy to announce a small update mainly focused on quality of life improvements! I'll keep things brief and get right into the core changes:</p>
+<p><strong>Automatic detection of your operating system (supports Linux, macOS and OpenBSD currently)</strong></p>
+<ul>
+<li><code>barf</code> now checks your current OS and sets aliases accordingly</li>
+<li>this removes the need to hard-set your own aliases or run syslinks</li>
+</ul>
+<p><strong>Added a semantically valid RSS feed</strong></p>
+<ul>
+<li><code>barf</code> initially launched with Atom support only, now a separate RSS feed is generated at build time</li>
+</ul>
+<p><strong>Removed hardcoded feed links from <code>header.html</code></strong></p>
+<ul>
+<li>You now only need to set your main domain at the top of the core <code>barf</code> file.</li>
+</ul>
+<p>That's it really! I've also updated the original blog posts about setting up <code>barf</code> on macOS and OpenBSD to reflect these changes.</p>
+<p>Cheers!</p>
+<footer role="contentinfo">
+ <hr>
+ <h3 id="menu">Menu Navigation</h3>
+ <ul>
+ <li><a href="/">Home</a></li>
+ <li><a href="/about">About</a></li>
+ <li><a href="/websites">Websites</a></li>
+ <li><a href="https://git.btxx.org/barf">Source Code</a></li>
+ </ul>
+ <small>
+ Feeds: <a href="/atom.xml">Atom</a> | <a href="/rss.xml">RSS</a> <br>
+ Built with <a href="https://git.btxx.org/barf">barf</a>. <br>
+ The <a href="https://git.btxx.org/barf">code for this site</a> is MIT.
+ </small>
+</footer> \ No newline at end of file
diff --git a/build/rss.xml b/build/rss.xml
index 52220d3..992412c 100644
--- a/build/rss.xml
+++ b/build/rss.xml
@@ -4,11 +4,35 @@
<title>barf</title>
<link>https://barf.btxx.org/rss.xml</link>
<description>Feed description here</description>
- <lastBuildDate>Thu, 06 Jun 2024 12:48:45 +0000</lastBuildDate>
- <pubDate>Thu, 06 Jun 2024 12:48:45 +0000</pubDate>
+ <lastBuildDate>Thu, 06 Jun 2024 14:08:02 +0000</lastBuildDate>
+ <pubDate>Thu, 06 Jun 2024 14:08:02 +0000</pubDate>
<generator>Custom RSS Generator</generator>
<ttl>1800</ttl>
<item>
+ <title>Quality of Life Improvements</title>
+ <description>&lt;h1&gt;Quality of Life Improvements&lt;/h1&gt;
+&lt;p&gt;2024-06-06&lt;/p&gt;
+&lt;p&gt;I haven&#39;t circled back to &lt;code&gt;barf&lt;/code&gt; in quite a bit of time, so I&#39;m happy to announce a small update mainly focused on quality of life improvements! I&#39;ll keep things brief and get right into the core changes:&lt;/p&gt;
+&lt;p&gt;&lt;strong&gt;Automatic detection of your operating system (supports Linux, macOS and OpenBSD currently)&lt;/strong&gt;&lt;/p&gt;
+&lt;ul&gt;
+&lt;li&gt;&lt;code&gt;barf&lt;/code&gt; now checks your current OS and sets aliases accordingly&lt;/li&gt;
+&lt;li&gt;this removes the need to hard-set your own aliases or run syslinks&lt;/li&gt;
+&lt;/ul&gt;
+&lt;p&gt;&lt;strong&gt;Added a semantically valid RSS feed&lt;/strong&gt;&lt;/p&gt;
+&lt;ul&gt;
+&lt;li&gt;&lt;code&gt;barf&lt;/code&gt; initially launched with Atom support only, now a separate RSS feed is generated at build time&lt;/li&gt;
+&lt;/ul&gt;
+&lt;p&gt;&lt;strong&gt;Removed hardcoded feed links from &lt;code&gt;header.html&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;
+&lt;ul&gt;
+&lt;li&gt;You now only need to set your main domain at the top of the core &lt;code&gt;barf&lt;/code&gt; file.&lt;/li&gt;
+&lt;/ul&gt;
+&lt;p&gt;That&#39;s it really! I&#39;ve also updated the original blog posts about setting up &lt;code&gt;barf&lt;/code&gt; on macOS and OpenBSD to reflect these changes.&lt;/p&gt;
+&lt;p&gt;Cheers!&lt;/p&gt;</description>
+ <link>https://barf.btxx.org/qol</link>
+ <guid isPermaLink="false">https://barf.btxx.org/qol</guid>
+ <pubDate>Thu, 06 Jun 2024 00:00:00 +0000</pubDate>
+ </item>
+ <item>
<title>Running `barf` on OpenBSD</title>
<description>&lt;h1&gt;Running &lt;code&gt;barf&lt;/code&gt; on OpenBSD&lt;/h1&gt;
&lt;p&gt;2023-08-12&lt;/p&gt;
@@ -17,7 +41,6 @@
&lt;p&gt;Along with your Markdown parser of choice (&lt;code&gt;barf&lt;/code&gt; assumes you will be using my version of &lt;a href=&quot;https://git.sr.ht/~bt/smu&quot;&gt;smu&lt;/a&gt;) you will also need to install the required packages on your OpenBSD system:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;doas pkg_add rsync coreutils gsed cmake gcc
&lt;/code&gt;&lt;/pre&gt;
-&lt;p&gt;Then ensure that you alter all instances of &lt;code&gt;sed&lt;/code&gt; with &lt;code&gt;gsed&lt;/code&gt; in the core &lt;code&gt;barf&lt;/code&gt; file. (Or make an alias if you&#39;d prefer not to alter the main file)&lt;/p&gt;
&lt;p&gt;After that, everything should work perfectly fine when building!&lt;/p&gt;</description>
<link>https://barf.btxx.org/openbsd</link>
<guid isPermaLink="false">https://barf.btxx.org/openbsd</guid>
@@ -267,22 +290,13 @@ tags.&lt;/p&gt;</description>
<description>&lt;h1&gt;Running &lt;code&gt;barf&lt;/code&gt; on MacOS&lt;/h1&gt;
&lt;p&gt;2023-01-18&lt;/p&gt;
&lt;p&gt;The &lt;code&gt;barf&lt;/code&gt; project was built on Linux and was catered towards Linux users. The core of the project will remain focused on Linux/GNU tools, but that doesn&#39;t mean MacOS needs to be left out in the cold.&lt;/p&gt;
-&lt;p&gt;There are some very minor changes you&#39;ll need to make to your default &lt;code&gt;sed&lt;/code&gt; and &lt;code&gt;date&lt;/code&gt; paths if you plan to run barf on MacOS.&lt;/p&gt;
&lt;h2&gt;Download Packages&lt;/h2&gt;
&lt;p&gt;This walkthrough assumes that you already have &lt;a href=&quot;https://brew.sh/&quot;&gt;homebrew&lt;/a&gt; installed on your machine.&lt;/p&gt;
&lt;p&gt;You will need to install the GNU versions of both &lt;code&gt;date&lt;/code&gt; and &lt;code&gt;sed&lt;/code&gt; in order to avoid breaking things when &lt;code&gt;barf&lt;/code&gt; tries to build.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;brew install coreutils
brew install gnu-sed
&lt;/code&gt;&lt;/pre&gt;
-&lt;h2&gt;Setting &lt;code&gt;gsed&lt;/code&gt; and &lt;code&gt;gdate&lt;/code&gt; as Default&lt;/h2&gt;
-&lt;p&gt;Now run the following in a terminal shell:&lt;/p&gt;
-&lt;pre&gt;&lt;code&gt;sudo ln -fs /opt/homebrew/bin/gsed /usr/local/bin/sed
-sudo ln -fs /opt/homebrew/bin/gdate /usr/local/bin/date
-&lt;/code&gt;&lt;/pre&gt;
-&lt;p&gt;and add the following to your &lt;code&gt;.bash_profile&lt;/code&gt; file:&lt;/p&gt;
-&lt;pre&gt;&lt;code&gt;export PATH=&amp;quot;/usr/local/bin:$PATH&amp;quot;
-&lt;/code&gt;&lt;/pre&gt;
-&lt;p&gt;Reload your &lt;code&gt;bash&lt;/code&gt; instance and everything should work as intended!&lt;/p&gt;</description>
+&lt;p&gt;Now everything should work as intended!&lt;/p&gt;</description>
<link>https://barf.btxx.org/macos</link>
<guid isPermaLink="false">https://barf.btxx.org/macos</guid>
<pubDate>Wed, 18 Jan 2023 00:00:00 +0000</pubDate>