frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: curlmin – Curl Request Minimizer

https://github.com/noperator/curlmin
6•noperator•16h ago
curlmin is a CLI tool that minimizes curl commands by removing unnecessary headers, cookies, and query parameters while ensuring the response remains the same. This is especially handy when copying a network request "as cURL" in Chrome DevTools' Network panel (Right-click page > Inspect > Network > Right-click request > Copy > Copy as cURL).

I use Chrome's "Copy as cURL" _a lot_ (so much, in fact, that I wrote https://github.com/noperator/sol partially just to help me auto-format long curl commands). I often have this problem where the copied curl command contains a bunch of garbage (namely, extra headers and cookies for tracking purposes) that isn't at all relevant to the actual request being made. After years of manually trimming out cookies in order to see which ones are actually necessary to maintain a stateful authenticated session, I finally decided to make a tool to automate the minification of a curl command.

curlmin will take a big ol' curl command like this:

  curl \
     -H 'Authorization: Bearer xyz789' \
     -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36' \
     -H 'Accept: text/html,application/xhtml+xml,application/xml' \
     -H 'Accept-Language: en-US,en;q=0.9' \
     -H 'Cache-Control: max-age=0' \
     -H 'Connection: keep-alive' \
     -H 'Upgrade-Insecure-Requests: 1' \
     -H 'Cookie: _ga=GA1.2.1234567890.1623456789; session=abc123; _gid=GA1.2.9876543210.1623456789' \
     -H 'Cookie: _fbp=fb.1.1623456789.1234567890' \
     -H 'Cookie: _gat=1; thisis=notneeded' \
     -b 'preference=dark; language=en; theme=blue' \
     'http://localhost:8080/api/test?auth_key=def456&timestamp=1623456789&tracking_id=abcdef123456&utm_source=test&utm_medium=cli&utm_campaign=curlmin'
And reduce it to the minimum necessary elements to satisfy the request:

  curl -H 'Authorization: Bearer xyz789' -H 'Cookie: session=abc123' 'http://localhost:8080/api/test?auth_key=def456'

AI Makes Students Dumb and What We Can Do About It

https://medium.com/@klaudel.b/how-ai-makes-students-dumb-and-what-we-can-do-about-it-eac690db46d5
1•jruohonen•2m ago•1 comments

Great Blue Norther of November 11, 1911

https://en.wikipedia.org/wiki/Great_Blue_Norther_of_November_11,_1911
1•gametorch•6m ago•0 comments

Chatty I/O antipattern (2022)

https://learn.microsoft.com/en-us/azure/architecture/antipatterns/chatty-io/
2•motorest•8m ago•0 comments

ScienceDirect AI

https://www.elsevier.com/products/sciencedirect/sciencedirect-ai
1•jruohonen•16m ago•1 comments

Farewell Economy 7, a Casualty of the Long Wave Switch-Off

https://hackaday.com/2025/04/10/farewell-economy-7-a-casualty-of-the-long-wave-switch-off/
2•austinallegro•17m ago•0 comments

Builder.ai did not "fake AI with 700 engineers"

https://blog.pragmaticengineer.com/builder-ai-did-not-fake-ai/
4•todsacerdoti•18m ago•0 comments

Synthesis of hafnium carbide via one-step selective laser reaction pyrolysis

https://ceramics.onlinelibrary.wiley.com/doi/10.1111/jace.20650
1•PaulHoule•18m ago•0 comments

Lisp Machine

https://en.wikipedia.org/wiki/Lisp_machine
2•doener•20m ago•1 comments

How to Write the Worst Possible Python Code (Humor)

https://effective-programmer.com/how-to-write-the-worst-possible-python-code-8c6e49816e90?sk=d06d4241ce97a51a969fbce67070f8ba
1•naveed125•21m ago•0 comments

The most reliable AI agent that works – where Claude, Gemini, and o3 fail

https://substack.recursal.ai/p/the-worlds-most-reliable-ai-agent
1•djshah•23m ago•0 comments

AI agent startups at Y Combinator's Demo Day for its first-ever spring cohort

https://www.businessinsider.com/y-combinator-yc-demo-day-spring-ai-agent-startups-2025-6
1•aspenmayer•23m ago•1 comments

Roll: Reinforcement Learning Optimization for Large-Scale Learning

https://github.com/alibaba/ROLL
1•robertnishihara•24m ago•0 comments

The Talented Ms. Highsmith

https://yalereview.org/article/working-for-patricia-highsmith
2•Caiero•25m ago•0 comments

How Are Students Using Generative AI in UK Universities?

https://markcarrigan.net/2025/05/30/how-are-students-using-generative-ai-in-uk-universities/
1•jruohonen•26m ago•1 comments

Cure Dolly's Japanese Grammar Lessons

https://kellenok.github.io/cure-script/
2•agnishom•26m ago•0 comments

Show HN: I'm a student built an AI to chat with YouTube videos

https://www.wiyomi.com/explore
2•adrinant•27m ago•0 comments

China Moves Forward on Next-Generation 400 Km/H High-Speed Rail

https://www.newsweek.com/china-high-speed-rail-next-generation-2085191
2•decimalenough•28m ago•0 comments

The z80 technique reveals the source code for Atlassian's 'rovo' AI assistant

https://ghuntley.com/atlassian-rovo-source-code/
1•ghuntley•28m ago•0 comments

Embedding Benchmark for Retrieval

https://huggingface.co/spaces/embedding-benchmark/RTEB
1•fzliu•34m ago•0 comments

New video model Seedance Beat Veo3 is now available for free. Try it now

https://seedance.co
1•gravitywp•37m ago•0 comments

Is Google about to destroy the web?

https://www.bbc.com/future/article/20250611-ai-mode-is-google-about-to-change-the-internet-forever
2•paulpauper•39m ago•0 comments

The End of Lead

https://worksinprogress.co/issue/the-end-of-lead/
2•paulpauper•39m ago•0 comments

What Leaders Need to Understand About AI with Nobel Laureate Geoffrey Hinton [video]

https://www.youtube.com/watch?v=32f9MgnLSn4
1•lawrenceyan•45m ago•0 comments

Clothes Swap and Virtual Try-On

https://aiactionfigure.cc
1•mrguo•49m ago•0 comments

Caltrain official lived in secret apartment built illegally inside train station

https://sfstandard.com/2025/06/12/caltrain-employee-secret-apartment-burlingame-station-photos/
10•panic•50m ago•2 comments

LibreOffice drops support for Windows 7, 8 and 8.1

https://www.neowin.net/news/libreoffice-narrows-gap-with-microsoft-office-in-258-beta-1/
2•bundie•52m ago•0 comments

APL Style: Patterns/Anti-Patterns (2017)

https://sway.cloud.microsoft/b1pRwmzuGjqB30On
1•todsacerdoti•1h ago•0 comments

SQLite Date and Time Functions

https://www2.sqlite.org/cvstrac/wiki?p=DateAndTimeFunctions
1•1vuio0pswjnm7•1h ago•0 comments

In San Francisco, Waymo Has Now Bested Lyft. Uber Is Next

https://underscoresf.com/in-san-francisco-waymo-has-now-bested-lyft-uber-is-next/
2•jerlam•1h ago•0 comments

Why I Joined Doge

https://podcasts.apple.com/us/podcast/why-i-joined-doge/id290783428?i=1000712821405
2•rgbrgb•1h ago•0 comments