• Dagnet@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    16 hours ago

    I use it and my biggest issue is the ram usage, it’s like 500mb for a dashboard, the other ones I tried were much lighter

  • piyuv@lemmy.world
    link
    fedilink
    English
    arrow-up
    33
    arrow-down
    1
    ·
    1 day ago

    I use homepage and pretty happy with it. “Drag and drop configuration, no yaml” actually put me off.

    • TheBigRoomXXL@leminal.space
      link
      fedilink
      English
      arrow-up
      2
      ·
      14 hours ago

      Drag and drop isn’t for me either but it’s nice to have more beginners-friendly options in the self hosted community. Not everybody like to live in the terminal.

    • Semperverus@lemmy.world
      link
      fedilink
      English
      arrow-up
      9
      arrow-down
      5
      ·
      1 day ago

      I wish we would all start switching over to JSON for configuration files. It’s so much easier to parse, and you can’t screw it up with too many spaces or not enough.

        • tiramichu@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          7
          arrow-down
          1
          ·
          edit-2
          16 hours ago

          My biggest peeve with JSON when I’m forced to use it as a configuration format is that it doesn’t have any syntactical support for comments.

          So I can’t even add any notes to the file.

          • lightnegative@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            4 hours ago

            Yep this for me too. Thankfully VSCode allows comments in its settings.json / launch.json files but most programs use strict JSON which doesn’t allow comments

          • vinnymac@lemmy.world
            link
            fedilink
            English
            arrow-up
            3
            arrow-down
            1
            ·
            edit-2
            11 hours ago

            Yea, this is a deal breaker imo. My code tends to be 10 to 1 comments to lines of code ratio. Configuration even more so.

            jsonc/json5 exists for this use case, but few tools actually use it, yaml is far more popular

      • lightnegative@lemmy.world
        link
        fedilink
        English
        arrow-up
        5
        ·
        18 hours ago

        I used to think that until I figured out yaml and now yaml isn’t so bad.

        It helps that text editors know what yaml is now so insert spaces when you hit tab etc

        • tuhriel@infosec.pub
          link
          fedilink
          English
          arrow-up
          5
          ·
          13 hours ago

          My biggest gripe with yaml (especially in docker-compose files) is that l, for me at least, it is absolutely not clear when I need to add dahes (-) in front of multiple entries and when it’s just linebreaks.
          And there are no easy accessible docker-compose validators…

          • moonpiedumplings@programming.dev
            link
            fedilink
            English
            arrow-up
            3
            ·
            7 hours ago

            Try the yaml language server by red hat, it comes with a docker compose validator.

            But in general, off the top of my head, dashes = list. No dashes is a dictionary.

            So this is a list:

            thing:
                - 1
                - 2
            

            And this is a dictionary:

            dict:
                key1: value1
                key2: value2
            

            And then when they can be combined into a list of dictionaries.

            listofdicts:
                - key1dict1: value1dict1
                - key1dict2: value1dict2
                  key2dict2: value2dict2
            

            And then abother thing to note is that yaml wilL convert things into a string. So if you have ports 8080:80, this will be converted into a string, which is a clue that this is a string in a list, rather than a dictionary.

      • FrederikNJS@lemmy.zip
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        edit-2
        10 hours ago

        Why not just write your YAML files in JSON syntax?

        JSON is a valid subset of YAML

        • Voroxpete@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          5
          ·
          22 hours ago

          Yeah, this is my biggest annoyance with JSON. As a data structure it’s very elegant, but it only really makes sense to people who know how to code, and without the ability to add comments you have to rely heavily on external documentation to make it readable to most users.

          • cravl@slrpnk.net
            link
            fedilink
            English
            arrow-up
            3
            ·
            22 hours ago

            And like yeah, both the wonderful (and foss!) .json5 and Microsoft’s semi-proprietary(?) .jsonc exist, but most projects just use their language’s default JSON parser that doesn’t recognize them. What I would personally love to see is .json5 support baked into the default JSON parsing libraries of Python, Go, etc. (Enabled by a flag, likely.) It’s a superset of regular JSON and fully ES2019 compatible, so there shouldn’t be any issues.

      • Voroxpete@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        7
        arrow-down
        2
        ·
        22 hours ago

        Instead you can screw it up by having too many commas or not enough. Hardly that much of an improvement.

      • FooBarrington@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 day ago

        It’s IMO also so much clearer regarding data types. You can’t accidentally write a boolean when you want a string.

    • Burn1ngBull3t@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 day ago

      Yeah i was wondering how you actually use versioning with that drag and drop. Homepage seems better for that IMO

  • LazerDickMcCheese@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    11
    ·
    edit-2
    6 hours ago

    If any of you can get the Pi-hole integration to work, let me know how you did it. There’s a github thread about it, but I haven’t heard any progress

    It worked for a long time until an update pretty recently.

    • Sean@infosec.pub
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 hours ago

      I might have adjusted the container to run with my local DNS, but all I’m doing for that service is:

         - Pi-Hole- Hostname:
             icon: /icons/pihole.png
             href: https://my.internal.domain/admin
             server: Hostname
             widget:
                type: pihole
                url: https://my.internal.domain/
                version: 6 # required if running v6 or higher, defaults to 5
                # Application Password:
                key: "<< REDACTED >>"
      

      Replaced my Pi’s hostname, internal domain, keys, etc, but I have this running for two Pi-Holes on my network.

    • Dagnet@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      16 hours ago

      I have it working but I do remember struggling a bit with it, involved getting a password somewhere, can’t check rn

  • gedaliyah@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    1 day ago

    This is a great platform, especially if you are just beginning in self-hosting. I don’t use it on my deployment “version 2.0” because I found it unnecessary once learning a little more about docker, etc. While I was using it, I loved it, and would definitely recommend it!

    • asbestos@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      1 day ago

      You’re mostly adding dozens of hyperlinks, like your own homapage, but some of them (30) can provide direct info from said integration, so a button for your Torrent Client also has the current download speed for example