News for hackers. Stuff that matters.

Show HN: Chatbang – Access ChatGPT from the terminal without an API key

https://github.com/ahmedhosssam/chatbang

How does it work? Chatbang works by scraping ChatGPT's website. It opens ChatGPT on a headless session when you execute Chatbang and take your prompt and paste it in ChatGPT's prompt area and execute that prompt, then it waits for the response and copies it as a markdown format and then render it in the terminal.
( 3 comments | 2 points | on HN )
Re:Show HN: Chatbang – Access ChatGPT from the terminal with... by thehappypm on Sunday August 17, 2025 @03:25PM (#44934166)
This is some cool hacker stuff, but I imagine it’s against the terms of service
Re:Show HN: Chatbang – Access ChatGPT from the terminal with... by nojs on Sunday August 17, 2025 @09:58PM (#44936666)
You mean using a headless browser to interact with a website designed for humans? Why would that be against their terms of service ;)
Re:Show HN: Chatbang – Access ChatGPT from the terminal with... by skyzouwdev on Sunday August 17, 2025 @06:34PM (#44935537)
Clever hack. Being able to call ChatGPT straight from the terminal without messing with API keys is super convenient. Curious how stable it’ll be long term if OpenAI changes their frontend though.