Share your shave of the day!

  • walden@sub.wetshaving.socialM
    link
    fedilink
    arrow-up
    3
    ·
    9 hours 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
      1
      ·
      edit-2
      6 hours 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?

      • walden@sub.wetshaving.socialM
        link
        fedilink
        arrow-up
        1
        ·
        2 hours 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.

      • snooting@sub.wetshaving.social
        link
        fedilink
        arrow-up
        1
        ·
        5 hours 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!