meltedinhex/meltedinhex.github.io

GitHub: meltedinhex/meltedinhex.github.io

一个基于 Hugo 和 GitHub Pages 构建的安全技术博客站点源码,专注于恶意软件分析与逆向工程知识分享。

Stars: 0 | Forks: 0

# Melted in Hex — Hugo 站点 **[meltedinhex.com](https://meltedinhex.com/)** 的源码 —— 这是一个关于恶意软件分析、 逆向工程、威胁狩猎和 AI 安全的笔记本。使用 [Hugo](https://gohugo.io/) 和 [PaperMod](https://github.com/adityatelange/hugo-PaperMod) 主题构建,通过 **GitHub Pages** 免费部署,并配有免费的 Let's Encrypt 证书。 ## 结构 ``` . ├── hugo.toml # site config (title, menu, params, SEO) ├── content/ │ ├── posts/ # blog posts (Markdown) │ ├── about.md # About page │ ├── archives.md # /archives/ listing │ └── search.md # /search/ (client-side fuzzy search) ├── assets/css/extended/ │ └── theme-melted.css # custom "Molten Terminal" theme ├── layouts/ │ ├── _partials/home_info.html # custom hero terminal │ ├── _partials/footer.html # footer override │ └── partials/extend_head.html # custom fonts ├── static/ # served at site root │ ├── favicon*.png # favicons │ ├── CNAME # custom domain (meltedinhex.com) │ └── images/ │ ├── melted-in-hex.png # brand mark / apple-touch icon │ └── og-social.png # social share card ├── themes/PaperMod/ # theme (git submodule) └── .github/workflows/hugo.yml # auto-deploy to GitHub Pages ``` ## 本地运行 需要安装 Hugo Extended。 ``` hugo server ``` 打开 http://localhost:1313/ 。服务器会在编辑时自动实时刷新。 将静态站点构建到 `public/` 目录: ``` hugo --gc --minify ``` ## 编写新文章 ``` hugo new posts/my-new-post.md ``` 编辑 frontmatter,将 `draft: false` 设置好,然后发布: ``` git add -A git commit -m "Add new post" git push ``` 每次推送到 `main` 分支都会运行 `.github/workflows/hugo.yml`,它会使用 Hugo 进行构建并 自动发布到 GitHub Pages。 ## 部署 - **仓库:** `meltedinhex/meltedinhex.github.io`(必须保持公开才能使用免费的 Pages)。 - **Pages 源:** GitHub Actions(`Settings → Pages → Build and deployment`)。 - **自定义域名:** `meltedinhex.com`,通过 [`static/CNAME`](static/CNAME) 固定, 因此在每次部署后都会保留。DNS apex `A` 记录指向 GitHub 的 Pages IP (`185.199.108–111.153`);`www` 是指向 `meltedinhex.github.io` 的 `CNAME`。 - **HTTPS:** 强制启用,使用由 GitHub 管理的证书。
标签:DAST, Hugo, 个人博客, 云资产清单, 人工智能安全, 合规性, 恶意软件分析, 逆向工程, 防御加固, 静态网站