Hacker Newsnew | past | comments | ask | show | jobs | submit | dhuan_'s commentslogin

I have been working on two opensource tools:

https://dhuan.github.io/mock/latest/examples.html

^Command line utility that lets you build APIs with just one command.

https://github.com/dhuan/dop

^JSON/YAML manipulation with AWK style approach.


For me it has to be mock. With it I can create and automate APIs easily.

https://dhuan.github.io/mock/latest/examples.html


I agree, even trivial tasks require us to go back to jq's manual to learn how to write their language.

this and other reasons is why I built: https://github.com/dhuan/dop


mock, an API creation and testing utility. Any feedback is welcome.

https://dhuan.github.io/mock/latest/examples.html


mock, an API creation and testing utility. Any feedback is welcome!

https://dhuan.github.io/mock/latest/examples.html


I’ve found tools like Charles really useful for understanding what’s happening on the wire. When I need something more repeatable (tests, offline work), I usually reach for a mock server instead. I ended up building a small one for my own use and later open-sourced it:

https://dhuan.github.io/mock/latest/examples.html


mock, an API creation and testing utility. Any feedback is welcome!

https://dhuan.github.io/mock/latest/examples.html


Great article. In addition, updating your mocking code can often be time-consuming. To try to make this easier, I built mock[1], which streamlines the process of setting up mock services for testing.

https://dhuan.github.io/mock/latest/examples.html


mock, an API creation and testing utility. Any feedback is welcome!

https://dhuan.github.io/mock/latest/examples.html


It's also possible create an HTTP service that acts as a wrapper to yt-dlp with just a few lines of shell, I created this example in the following link:

https://dhuan.github.io/mock/latest/examples.html#youtube-do...


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

Search: