(I apologize if this is not the right community for the question described in the post title.)

My problem with setting up Mollysocket is that my knowledge and competence with such things is very limited (I have MSc in natural sciences) so the instructions on their Github repo are not clear enough for me to resolve the issues I’ve faced. I have a strong passion for these though, and there are still lots of things I do understand.

However, none of the three alternative methods to install Mollysocket worked. First I tried using crates.io, but hit the wall when trying to perform “cargo install mollysocket” because it ended up giving a feature error which I couldn’t pass regardless the given instructions of using nightly version and enabling such unstable feature (+ I’ve no idea where to find Cargo.toml file).

So next I tried the precompiled version, but then the issue was that I couldn’t start mollysocket via systemctl. Troubleshooting by myself was impossible because I couldn’t find anything from the search engines related to this.

And the Docker option, well, I think I understood everything until the step where I should generate VAPID key. I copy-pasted the given command from their Github, but this results in a error that such command does not exist.

The instructions given on their Github are, in my opinion, not so beginner friendly, thus I would be very grateful to those who could help with this.

  • Autonomous User
    link
    English
    2
    edit-2
    1 day ago
    1. mollysocket command is inside the docker container(s), so outside you get not found.

    github.com/mollyim/mollysocket/blob/main/README.md

    VAPID key
    
    VAPID key is used to authorize mollysocket server to send requests to your push server, if it supports it.
    
    To generate a new key, you can run this command mollysocket vapid gen. Or using docker, docker compose run mollysocket vapid gen.
    
    This value can be passed to mollysocket via a file, location given with vapid_key_file parameter, or directly in the vapid_privkey parameter. The key file takes the precedence.
    

    docker compose run mollysocket vapid gen