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

well done! wouldn't it nice if something like this existed in Lua as well (or maybe it does and I haven't seen it yet)?

I've built a data transforming tool powered by Lua[1] and would definitely like to benefit from an general purpose api/library like Lute.

1: https://github.com/dhuan/dop


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.


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


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: