Skip to content

Instantly share code, notes, and snippets.

View mkody's full-sized avatar
🍮

Kody mkody

🍮
View GitHub Profile
@mkody
mkody / README.md
Last active May 6, 2024 02:20
Custom CSS for FreshRSS (using Swage as a base)

This is a dark color scheme for the Swage theme in FreshRSS. To use it, copy/paste the content of custom.css in the settings of the Custom CSS extension.


To go further, I've edited manifest.json and layout.phtml so that the colors for the window and PWA matches.

You can replace those files or if you use docker (compose) you can mount them.
For example this is the volumes settings in my docker-compose.yaml:

@mkody
mkody / README.md
Last active March 28, 2024 12:42
Automail patch for donators

Automail patch for donators

  1. Clone https://github.com/hohMiyazawa/Automail.git
  2. Put the refresh.sh and allowDonators.patch in the root Automail directory
  3. chmod +x refresh.sh and ./refresh.sh
  4. Put a cron like 0 * * * * cd /path/to/Automail && ./refresh.sh > cron.log 2>&1 to keep it updated

Find my builds at https://s.kdy.ch/Automail/

@mkody
mkody / f2-to-mastodon.user.js
Last active December 11, 2022 20:21
F2 to go to my mastodon instance
// ==UserScript==
// @name F2 to go to my mastodon instance
// @include /https:\/\/(.*)\/@(\w+)(\/[0-9]+)?/
// @include /https:\/\/(.*)\/users\/(\w+)/
// @include /https:\/\/(.*)\/notice\/([a-zA-Z]+)/
// @include /https:\/\/(.*)\/notes\/([0-9a-z]+)/
// @grant GM_xmlhttpRequest
// ==/UserScript==
// Based on https://github.com/rugk/mastodon-simplified-federation/issues/77#issuecomment-1328265632