20251221204436 push
This commit is contained in:
@@ -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't particularly like a permanent, endlessly long file for a microblog. I prefer treating microblog posts as temporary and ephemeral, that'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 "Extremely thoughtful message for my thousands of followers"</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 "Extremely thoughtful message for my thousands of followers"</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
|
||||
|
||||
Reference in New Issue
Block a user