Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: Yapi – FOSS terminal API client for power users (yapi.run)
50 points by jamiepond 5 days ago | hide | past | favorite | 19 comments
I shared a previous version of yapi a few months ago in the comments section of a post talking about the insanity of Postman being 'down'. yapi has developed into a more mature project since then!

https://github.com/jamierpond/yapi

Still very early, but it makes me much more productive vs Postman, Bruno, Insomnia, etc.

If youre a nvim/tmux culture human, you might like this!





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…


Great to see this space so active !

Building something similar : https://voiden.md


This is a really interesting approach! How did you end up deciding on executable markdown as opposed to other approaches?

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.


Is there a way to generate code from these specs? Perhaps via OpenAPI, Smithy, something like that?

By code you mean voiden markdown, right ? We do have a OpenAPI schema feature where we support to generate voiden files right now.

We have it in beta now : https://voiden.md/download (Only Linux and Mac)

And in the future we also plan to support graphQL but not smithy for now.


Well, no. I mean something I can stick in my actual code to ensure it matches the spec, be it through validation, strongly typed interfaces, unit tests or some other mechanism.

Also, while a nice API document is a godsend (and sadly often missing in practice), a way to generate the consuming side of the API (again via various mechanisms) is also a very useful thing.

Re-reading the page, perhaps I got it wrong and it works the other way around? Voiden uses e.g. OpenAPI files and verifies it's still compliant with them? That would work, although it's a bit of a double effort.. still, useful in many cases.


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!


Thank youuu !

We are open to feedback : https://github.com/VoidenHQ/feedback


I love file-based API clients. I think it’s only time to define a standard file format that all or most IDEs, editors and clients support. Fragmentation between IntelliJ, VSCode and any other tool makes the approach less useful as it could be.

Yes! Exactly :) That is my plan.

I'm getting a 404 with the submitted link, but am able to view the homepage at https://yapi.run/.

Thank you for commenting about the 404. I'm serving the blog using a [custom package that serves your blog from GitHub hosted mark down](https://github.com/jamierpond/madea-blog-core) which was getting it's debut. There was a bug in caching requests to GitHub.

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


Anyone else getting 404 when clicking the title[0] ?

[0]: https://yapi.run/blog/what-is-yapi


Very nice. Just did not find the spec/format for the config file.

Page currently shows

    404 This page could not be found.

Hurl's another great option for this https://hurl.dev/



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: