• 0 Posts
  • 36 Comments
Joined 2 years ago
cake
Cake day: June 12th, 2023

help-circle
  • Hawk@lemmynsfw.comtoProgrammer Humor@programming.devTradeoffs
    link
    fedilink
    arrow-up
    18
    arrow-down
    1
    ·
    6 days ago

    The key is identifying how to use these tools and when.

    Local models like Qwen are a good example of how these can be used, privately, to automate a bunch of repetitive non-determistic tasks. However, they can spot out some crap when used mindlessly.

    They are great for skett hing out software ideas though, ie try a 20 prompts for 4 versions, get some ideas and then move over to implementation.


  • Set up wireguard in a docker container and then forward the port to wireguard, the default container on docker hub is fairly straightforward and you can always ask me for help if you need :).

    However, If you are using ipv4, you need to make sure that you’re not behind a CG-NAT (If you think you might be, call your ISP and tell them you have security cameras that need to get out or something like that).

    You could also try tailscale which is built using wireguard with nat-busting features and a bit easier to configure (I dont personally use it as wireguard is sufficient for me).

    After that Caddy + DNSMasq will simply allow you to map different URLs to IP addresses

    • dnsmasq
      • will let you map, E.g. my_computer -> 192.168.1.64
    • Caddy (Or nginx, but caddy is simpler)
      • will let you map to ports so e.g.:
        • with DNS (DNSMasq as above)
          • http://dokuwiki.my_computer -> http://my_computer:8080
        • Without DNS
          • http://dokuwiki.192.168.1.64 -> http://192.168.1.64:8080

    Caddy and DNSmasq are superfluous, if you’ve got a good memory or bookmarks, you don’t really need them.

    VPN back into home is a lot more important. You definitely do not want to be forwarding ports to services you are running, because if you don’t know what you’re doing this could pose a network security risk.

    Use the VPN as the entry point, as it’s secure. I also recommend running the VPN in a docker / podman container on an old laptop dedicated just to that, simply to keep it as isolated as you can.

    Down the line you could also look into VLan If your router supports that.

    I personally would not bother with SSL If you’re just going to be providing access to trusted users who already have access to your home network.

    If you are looking to host things, just pay for a digital droplet for $7 a month, It’s much simpler, You still get to configure everything but you don’t expose your network to a security risk.





  • Hawk@lemmynsfw.comtoSelfhosted@lemmy.worldWhat do you use for notes?
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    29 days ago

    Mobile offline sync is a lost cause. The dev environment, even on Android, is so hostile you’ll never get a good experience.

    Joplin comes close, but it’s still extremely unreliable and I’ve had many dropped notes. It also takes hours to sync a large corpus.

    I wrote my own web app using Axum and flask that I use. Check out dokuwiki as well.







  • I suppose the problem that I had with Media Wiki is that every update would break extensions. Particularly mathjax and semantic media Wiki. I too amusing it with Docker which helps a lot.

    So docuicki has a recent pages view which is really good and lists the user that made the edit. That’s what we use for a feed. There’s also an RSS plug-in that will display other feeds which is kind of nice if you want to discuss other articles.

    We create Journal pages that link out to pages for events etc. The events are also linked to from a start page. We display the backlinks using the footer plugin.

    Whilst it’s a bit different from social media in that there is no feed, it’s really nice that it provides, like a database of our family’s life in history.

    We even have pages for cars and repair logs, computers and updates, everything. The struct plugin is amazing And you can always pop it open in SqliteBrowser too!

    I’ve tried a couple of things and I just keep coming back to dokuwiki because it’s the best compromise.


  • No, I don’t. And that’s going to be one of our big differences here. Everyone in my family is tech literate and knows at least a little bit of programming.

    I would strongly suggest dokuwiki. It’s like having a forever Journal of Family affairs and I really like it. I know it’s not quite the social media aesthetic but in my experience I found it to be the thing that stuck.

    I would argue against Mediawiki though. It may be more user-friendly for some family members, but the maintenance becomes a nuisance And pulling things out of the database involves half a dozen joins.

    Even though dokuwiki editing is text in markup, It’s not a hard concept to grasp and the simplicity makes it feel more tangible which may be appreciated by older family members.


  • There’s a plugin that does it, FoF or something, and then you can upload an image from your device and it’s pretty good. Some videos play others require downloading after uploading though.

    Our family uses a post in flarum for a monthly feed and then moves a few of those images into a dokuwiki page with the gallery plugin.



  • We tried it and didn’t like the clunky UI.

    We also tried Lemmy but it was a bit of a nuisance to maintain.

    In the end we settled on a forum with a wiki.

    We tried a few forums but in the end Flarum was the nicest, Just a bit of a pain to set the domain to be dynamic but it can be done with some PHP, alternatively, just use a reverse proxy with dnsmasq and wireguard pointing to that DNS.

    As for a Wiki We have tried mediawiki, WikiJS And a couple others. I would recommend dokuwiki. (I hear good things about bookstack too).