← 返回
未分类

local hacker news index page, markdown news frontend

Convert Markdown-formatted Hacker News snapshots into a dark-themed, readable HTML news webpage without external dependencies.
将 Markdown 格式的 Hacker News 快照转为暗色主题、易读的 HTML新闻页面,无需外部依赖。
goog goog 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 363
下载
💾 0
安装
1
版本
#latest

概述

hnews — Markdown → 科技新闻网页

将 Markdown 格式的新闻列表(如 Hacker News 快照)转换为暗色主题的精美 HTML 网页。

使用方式

python scripts/hnews.py INPUT.md -o OUTPUT.html
  • INPUT.md — Markdown 新闻文件(支持 N. Title (source) 格式)
  • -o OUTPUT.html — 输出 HTML 路径(默认同目录下同名 .html
  • --title "自定义标题" — 页面标题(默认从文件推断)

Markdown 输入格式

# Hacker News Front Page

*Snapshot: 2026-03-29 ~14:35 CST*

1. [Title Here](https://example.com) (example.com)
   123 points | author | 45 comments

2. [Another Title](https://foo.com) (foo.com)
   67 points | someone | 8 comments

触发条件

用户说「生成新闻网页」「hnews」时使用

依赖

  • Python 3.6+(无第三方依赖)

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 05:51 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 80 📥 182,941
dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 686 📥 330,816
dev-programming

Mcporter

steipete
使用 mcporter CLI 直接列出、配置、认证及调用 MCP 服务器/工具(支持 HTTP 或 stdio),涵盖临时服务器、配置编辑及 CLI/类型生成功能。
★ 198 📥 68,170