6 comments

  • deltaknight 1 hour ago
    This looks super cool, I’ve played around with making custom API clients/executers in multiple teams now and am glad to see something that I might actually use instead of re-rolling my own each time.

    One thing I’ve previously found very useful is the ability to select multiple ‘environments’ at once (I’ve previously split this in to e.g. environment+session or environment+user before). The ability to merge a set of variables together lets you define variables for _where_ I’m calling (local, staging, etc), but also who/what I’m calling (specific users, types of profiles/packages (how does this api behave if I switch between a free vs paid licence), etc).

    Also echoing another comment, the blog linked gives me a 404 page now. Additionally, the GitHub for this projects seems have a ton of blank issues saying “help yapi made me too productive”? Rather odd, I probably won’t be running this project directly anytime soon…

  • bbkane 2 hours ago
    Looks neat! I highly recommend showcasing the interactivity with a few GIFs in your README. You can script them with https://github.com/charmbracelet/vhs
  • Celeo 1 hour ago
    I'm getting a 404 with the submitted link, but am able to view the homepage at https://yapi.run/.
  • dhruv3006 1 day ago
    Great to see this space so active !

    Building something similar : https://voiden.md

    • Terretta 3 hours ago
      Love this.

      As a literate code aligned shop, we wish more tools adopted these values for knowledge-base-adjacent tasks.

      // Love OP's CLI too!

    • jamiepond 19 hours ago
      This is a really interesting approach! How did you end up deciding on executable markdown as opposed to other approaches?
      • dhruv3006 11 hours ago
        well - the point is. that we wanted to be standards compliant - and want to use existing technologies without actually reiventing a new standard or a proprietary format. (like some of the other api clients took).

        and moreover we had this fundamental idea that documentation and testing should be in a single source of truth to avoid documentation drift (not just the spec drift).

        And hence we came up with the idea of using markdown as the baseline and doing everything around it.

  • honzajde 2 hours ago
    Very nice. Just did not find the spec/format for the config file.
  • avtar 1 hour ago
    Hurl's another great option for this https://hurl.dev/