Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)PU
Posts
37
Comments
239
Joined
2 yr. ago

  • I've always went to animeflv.net, I haven't been there in a long time tho, so I don't know if the quality is the same.
    For manga I've only consumed it in English, but tachiyomi has a lot of options for manga in several languages, you could check some of them.

  • I thought this too, I hated docker because it was supposed to be the solution of "works on my machine" and the only thing that did for me was force me to learn more configurations besides the configuration of the service you wanted to install.
    And as you said, plus the hassle of having to run some Linux distro.
    But little by little I had to get deeper into docker and Linux, mainly because of my work, and now I can easily deploy any service in the VPS I have or test it with WSL. I even started dockerizing some of my own flows like building and deploying my own projects with docker.

    Believe me, it's worth all the time to learn docker and linux.
    Start small, few lines or keywords each day, you won't have everything you want to deploy in a day or two if you don't already know all the technologies.
    And remember, if you don't easily find something you can always come to ask in a post and we can try to help you!

  • and unblocks SvelteKit

    Hahaha, nice, I was just going crazy on why my setup was no longer connecting to my dev svelte project :D
    The websocket was just hanging the connections and I even went as to try it with node.

  • You got me thinking in something more, are API keys stored in plain text in DB? Otherwise I don't see a way to quickly know it's valid, I'd have to validate it against all the hashes in the DB.
    With client id it'd be easy to just validate the secret against a single hash for that user.

  • I don't fully understand what use case you're thinking about.
    An API key which expires is very hard to work with, imagine deploying an app with that kind of key, or a service/bot which uses that key.

    Maybe you're thinking about access tokens, which need to be regenerated every so often and can be generated with a refresh token.

  • Send secure message takes you to matrix, which is a dedicated messaging project which has encryption.
    Send message uses lemmy, which uses federation which is basically public (well I'm not exactly sure if the messages are public like the rest of the activity but the message is sent and saved in plain text, so at least the instance admins can read them)

  • About the DNS, you can use an internal DNS and find some way for your VPN to configure it in all the machines connected to it.
    DNS usually has a fall back if the name is not found, so you can always have your custom DNS on and it'll first check its own records then check for some level up (I'm basing this off of my experience with with pihole https://docs.pi-hole.net/ftldns/ )

    About your ports question: you just need to change the ip to the VPN one.
    For example, I have a VPS which has a public IP and I have tailscale installed.
    If I were to make my service listen to all interfaces I could use 1.2.3.4:1194 or 100.100.100.100:1194 (this being the tailscale ip)
    But I usually only configure them to listen to tailscale0, so I can no longer reach them with 1.2.3.4:1194, only with the tailscale ip.
    In your DNS you need to configure this new IP to be served.

    I'm guessing you can also do some configuration with a firewall.
    Probably ufw add allow from 10.0.0.0/8 could work if this was the IP range of your VPN, then any one can still use your public IP and only your VPN will be able to connect (But don't quote me on this, I haven't done it).
    (Just be sure to check the configuration of your service, docker can bypass ufw :/ )

  • I use caddy with PiHole. The Caddyfile is easy to set up with your hostname which will be automatically redirected to HTTPS.
    The issue will be the annoying (but useful) alert of a selfsigned certificate if you don't own the domain.
    So I have a cheap domain for my local network and configure caddy to do the acme challenge via DNS instead of HTTP.

    I can give you more details tomorrow.

  • Yep it keeps track of upvotes and downvotes, but it doesn't have any karma at all.
    It's just people who want to have lemmy as a 1:1 reddit replacement making an effort to show something similar to karma.

    AFAIK there's no actual understanding of how karma worked, so the closest thing people have made is just sum all your upvotes and subtract the sum of all your downvote.
    But again, this is being made by people who want something karma-like, there's no endpoint/property/field in lemmy's code for "karma", you have to come up with some algorithm (yes, doing some sums and a rest is an algorithm, mathematically speaking) to show a number of "how much karma you have"

    EDIT:
    I stand corrected, there is an official form of "karma", you have post and comment scores
    So, yeah, each UI chooses to show them or not.

    The scores are sums of the scores each like give to a comment and a post
    https://github.com/LemmyNet/lemmy/blob/13a866aeb0c24f20ed18ab40c0ea5616ef910676/migrations/2020-12-03-035643_create_user_aggregates/up.sql