
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
dlhn is a Python CLI script to download my comments and submissions from the Hacker News API and generate a static HTML archive with a Jinja2 template
.. image:: https://img.shields.io/pypi/v/dlhn.svg :target: https://pypi.python.org/pypi/dlhn
.. image:: https://img.shields.io/travis/westurner/dlhn.svg :target: https://travis-ci.org/westurner/dlhn
.. .. image:: https://readthedocs.org/projects/dlhn/badge/?version=latest .. :target: https://dlhn.readthedocs.io/en/latest/?badge=latest .. :alt: Documentation Status
.. .. image:: https://pyup.io/repos/github/westurner/dlhn/shield.svg .. :target: https://pyup.io/repos/github/westurner/dlhn/ .. :alt: Updates
dlhn is a Python CLI script to download my comments and submissions from the Hacker News API and generate a static HTML archive with a Jinja2 template
Install dlhn with pip:
.. code:: bash
pip install dlhn
# pip install -e git+https://github.com/westurner/dlhn#egg=dlhn
Call dlhn:
.. code:: bash
dlhn -u dlhntestuser -o index.html --expire-newerthan 14d
Optionally, create a repo for e.g. GitHub Pages and add a Makefile
:
.. code:: makefile
# hnlog Makefile
USERNAME:=dlhntestuser
default: backup
install:
pip install -e git+https://github.com/westurner/dlhn#egg=dlhn
backup:
@# items with a cachetime newer than 14d ago may need to be pulled again
@# because they may not be locked yet (cachetime != item_time)
dlhn -u '$(USERNAME)' -o index.html --expire-newerthan 14d
backup-nocache:
dlhn -u '$(USERNAME)' -o index.html
commit:
git add ./index.html ./index.html.json ./dlhn.sqlite && \
git commit -m ":books: Updated index.html, index.html.json, and dlhn.sqlite"
push:
git push
all: backup commit push
And pass USERNAME as an arg when calling make
:
.. code:: bash
make all USERNAME=dlhntestuser
Hacker News Guidelines: https://news.ycombinator.com/newsguidelines.html
Hacker News API docs: https://github.com/HackerNews/API
dlhntestuser <https://news.ycombinator.com/user?id=dlhntestuser>
__
BSD License
dlhn archives pubicly available comments and submissions from the Hacker News API for noncommercial use to make searching one-page with 'Ctrl-F' easy.
@westurner <https://github.com/westurner>
_FAQs
dlhn is a Python CLI script to download my comments and submissions from the Hacker News API and generate a static HTML archive with a Jinja2 template
We found that dlhn demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.