Wrote switching to axum post
ci/woodpecker/push/woodpecker Pipeline was successful Details

dev
Jef Roosens 2022-04-02 15:36:13 +02:00
parent 5b71f9ecca
commit a150bcb75c
Signed by: Jef Roosens
GPG Key ID: B75D4F293C7052DB
1 changed files with 35 additions and 1 deletions

View File

@ -1,5 +1,39 @@
--- ---
title: "Switching to Axum" title: "Switching to Axum"
date: 2022-04-02 date: 2022-04-02
draft: true
--- ---
In classic Jef fashion, it took me less than a week to completely overhaul the
way my site works ;p Visually nothing's changed, but internally the website is
now being powered by a web server written in Rust, powered by
[Axum](https://github.com/tokio-rs/axum).
The reason for this is expandibility. While nginx is really good at what it
does, it's rather limited when it comes to implementing new features on top of
it. However, even if it wasn't, I would've still switched because I just really
wanted to work in Rust once more :D
Favoritism aside, the plan is to join the [IndieWeb](https://indieweb.org/)
network. To quote their homepage:
> The IndieWeb is a people-focused alternative to the "corporate web".
They've got some really great ideas about what the internet could be if we
tried, and considering I agree with nearly all of them, I wanna join ;p
My first project will be to implement the Webmention protocol. This consists of
a simple exchange of POST requests, where you notify another user's site
whenever you mention one of their posts. This in exchange allows them to
display my response on their website, and vice versa! In essence, it's simple
decentralized commenting.
My plans after this are still vague. I might dip my toes into
[IndieAuth](https://indieauth.net/),
[microformats](https://indieweb.org/microformats) or any of the other cool
concepts they've got the offer! Either way, the plan is to enjoy myself with
this site ;p
If all goes well, this post will be the first new post to get published using
my new deploy system, so fingers crossed :)
Have a lovely day <3