20251221204436 push

This commit is contained in:
2025-12-21 20:44:36 -08:00
parent 40234617dd
commit ed3bf05c1a
33 changed files with 36 additions and 34 deletions

View File

@@ -4,8 +4,10 @@
<h1 class="title">A Now Page</h1>
</header>
<p>I have decided to create <a href="/now/">a Now page</a> for my website. Here is <a href="https://indieweb.org/now">the official documentation</a> for Now pages, but I decided to put my own spin on the idea. I have been considering adding a microblog page for my website, which would be a place that I can quickly add posts, something like <a href="https://github.com/buckket/twtxt">a twtxt file</a>, but I don&#39;t particularly like a permanent, endlessly long file for a microblog. I prefer treating microblog posts as temporary and ephemeral, that&apos;s the reason why I have my Mastodon posts delete themselves after a year.</p>
<p>I have created the following script for quickly and easily updating to my Now page and Mastodon at the same time from my terminal. This script compliments the <pre>blog.sh</pre> script I have created for building this website, which you can look at in <a href="https://git.0x212.com/iiogama/website">the git repo</a>.</p>
<p>All I need to do is run <pre>post.sh &quot;Extremely thoughtful message for my thousands of followers&quot;</pre> and my scripts will post my thoughts to Mastodon, update my Now page, update <a href="/index.xml">my RSS feed</a>, and upload the files to my web server.</p>
<p>I have created the following script for quickly and easily updating to my Now page and Mastodon at the same time from my terminal. This script compliments the blog.sh script I have created for building this website, which you can look at in <a href="https://git.0x212.com/iiogama/website">the git repo</a>.</p>
<p>All I need to do is run something like this:</p>
<pre>post.sh &quot;Extremely thoughtful message for my thousands of followers&quot;</pre>
<p>and my scripts will post my thoughts to Mastodon, update my Now page, update <a href="/index.xml">my RSS feed</a>, and upload the files to my web server.</p>
<h2>Post.sh script</h2>
<pre>
#!/usr/bin/env bash