1. 1

    Good job with organice! I have looked for such a project for quite some time. However, even if it looks great (and has mobile/web apps), it still misses one element from my flow: there is no git backend. Are there any plans to add it?

    1. 2

      Thank you for your kind words 🙏

      organice already features a huge amount of synchronization options: Dropbox, Google Drive, WebDAV (which opens the door to ownCloud, Nextcloud and Seafile, but also self hosted dedicated WebDAV servers like Apache or Nginx).

      For that, synchronization is build using the strategy pattern which is consumed here[1]. Implementing a new backend implies implementing 8 functions[2]. For Dropbox, it’s about 120 LOC JavaScript.

      I’ll happily merge any PR enabling a different backend and support the development of it and will test it if I have access to a compatible backend.

      As for me, I have no plans to build a Git client in the browser as this would be a huge undertaking with uncertain benefits. Personally, I’m happy synchronizing to storage like Dropbox wherein my Org files are sitting in a Git repository. Then, I can properly manage them from a proper Git client (in Emacs).

      1. https://github.com/200ok-ch/organice/blob/master/src/actions/sync_backend.js
      2. https://github.com/200ok-ch/organice/blob/master/src/sync_backend_clients/dropbox_sync_backend_client.js#L159-L166
      1. 2

        Got it, however, there are some existing Git clients for browser/node environment like Isomorphic-Git. [1] I’d be interested to add such to the organice, test it by dogfooding it. ;)

        Regarding other features: I have reviewed the current capabilities and they represent very good coverage of my workflow. Almost fitting my sweet spot. ;) Additionally, I am a GSuite user, so GDrive fits perfectly. However, any Linux-based client for it is an abomination, mildly put (paid/free, doesn’t matter), and I do not have any incentive to use Dropbox.

        1. https://github.com/isomorphic-git/isomorphic-git
        1. 2

          From a quick glance, isomorphic-git looks nice! I’d be happy to support you if you have any questions whilst creating a PR for integration.

          NB: I’ve heard people use GDrive as a back-end for NextCloud[1]. I have no experience with that, but find the NextCloud Linux client itself quite good.

          1. https://docs.nextcloud.com/server/stable/admin_manual/configuration_files/external_storage_configuration_gui.html?highlight=google#available-storage-backends
    1. 1

      From what I’ve seen most object stores other than the big 3 don’t actually replicate across data centers.

      1. 1

        Yes that feature only seems to be available from the big 3 - but even there is it is not the default and you pay a little extra for it. Azure have a lot of options but I’m not completely clear in my mind what the usecase for this is

        1. 2

          I can help - if you say that you do not want to replicate, there is a special storage tier for that: S3 One Zone - Infrequent Access and with that 1 TB in eu-central-1 (Frankfurt) costs you ~11 USD per month which is as cheap as OVH from your table and you are comparing apples to apples.

      1. 0

        Please tell me this is a parody.

        1. 1

          Kinda, as it is a small side project that I build to experiment with various tech, however, I am glad it cheered up your day. :D

          If you could be more specific, what is not likable I’d be grateful.

        1. 32

          It took until I reached the end of the article for me to realize that the title wasn’t sarcastic. It’s not the first time I’ve seen it but it’s a reminder that this feature is simultaneously fantastic and horrifying.

          1. 5

            I didn’t even realize until I read your comment. I skimmed it, saw the screenshot of Takeout, and was like “ah yes, another guide for moving off of Google services…” and closed the tab.

            1. 2

              Not sure why are you calling this as horrifying. Is it because google have access to all your data? In Btwn I’m the author of this blog.

              1. 5

                Is it because google have access to all your data

                Yes but in particular the location history is an extremely detailed log of your activity. You could imagine a dishonest corporation or government misusing this data to suppress dissidents or manipulate individuals.

                1. 4

                  Mobile phone companies had that data for a decade longer than Google. Don’t think that if we got Google to stop collecting it somehow the problem of tracking has been solved.

                  1. 2

                    Regarding the detailed log of your activity, have a look at this video from Forbrukerrådet Norge:

                    “Google manipulates users into constant tracking” https://www.youtube.com/watch?v=qIq17DeAc1M

                  2. 3

                    A more accurate title would have been “Thank you Google for sharing some of my data with me.” It’s horrifying because it gives a glimpse of how much power they hold over their users, and how easily this power can be abused.

                1. 2

                  Working on a tool which is effectively a layer on top of an Amazon service feels like a risky business. If you demonstrate that the need exists, what’s to stop them waking up tomorrow to quickly build an in-house duplicate?

                  1. 2

                    Nothing. ;) If AWS will build something better, that’s a great thing - way to go!

                    It’s not our primary business. We would love to have such facilities in place already. We build that tool in order to ease the pain regarding maintaining a pile of templates - for our convenience.

                  1. 2

                    Endless repetitions – we need to repeat constantly when writing it. It is error-prone as well as hard to maintain. YAML and JSON flavors do not support any fragments or smaller templating engine, so it is difficult to reuse and work in line with DRY (don’t repeat yourself) principle.

                    Is this something you can get with node anchors?

                    1. 1

                      Great question! I believe you can’t, I’ve tried while ago.

                      TL;DR: CloudFormation does not support that, see here: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-formats.html - it does not support hash merges, effectively you cannot use anchors.