Wednesday, September 21, 2022

Show HN: Hurl, test APIs with plain text and libcurl https://ift.tt/RqIf4J8

Show HN: Hurl, test APIs with plain text and libcurl Hi, We're happy to release a new version of Hurl [1]. Hurl is a command line tool powered by curl, that runs HTTP requests defined in a simple plain text format: # Get home: GET https://example.org HTTP/1.1 200 [Captures] csrf_token: xpath "string(//meta[@name='_csrf_token']/@content)" # Do login! POST https://ift.tt/Nntq3ld X-CSRF-TOKEN: HTTP/1.1 302 Hurl can be used to get data like curl, or as an integration testing tool for JSON/XML HTTP apis / HTML content. Requests can be chained, and one can add asserts on response headers, cookies and body. For instance: GET https://ift.tt/cWB0oGm screencapability: low HTTP/1.1 200 [Asserts] jsonpath "$.validated" == true jsonpath "$.userInfo.lastName" == "Herbert" jsonpath "$.hasDevice" == false jsonpath "$.links" count == 12 jsonpath "$.order" matches /^order-\d{8}$/ You can see more samples in the documentation [2]. We've designed Hurl to be easily integrated in CI/CD (GitHub, GitLab), and its text format can be used as a documentation, commited in a repo etc... It's a single binary written in Rust, that is powered by libcurl under the hood, for a fast CLI tool for both devops and developers. In this new version, we've added the following improvements: - verbose output: add more color to Hurl --verbose output, and also added --very-verbose option to output request and response bodies - request options: command-line options such as --location (follow HTTP redirection), --verbose, --insecure etc... can now be applied to a particular request with an [Options] sections - and more, see here for a quick tout of 1.7.0 [3] [1] https://ift.tt/j5RA9gE [2] https://ift.tt/NRbag8i [3] https://ift.tt/3GRIDZJ Previous Show HN < https://news.ycombinator.com/item?id=28758226 > and < https://news.ycombinator.com/item?id=25655737 > https://ift.tt/j5RA9gE September 21, 2022 at 02:13PM

Show HN: Each country as a Pokemon, using Stable Diffusion https://ift.tt/AL0Gbzq

Show HN: Each country as a Pokemon, using Stable Diffusion https://ift.tt/In4reJf September 21, 2022 at 02:45AM

Show HN: Backwards automatic differentiation in ~100 lines of Python https://ift.tt/ASPsxRm

Show HN: Backwards automatic differentiation in ~100 lines of Python Inspired by the recent posts on implementing forwards mode automatic differentiation, here's an attempt at the backwards mode, which is often more efficient when your function depends on many variables but outputs just one value. https://ift.tt/TZkNp4D September 21, 2022 at 02:25AM

Show HN: TaskTXT, plain text task-timing notepad https://ift.tt/h4nJKDS

Show HN: TaskTXT, plain text task-timing notepad I built TaskTXT.com based on my experience timing my tasks. I found that committing to a task before I start helps with my focus, and guessing how long it will take, then timing it prevents me from wanting to give in to distractions because I'm "on the clock". Video Overview: https://www.youtube.com/watch?v=HOYO0c_D6w0 There's also a Mac app which you can download here: https://ift.tt/M0OjdZX Video overview of the Mac app: https://www.youtube.com/watch?v=qMs-V5v5gZY But I didn't want the tool to be distracting, so its based on plain text. That means the UI is very familiar and you can use it for generic notes in any structure you like. When you work in TaskTXT you are working directly on its data format, I made a video about this concept here: https://www.youtube.com/watch?v=kZdBgVZn5NI I think this tool is uniquely suited for programmers, so I'd be interested to hear any feedback about the product, or its viability as a business. https://tasktxt.com/ September 20, 2022 at 11:55PM

Show HN: Tigris – the open source developer data platform for your next app https://ift.tt/W94fBH2

Show HN: Tigris – the open source developer data platform for your next app Tigris is the first truly open source developer data platform with a simple yet powerful, unified API that spans search, event streaming, and transactional document store. It enables you to focus on building your applications and stop worrying about the data infrastructure. https://ift.tt/CxtRahB September 20, 2022 at 11:17PM

Tuesday, September 20, 2022

Show HN: CodeSnap – Create, manage & share beautiful images of code snippets https://ift.tt/3UIl4Ch

Show HN: CodeSnap – Create, manage & share beautiful images of code snippets https://codesnap.dev September 20, 2022 at 05:07PM

Show HN: The Raspberry Pi robot I'm using to ship other Raspberry Pis https://ift.tt/VqISu4n

Show HN: The Raspberry Pi robot I'm using to ship other Raspberry Pis https://twitter.com/Schappi/status/1572144366315261952 September 20, 2022 at 02:28PM

Show HN: 3D-Agent – AI that edits Blender scenes through the Python API https://ift.tt/K8jQOZb

Show HN: 3D-Agent – AI that edits Blender scenes through the Python API https://ift.tt/qVL1uH2 May 14, 2026 at 08:17PM