• 1 Post
  • 14 Comments
Joined 1 year ago
cake
Cake day: June 6th, 2023

help-circle






  • I hope they fixed the performance as well. I have several crashes per day on debian with version 102.11.0

    When starting it I have to wait for a bit before I click anything, otherwise it crashes. It also 100%s one CPU core regularly, I don’t know if that is supposed to happen. It also sometimes does not show the content of certain emails. All that said it’s still the best mail client I’ve used so far.



  • Here is my compose file:

    version: '3.3'
    
    services:
      app:
        image: matrixdotorg/synapse
        restart: unless-stopped
        ports:
          - 8008:8008
        volumes:
          - ./data:/data
        hostname: matrix
    
      mautrix-telegram:
        container_name: mautrix-telegram
        image: dock.mau.dev/mautrix/telegram
        restart: unless-stopped
        volumes:
          - ./mautrix-telegram-data:/data
        hostname: mautrix-telegram
    
      mautrix-whatsapp:
        container_name: mautrix-whatsapp
        image: dock.mau.dev/mautrix/whatsapp
        restart: unless-stopped
        volumes:
          - ./mautrix-whatsapp-data:/data
        hostname: mautrix-whatsapp
    

    I have nginx running as a reverse proxy on the host. I haven’t gotten the federation to work yet but I think it’s an ipv6 issue.

    Setting up the bridges was quiet easy using these instructions

    Let me know if you have anymore questions. It’s running on a small host with 40 docker containers running in parallel and the cpu sits idle at 5% so it’s not much of a drain.



  • I’ve adapted it to work on kbin - let me know if anyone finds any issues

    // ==UserScript==
    // @name         kbin lemmy redirect
    // @version      1.0
    // @description  Redirect kbin to your local Lemmy instance
    // @author       @[email protected]
    // @match        https://*/m/*
    // @icon         https://join-lemmy.org/static/assets/icons/favicon.svg
    // ==/UserScript==
    
    // best effort guess
    const isKbin = typeof KBIN_USER !== 'undefined' && typeof KBIN_MAGAZINE !== 'undefined';
    
    if (isKbin) {
        // Get URL info
        const localLemmy = "feddit.de";
        const splitUrl = location.href.split("/");
        const instanceUrl = splitUrl[2];
        const community = splitUrl[4];
        const localizedUrl = "https://" + localLemmy + "/c/" + community + "@" + instanceUrl;
    
        // Create redirect button if not on local
        if (instanceUrl !== localLemmy) {
            const wrapper = document.createElement("div");
            wrapper.setAttribute("style", "width: 100%;position: fixed;top: 0;")
    
            const container = document.createElement("div");
            container.setAttribute("style", "position:relative;max-width: 1650px;width: 100%;margin: 0 auto;")
            const zNode = document.createElement("button");
            zNode.innerText = "Open in local instance";
            zNode.setAttribute("id", "localizeContainer");
            // add styles to the button embedded
            zNode.setAttribute(
                "style",
                "cursor: pointer; padding: 5px; margin-top: 55px; background-color: red; border-radius: 10%; border-width: 3px; border-style: solid; z-index: 10;max-width:200px;position:absolute;top:0;right:0;"
            );
            zNode.addEventListener("click", e => window.location.replace(localizedUrl));
            container.appendChild(zNode);
            wrapper.appendChild(container);
            document.body.appendChild(wrapper);
        }
    }