{"id":19602892,"url":"https://github.com/darkyzhou/blog-house","last_synced_at":"2025-04-27T17:32:29.972Z","repository":{"id":45242271,"uuid":"343324985","full_name":"darkyzhou/blog-house","owner":"darkyzhou","description":"基于 SvelteKit 框架的静态博客生成器 Static Site Generator based on SvelteKit","archived":true,"fork":false,"pushed_at":"2024-07-02T15:59:24.000Z","size":75649,"stargazers_count":12,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T02:01:37.440Z","etag":null,"topics":["blog","css","jamstack","javascript","ssg","svelte","sveltekit"],"latest_commit_sha":null,"homepage":"https://darkyzhou.net","language":"Svelte","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/darkyzhou.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-01T07:20:15.000Z","updated_at":"2025-04-04T15:42:31.000Z","dependencies_parsed_at":"2024-11-11T09:39:52.427Z","dependency_job_id":null,"html_url":"https://github.com/darkyzhou/blog-house","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":"sveltejs/sapper-template-rollup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkyzhou%2Fblog-house","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkyzhou%2Fblog-house/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkyzhou%2Fblog-house/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkyzhou%2Fblog-house/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darkyzhou","download_url":"https://codeload.github.com/darkyzhou/blog-house/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251178044,"owners_count":21548154,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blog","css","jamstack","javascript","ssg","svelte","sveltekit"],"created_at":"2024-11-11T09:26:48.852Z","updated_at":"2025-04-27T17:32:24.961Z","avatar_url":"https://github.com/darkyzhou.png","language":"Svelte","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg width=\"300\" src=\"https://github.com/blog-house/blog-house/raw/master/logo.png\" alt=\"Blog house logo\"\u003e\n\u003c/p\u003e\n\u003ch2 align=\"center\"\u003eBlog House\u003c/h2\u003e\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"GitHub\" src=\"https://img.shields.io/github/license/blog-house/blog-house\"\u003e\n  \u003cimg alt=\"GitHub top language\" src=\"https://img.shields.io/github/languages/top/blog-house/blog-house\"\u003e\n  \u003cimg alt=\"GitHub release (latest SemVer)\" src=\"https://img.shields.io/github/v/release/blog-house/blog-house\"\u003e\n  \u003cimg alt=\"GitHub Release Date\" src=\"https://img.shields.io/github/release-date/blog-house/blog-house\"\u003e\n  \u003cimg alt=\"GitHub Repo stars\" src=\"https://img.shields.io/github/stars/blog-house/blog-house?style=social\"\u003e\n\u003c/p\u003e\n\n### 简介\n\n[Blog House](https://github.com/blog-house/blog-house) 是一个基于 Web 前端框架 [SvelteKit](https://kit.svelte.dev/) 的静态博客生成器，后者基于 [Svelte](https://svelte.dev/)。\n\n### 特色\n\n- **SSG + SPA 混合模式**。用户首次打开网站时会直接下载静态 html 展示页面，之后会自动加载 SvelteKit 运行时，[它能够预判用户的访问动作，自动预加载响应的网页数据](https://kit.svelte.dev/docs#anchor-options-sveltekit-prefetch)。当用户点击文章之后，SvelteKit 会在 SPA 的模式下立刻渲染出网页，而不是像传统的 SSG 博客那样需要浏览器再去下载 html 等，大大提升用户体验。\n- **Algolia 适配**。提供基于 [Algolia](https://algolia.com) 的搜索功能，且索引上传、同步工作完全全自动。\n- **Giscus 适配**。提供基于 [Giscus](https://giscus.app) 的评论区功能，用户使用 GitHub 账号登录即可发表评论。\n- **自动图片优化**。博客中的所有图片都会被自动优化，转换为 AVIF、webp、progressive JPEG 格式，利用 `\u003cpicture\u003e` 元素指示浏览器按需加载。同时自动加入 `loading=lazy` 来启动异步图片加载。\n- **RSS、SEO、Sitemap支持**。自动生成 `rss.xml`、`sitemap.xml` 等。\n\n### Demo\n\n请见作者的个人博客：[Darky's Blog](https://darkyzhou.net)。\n\n### 安装\n\n- Fork\n- 修改 `config` 文件夹下的配置文件\n- 参考 `darkyzhou-blog` 分支\n\n### 关于名称\n\n为什么本项目叫 Blog House？其实 Blog House 指的是一个很小众的 EDM（电子舞曲） 流派，它脱胎于 French House，在 Bass 的使用上拥抱 Electro，听起来总是有一股电气打击的感觉。\n\n不过对于 House 音乐而言，本人其实更喜欢 Deep House，它们节奏更加舒缓、意境颇为深远。这里推荐一下 Haywyre 的《Do You Don't You》。\n\n### 致谢\n\n自带的背景图和背景视频来自艺术家 [Friendly Robot](https://www.artstation.com/friendlyrobot)。\n\n### 发表 issue\n\n如果你有好的 good idea，欢迎[发表 issue](https://github.com/blog-house/blog-house/issues/new)！\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkyzhou%2Fblog-house","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarkyzhou%2Fblog-house","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkyzhou%2Fblog-house/lists"}