the source code for my blog im.tranfem.fyi
0

Configure Feed

Select the types of activity you want to include in your feed.

Shell 81.6%
HTML 16.6%
CSS 1.8%
3 1 0

Clone this repository

https://git.vm.fail/kishka.cc/blog https://git.vm.fail/did:plc:7qw4jrzq6nqa5sbumzus3o4t
ssh://git@knot1.tangled.sh:2222/kishka.cc/blog ssh://git@knot1.tangled.sh:2222/did:plc:7qw4jrzq6nqa5sbumzus3o4t

For self-hosted knots, clone URLs may differ based on your setup.


README.md

blog#

source code for my blog - im.transfem.btw

Running#

Install:

  • debian | I use Debian to host my web server, but you can use any operating system or distribution; I am not making instructions for anything else, but if you reach out to me, I may reply and help you out.
  • caddy
  • docker compose

Run:

  • Clone this repo
  • cd to blog folder, run caddy adapt, and then caddy start
  • Run ./onionhoster.sh (Maybe try chmod +x ./onionhoster.sh) then in it, choose forward port and enter 7654.

Info:

  • I use Cloudflare Tunnel as a reverse proxy, so if you use that, have it the end point set to 127.0.0.1:7654.
  • I have packaged a version of OnionHoster with this repository, but I recommend downloading the official version here.

Credit:

  • Thanks to OnionHoster for onionhoster.sh, which makes hosting hidden services(tornet/darkweb/.onion pages) very easy!

Adding post to this blog feed#

Use this for each item in the RSS feed:

        <item>
            <author>katya - kishka.cc</author>
            <guid>{post title with dashes}</guid>
            <link>https://im.transfem.fyi/post/id/{post title with dashes}.html</link>
            <title>{post title}</title>
            <description>
                {post description}
            </description>
            <pubDate>{day of week name}, {day number} {month name} {year number} 00:00:00 +0000</pubDate>
        </item>

Use this for the content of each post:

File location: blog/post/id/{post title with dashes}.html

File contents:

<p id="warning-text">if you are viewing this in your browser and have javascript enabled, please use the link below:</p>
<p id="warning-link">https://im.transfem.btw/post?id={post title with dashes}</p>
<h1 id="post-title">{post title without dashes}</h1>
<h2 id="post-description">{post description}</h2>
<h3 id="post-content-warning">{post content warning}</h3>

<p id="post-content">{post content}</p> <!-- from this line forward, it can be multiple lines each with a paragraph. make sure to include the post-content id. -->