Nanogram is made for the privacy conscious enthusiast who wants total control of their data. Create a small scale private social media platform for family and friends.

The onion service and web server are hosted directly on your phone via termux.

User access can be granted by generating a magic invite link in the server manger. These are one time use links that allow registration to the service.

Application Demo here

Install Demo here

Source code here

    • hereforawhile@lemmy.mlOP
      link
      fedilink
      arrow-up
      4
      ·
      2 hours ago

      It probably can run on a standalone machine but this was made and tested specifically to run off Android to be more accessible. I may not always have a computer with me but I probably am carrying my phone.

      So far in testing I am getting stable results even hosting on a cellular connection.

    • utopiah@lemmy.ml
      link
      fedilink
      arrow-up
      3
      ·
      2 hours ago

      Resistance to power outage? Ins’t a phone just a server without a keyboard and with an integrated UPS? /s

      • sqgl@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        2 hours ago

        How much procesing could it handle though? If it is only a handful of friends then what makes it better than Signal?

        Also, cheap second hand laptops are a thing.

        I want to believe but I wonder if there is a practical use beyond “this would be cool” (and I do think it is).

        • utopiah@lemmy.ml
          link
          fedilink
          arrow-up
          2
          ·
          2 hours ago

          much procesing could it handle though? If it is only a handful of friends then what makes it better than Signal?

          I don’t actually know the project but I think your mindset here is (and correct me if I’m wrong) “Does it scale?” whereas the mindset of this project, based on the name itself and the “small scale” in the description, is “no, it does not scale and that’s A-OK”.

          • hereforawhile@lemmy.mlOP
            link
            fedilink
            arrow-up
            3
            ·
            1 hour ago

            The server backbone gunicorn is set with 2 workers and 8 threads ( this can be modified to more or less )

            But it should handle around 15 - 20 simultaneous connections smoothly. Now, if everyone is uploading all at once would definitely make it sweat.

            Once the server recieves the photo is compresses is down to 100-200kb so all retrievals are pretty light weight.

            Pagination really lightens the load as well. By limiting it to 10 photos per page, the server only needs to send about 1.5 mb - 2.0mb to load in a whole page of photos.

            • utopiah@lemmy.ml
              link
              fedilink
              arrow-up
              1
              ·
              22 minutes ago

              Thanks for sharing and the clarifications. I do think both the philosophy behind this and the technological choices are right but it’s also true that “How many people?” can it handle is important for people who want to actually try and onboard others. It’s one thing to try alone but as long as we ask others to join, knowing what the limits are makes everybody more understanding.

            • sqgl@sh.itjust.works
              link
              fedilink
              arrow-up
              1
              ·
              31 minutes ago

              Sounds good. I would love to get an activist group I run off Facebook. There are hundreds of members but traffic is less than what you describe.

              The problem for me is that most of the members are technically illiterate so my next question is: how sophisticated do the clients need to be?

    • hereforawhile@lemmy.mlOP
      link
      fedilink
      arrow-up
      11
      ·
      15 hours ago

      It’s hosted as a onion service on the darknet.

      I don’t really like the term darknet though…it’s really just a free accessable network stack.

      I guess in this context it is underground because it’s a decentralized self hosted private service that doesn’t need anything but a internet connection. (And Tor)

      • Helix 🧬@feddit.org
        link
        fedilink
        English
        arrow-up
        3
        ·
        6 hours ago

        This sentence shows me I shouldn’t trust what you upload yet. Usually software developers put everything on a repository which they can then clean up later if a history rewrite is needed.

        • hereforawhile@lemmy.mlOP
          link
          fedilink
          arrow-up
          2
          ·
          2 hours ago

          It’s just as reviewable on the paste as it is on a code repo.

          Its more private for me to share as a paste. I don’t really want to tie my lemmy account to my repo identity.