{"id":21077684,"url":"https://github.com/loo2k/beian","last_synced_at":"2025-12-29T15:16:13.649Z","repository":{"id":67910265,"uuid":"548941551","full_name":"loo2k/beian","owner":"loo2k","description":"快速生成一个符合备案审核条件的静态网站（填充从网络上自动抓取的内容）用于工信部的审核","archived":false,"fork":false,"pushed_at":"2022-10-12T12:55:11.000Z","size":216,"stargazers_count":15,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T04:11:27.935Z","etag":null,"topics":["beian","miit","static-site","static-site-generator","template"],"latest_commit_sha":null,"homepage":"https://loo2k.github.io/beian/","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/loo2k.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":"2022-10-10T12:30:37.000Z","updated_at":"2024-12-23T06:15:46.000Z","dependencies_parsed_at":"2023-03-23T09:31:51.245Z","dependency_job_id":null,"html_url":"https://github.com/loo2k/beian","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/loo2k/beian","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loo2k%2Fbeian","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loo2k%2Fbeian/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loo2k%2Fbeian/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loo2k%2Fbeian/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/loo2k","download_url":"https://codeload.github.com/loo2k/beian/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loo2k%2Fbeian/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28117570,"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","status":"online","status_checked_at":"2025-12-29T02:00:07.021Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["beian","miit","static-site","static-site-generator","template"],"created_at":"2024-11-19T19:37:48.677Z","updated_at":"2025-12-29T15:16:13.632Z","avatar_url":"https://github.com/loo2k.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 网站备案审核模板\n\n[![备案模板预览](./screenshots/beian.jpg)](https://loo2k.github.io/beian/)\n\n这里的网站备案指的是 [ICP 备案和公安备案](https://cloud.tencent.com/product/ba)，备案过程中工信部会对你的网站进行审核。\n\n在更早之前，你只需要放一个网站维护中的界面即可通过审核。但是，工信部的审核变得越来越严格，需要审核你的网站名称、网站内容以及是否悬挂备案号等信息。\n\n这个仓库的目标是快速生成一个符合备案审核条件的静态网站（填充从网络上自动抓取的内容）用于工信部的审核。\n\n## 特色功能\n\n- 📦 开箱即用 仅三行配置\n- 🌐 随机内容 避免重复内容\n- ⚡ 纯静态站点 部署简单成本低\n- 👁️‍🗨️ 经过管局审核通过的模板 更高通过率\n\n## 如何使用\n\n### 克隆项目代码\n\n```sh\ngit clone https://github.com/loo2k/beian.git\n```\n\n### 安装项目依赖\n\n```sh\nnpm install\n```\n\n_请确保你已经安装了 [Nodejs](https://nodejs.org/) 且版本号大于或等于 `14`_\n\n### 修改网站配置信息\n\n编辑 `nuxt.config.ts` 文件的 `appConfig` 属性，修改为自己需要备案的网站信息\n\n```ts\n{\n  // ....\n  appConfig: {\n    title: '输入网站的备案名称',\n    description: '输入网站的描述',\n    beian: '输入网站的备案号'\n  }\n}\n```\n\n### 生成静态文件\n\n```sh\nnpm run generate\n```\n\n### 发布上线\n\n将 `./dist` 目录下的文件打包上传到你的站点即可，[查看演示效果](https://loo2k.github.io/beian/)\n\n## 进阶玩法\n\n### 拉取不同的数据\n\n生成静态文件的时候会实时从[掘金热榜/前端](https://juejin.cn/frontend?sort=three_days_hottest)拉取最新的 10 篇文章作为站点内容。\n\n你可以通过修改 `server/api/articles/index.ts` 或 `server/api/articles/[id].ts` 来改变抓取的数据源。\n\n### 技术框架\n\n- [Vue3](https://vuejs.org/)\n- [Vite](https://vitejs.dev/)\n- [Nuxt3](https://v3.nuxtjs.org/)\n\n## 贡献代码\n\n当前模板只通过了广东管局的审核（2022年10月），仅代表在广东范围内是可用的。随着时间的迁移审核的政策会不断的变化。\n\n作者无法尝试所有省的审核流程，如果你所在的管局有不同的审核要求，可以通过 PR 提交响应的审核内容。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floo2k%2Fbeian","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Floo2k%2Fbeian","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floo2k%2Fbeian/lists"}