Something went wrong. Try again.
the source code for my blog im.tranfem.fyi
Something went wrong. Try again.
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
Run:
- Clone this repo
- cd to blog folder, run
caddy adapt, and thencaddy start - Run
./onionhoster.sh(Maybe trychmod +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> <!-- leave the "00:00:00 +0000" part as-is, it will be replaced when the post is loaded -->
</item>
note, all of theese fields and their ids are required for the blog to work properly(if you don't include them, you will get a bunch of errors, and the blog will say you need to enable javascript).
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.fyi/post?id={post title with dashes}</p>
<h1 id="post-title">{post title without dashes}</h1>
<h3 id="post-description">{post description}</h3>
<h4 id="post-content-warning"><mark>{post content warning}</mark></h4> <!-- if there isn't any content worth warning about, leave this blank(remove the <mark> tags too). -->
<h5 id="post-date">{day of week name}, {day number} {month name} {year number} 00:00:00 +0000</h5> <!-- leave the "00:00:00 +0000" part as-is, it will be replaced when the post is loaded -->
<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. -->
note, all of theese fields and their ids are required for the blog to work properly(if you don't include them, you will get a bunch of errors, and the blog will say you need to enable javascript).