Hackernews
A Python-based CLI for working with Hacker News.
Install / Use
/learn @nicksergeant/HackernewsREADME
Hacker News
A Python-based CLI for working with Hacker News.
Requirements
Requirements can be installed directly by using:
pip install -r requirements.txt
Using hackernews
Help
hackernews.py -h
Cookies
By default, hackernews uses a built-in cookie system. It saves the file hackernews.cookie to the base directory. To disable the use of cookies:
hackernews.py <command> --no-cookies
When cookies are turned off, two additional requests are needed per-command to retrieve proper login info.
Saved items
Retrieve a user's latest saved items, and print the output as JSON (default):
hackernews.py saved -u 'username' -p 'password'
Retrieve all saved items, and print the output as XML (this might take a while):
hackernews.py saved --all -e xml -u 'username' -p 'password'
Help for the saved subcommand:
hackernews.py saved -h
Comments
Retrieve a user's comment threads, and print the output as JSON (default):
hackernews.py comments -u 'username' -p 'password'
Retrieve all comments, and print the output as XML (this might take a while):
hackernews.py comments --all -e xml -u 'username' -p 'password'
Don't show owner's comments (the logged-in user); this is useful for a feed of replies to your comments:
hackernews.py comments --no-owner -u 'username' -p 'password'
Help for the comments subcommand:
hackernews.py comments -h
Related Skills
node-connect
347.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
