Share your shave of the day!

  • walden@sub.wetshaving.socialM
    link
    fedilink
    arrow-up
    3
    ·
    10 days ago

    I took a quick look at sotd.nvim and I might be deterred by the json formatting. Json is great and everything, but that would be pretty tedious for me!

    Is there a json tool where you can copy in a spreadsheet and it’ll try and format it for you?

    • snooting@sub.wetshaving.social
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      10 days ago

      Something like this might work (caveat that I haven’t tried it)

      https://csvjson.com/

      You’d lose the blade count tracking though unless you tossed the json back into csv format after each shave.

      I wonder how difficult it would be to support csv as a format. Would that meet your needs, or would .xlsx be necessary?

      • snooting@sub.wetshaving.social
        link
        fedilink
        arrow-up
        2
        ·
        10 days ago

        I’m also vaguely considering a refactor to use a sqlite file instead of json. I think that would be a better experience, even though the file format is more opaque.

        Plus then I could in theory track my shaves in the database and do my own analytics!

      • walden@sub.wetshaving.socialM
        link
        fedilink
        arrow-up
        2
        ·
        10 days ago

        Well, I took another look, and I don’t think neovim is for me. I looked at installing one of the dependencies, and the dependency had dependencies, and I don’t know how to install any of it. Oh well!

        The spreadsheet I use is really easy. I can do it on my phone while I’m traveling, too.

        • snooting@sub.wetshaving.social
          link
          fedilink
          arrow-up
          2
          ·
          10 days ago

          Yeah, this is certainly geared more toward folks who are already using/familiar with neovim.

          If what you’re doing ain’t broke, don’t fix it! :)

      • walden@sub.wetshaving.socialM
        link
        fedilink
        arrow-up
        1
        ·
        10 days ago

        Right now I have all of my soaps, blades, etc. in a Google Sheets. I can copy/paste, or export to whatever they allow. Maybe I’ll tinker with it later.