RSSAmplifier

Blog

Peek Read Info

Art, Tech and Information. What's the diff?

peekread.infoRSS feed ↗10 posts

Latest posts

The Hugo Switch

I've decided to shake things up a bit, and I'm switching my blog over from Nikola to Hugo . Page Bundles and Obsidian Page bundles offer great convenience for storing my blog posts in Obsidian. With Hugo, they group content along with associated resources like images and files. With this portability, I can store my posts within my note structure. While Nikola could provide similar capabilities to…

Using fdupes to cleanup my file server

The overall problem: Like many of us, I am guilty of copying files haphazardly, promising myself that I'll organize them later. This has built up to a significant problem over the years, particularly with old smartphone backups. I had a bad habit of dumping photo folder backups onto my server, with each dump containing even more dumps of old photos, resulting in multiple levels of duplication.…

Making a Lazy Dark Theme with Darkreader

I have been using the Dark Reader plugin in firefox for quite some time now and I quite like it. However, there is one drawback - it has made me procrastinate building a dark theme for my blog. As it turns out, exporting and using the Dark Reader generated theme for your website is pretty damn easy. Frist you need the plugin installed in your browser, you can get it from the Firefox Add-ons page…

Playing with chatGTP

ChatGTP has been taking the internet by storm with its impressive ability to spit out reasonable sounding text, but it is all that great? is it clippy back from the dead to take revenge on us all? Key take-aways: It takes all character out of your sentences. It has a habit of dropping key details for a more generic sentence. The longer your inputs are the more likely it's spit out nonsense. Giving…

Readable Nginx configs

A recent project announcement on the subredit /r/selfhosted reminded me to post about a simple trick I've started using to make the configuration of the webserver Nginx a little more ergonomic. Nginx allows you to include files inline in your configs to make re-using code simple. An example would be all your ssl proxy settings as per generated using the Mozilla ssl-config generator. simply add…

Eking out some Nextcloud performance

Nextcloud is notorious in the selfhosted community of being difficult for some people to achieve a decent level of performance. After enabling the basic caching with both APCu and Redis there are several options to trim some fat. Once all the easy stuff is taken care of the hidden bottlenecks is where I am focusing my efforts. So far I have had some success by switching to UNIX sockets in my…

Authentik Gotifiy Login Notifications

Continuing with my journy of utilising Authentik for my SSO. After reading a rather good comment by /u/internallogictv over on the reddit /r/selfhosted , I wanted to add a few more protections. The simplest of which is to send myself a notification whenever a login or a failed login occurs. Step 1 First things first we create a new application in gotify in order to generate a token for authentik…

Node-Red SSO with Authentik

Following my last post regarding SSO with Authentik I thought I should post my passportjs configuration for Node-Red and OpenidConnect. Currently User accounts work, however I haven't gotten group based permissions setup yet. Note This guide is based off the Gitea integration guide from the Authentik docs. Preparation The following placeholders will be used: authentik.company is the FQDN of…

SSO with Authentik

A while back I wrote about minimising my attack surface by utilising default deny and whitelists in Nginx. Now I've gotten into the weeds with authentication and deployed an SSO (Signle sign-on) service on my selfhosted infrastructure. What is Authentik? Authentik is a SSO (Single Sign on) provider, much like with Google's services you sign in once and then you can access all your services. This…

New maintainers needed for the Thunderbird Lookout Fix-version add-on

In august 2018 I took over maintenance of the Thunderbird addon Lookout-fix-version . I soon set up a the Github Organization TB-throwback so that future development can be expanded and transferred easier if I stop work on it. LookOut Fix-Version is a plugin which allows Thunderbird to interface with Microsoft’s mail tools by decoding metadata and attachments encapsulated/embedded in a TNEF…