{"id":27057330,"url":"https://github.com/help660vip/home-help660.github.io","last_synced_at":"2026-02-22T20:03:55.649Z","repository":{"id":276659088,"uuid":"808892039","full_name":"help660vip/home-help660.github.io","owner":"help660vip","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-01T04:55:38.000Z","size":34701,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-10-26T14:44:22.230Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Vue","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/help660vip.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2024-06-01T04:53:37.000Z","updated_at":"2024-06-01T05:01:47.000Z","dependencies_parsed_at":"2025-02-09T17:48:21.658Z","dependency_job_id":null,"html_url":"https://github.com/help660vip/home-help660.github.io","commit_stats":null,"previous_names":["help660vip/home-help660.github.io"],"tags_count":28,"template":false,"template_full_name":null,"purl":"pkg:github/help660vip/home-help660.github.io","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/help660vip%2Fhome-help660.github.io","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/help660vip%2Fhome-help660.github.io/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/help660vip%2Fhome-help660.github.io/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/help660vip%2Fhome-help660.github.io/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/help660vip","download_url":"https://codeload.github.com/help660vip/home-help660.github.io/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/help660vip%2Fhome-help660.github.io/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29725297,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-22T19:57:12.410Z","status":"ssl_error","status_checked_at":"2026-02-22T19:54:50.710Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2025-04-05T11:18:47.970Z","updated_at":"2026-02-22T20:03:55.608Z","avatar_url":"https://github.com/help660vip.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"简体中文 | [English](./README_EN.md)\n\n\u003cp\u003e\n\u003cstrong\u003e\u003ch2\u003e無名の主页\u003c/h2\u003e\u003c/strong\u003e\n简单的小主页，原来的看够了，重新弄了一个\n\u003c/p\u003e\n\n![無名の主页](/screenshots/main.jpg)\n\n\u003e 主页的 Logo 字体已经过压缩，若用本站 Logo 以外的字母会变回默认字体，这里是 [完整字体](https://file.imsyy.top/font/Other/Pacifico-Regular.ttf)，若无法下载，可将字体目录下的 `Pacifico-Regular-all.ttf` 进行替换\n\n### 👀 Demo\n\n\u003e 由于 CDN 缓存原因，查看最新效果可能需要 `Ctrl` + `F5` 强制刷新浏览器缓存\n\n- [無名の主页](https://www.imsyy.top)\n- [無名の主页 - Dev](https://home-imsyy.vercel.app)\n- [無名の主页 - 备用线路](https://home-5iw.pages.dev)\n\n### 🎉 功能\n\n- [x] 载入动画\n- [x] 站点简介\n- [x] Hitokoto 一言\n- [x] 日期及时间\n- [x] 实时天气\n- [x] 时光进度条\n- [x] 音乐播放器\n- [x] 移动端适配\n\n### ⚙️ 自动部署\n\n如果遇到构建环境或者打包过程出现错误，则可以采用 `Github Actions` 来进行自动构建\n\n- 在成功 `fork` 仓库后，前往 `Actions` 页面，若您是首次开启，则会出现下面的提示，点击开启\n\n  ![步骤1](/screenshots/step1.jpg)\n\n- 然后在仓库中进行任意修改后均会触发工作流的运行，在工作流完成后，会在下方生成一个可供下载的压缩包，这就是构建出的静态文件，可自行上传至服务器\n\n  ![步骤2](/screenshots/step2.jpg)\n\n### ⚙️ 手动部署\n\n- **安装** [node.js](https://nodejs.org/zh-cn/) **环境**\n\n  \u003e node \u003e 16.16.0  \n  \u003e npm \u003e 8.15.0\n\n- 然后以 **管理员权限** 运行 `cmd` 终端，并 `cd` 到 项目根目录\n- 在 `终端` 中输入：\n\n```bash\n# 安装 pnpm\nnpm install -g pnpm\n\n# 安装依赖\npnpm install\n\n# 预览\npnpm dev\n\n# 构建\npnpm build\n```\n\n\u003e 构建完成后，静态资源会在 **`dist` 目录** 中生成，可将 **`dist` 文件夹下的文件**上传至服务器，也可使用 `Vercel` 等托管平台一键导入并自动部署\n\n### ⚙️ Docker 部署\n\n\u003e 安装及配置 Docker 将不在此处说明，请自行解决\n\n```bash\n# 构建\ndocker build -t home .\n# 运行\ndocker run -p 12445:12445 -d home\n```\n\n### ⚙️ Vercel 部署\n\n\u003e 其他部署平台大致相同，在此不做说明\n\n1. 点击本仓库右上角的 `Fork`，复制本仓库到你的 `GitHub` 账号\n2. 复制 `/.env.example` 文件并重命名为 `/.env`（ 重要 ）\n3. 按需修改 `/.env` 文件中的配置\n4. 点击 `Deploy`，即可成功部署\n\n### 网站链接\n\n在 `src/assets/siteLinks.json` 中可以自定义网站链接（以指向自己的网站）:\n\n```json\n{\n  \"icon\": \"Blog\",\n  \"name\": \"博客\",\n  \"link\": \"https://blog.imsyy.top/\"\n},\n```\n\n其中 `icon` 网站链接的图标可以在 `src/components/Links/index.vue` 中添加:\n\n```js\n// 可前往 https://www.xicons.org 自行挑选并在此处引入\n// 此处引入的是 fa 类型\nimport {\n  Link,\n  Blog,\n  CompactDisc,\n  Cloud,\n  Compass,\n  Book,\n  Fire,\n  LaptopCode,\n} from \"@vicons/fa\";\n\n...\n\n// 网站链接图标\nconst siteIcon = {\n  Blog,\n  Cloud,\n  CompactDisc,\n  Compass,\n  Book,\n  Fire,\n  LaptopCode,\n};\n```\n\n### 社交链接\n\n在 `src/assets/socialLinks.json` 中可以自定义社交链接。\n\n### 天气\n\n天气及地区获取需要 `高德开放平台` 相关 API\n\n- 前往 [高德开放平台控制台](https://console.amap.com/dev/index) 创建一个 `Web 服务` 类型的 `Key`，并将 `Key` 填入 `.env` 中的 `VITE_WEATHER_KEY` 中\n\n也可自行更换其他方式\n\n### 音乐\n\n\u003e 本项目采用了基于 `MetingJS` 的 `Aplayer` 音乐播放器，可实现快速自定义歌单  \n\u003e \\*仅支持 **中国大陆地区**\n\n请在 `.env` 文件中更改歌曲相关参数即可实现自定义歌单列表\n\n```bash\n# 歌曲 API 地址\nVITE_SONG_API = \"https://api-meting.imsyy.top\"\n# 歌曲服务器 ( netease-网易云, tencent-qq音乐 )\nVITE_SONG_SERVER = \"netease\"\n# 播放类型 ( song-歌曲, playlist-播放列表, album-专辑, search-搜索, artist-艺术家 )\nVITE_SONG_TYPE = \"playlist\"\n# 播放 ID\nVITE_SONG_ID = \"7452421335\"\n```\n\n### 字体\n\n现采用 `HarmonyOS Sans` 开源字体，采用字体拆分，提升加载速度\n\n\u003e 由于本站 `CDN` 已开启防盗链，**非本站域名不可访问**，请将字体引入链接更改为下方内容，否则 **自定义字体将失效**\n\u003e\n\u003e `https://s1.hdslb.com/bfs/static/jinkela/long/font/regular.css`\n\n\u003cdetails\u003e\n\u003csummary\u003e旧版方式\u003c/summary\u003e\n\n\u003e 由于本项目引入了中文字体，需要压缩中文字体以提高网页加载速度（ 也可以取消使用中文字体 ）\n\n#### 中文字体去除繁体\n\n- 安装 `Python 3.7` 和 `pip`\n- 运行 `pip install fonttools`\n- 下载 [sc_unicode.txt](https://gist.githubusercontent.com/imaegoo/d64e5088b723c2e02c40985f55ff12db/raw/5ebd2ce49418c73459a9dfe050483409306a6c1d/sc_unicode.txt)\n- 运行 `pyftsubset 字体名称.ttf --unicodes-file=sc_unicode.txt`\n\n#### 字体进一步压缩\n\n- 编译安装 `Google woff2`\n\n```bash\nsudo apt-get install -y git g++ make\ngit clone --recursive https://github.com/google/woff2.git\ncd woff2\nmake clean all\n```\n\n- 再压缩字体\n\n```\n./woff2_compress ./字体名称.ttf\n```\n\n- 最终可对原字体进行缓加载，**先行加载压缩后的字体**\n\n\u003e 详细信息可前往 [虹墨空间站](https://www.imaegoo.com/2020/chinese-font-compress/) 查看原文\n\n\u003c/details\u003e\n\n### 网站图标及网站背景\n\n#### 网站背景\n\n可以在 `public/images` 中修改网站背景\n\n如果想要添加更多的本地图片作为网站背景，可以将图片重命名 `background+数字` 的形式，并在 `src/components/Background/index.vue` 中进行修改：\n\n```js\nif (type == 0) {\n  // 修改此处 Math.random() 后面的第一个数字为图片的数量\n  bgUrl.value = `/images/background${Math.floor(Math.random() * 10 + 1)}.webp`;\n}\n```\n\n#### 网站图标\n\n可以在 `public/images/icon` 中修改网站图标。\n\n### 技术栈\n\n- [Vue](https://cn.vuejs.org/)\n- [Vite](https://vitejs.cn/vite3-cn/)\n- [Pinia](https://pinia.vuejs.org/zh/)\n- [IconPark](https://iconpark.oceanengine.com/official)\n- [xicons](https://xicons.org/)\n- [Aplayer](https://aplayer.js.org/)\n\n### API\n\n- [小歪 API](https://api.aixiaowai.cn)\n- [搏天 API](https://api.btstu.cn/doc/sjbz.php)\n- [教书先生 API](https://api.oioweb.cn/doc/weather/GetWeather)\n- [高德开放平台](https://lbs.amap.com/)\n- [Hitokoto 一言](https://hitokoto.cn/)\n\n## Star History\n\n[![Star History Chart](https://api.star-history.com/svg?repos=imsyy/home\u0026type=Date)](https://star-history.com/#imsyy/home\u0026Date)\n\n\u003ca title=\"SSL\" target=\"_blank\" href=\"https://myssl.com/seal/detail?domain=blog.imsyy.top\"\u003e\u003cimg src=\"https://img.shields.io/badge/MySSL-安全认证-brightgreen\"\u003e\u003c/a\u003e\u0026nbsp;\u003ca title=\"CDN\" target=\"_blank\" href=\"https://cdnjs.com/\"\u003e\u003cimg src=\"https://img.shields.io/badge/CDN-Cloudflare-blue\"\u003e\u003c/a\u003e\u0026nbsp;\u003ca title=\"Copyright\" target=\"_blank\" href=\"https://imsyy.top/\"\u003e\u003cimg src=\"https://img.shields.io/badge/Copyright%20%C2%A9%202020--2023-%E7%84%A1%E5%90%8D-red\"\u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelp660vip%2Fhome-help660.github.io","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhelp660vip%2Fhome-help660.github.io","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelp660vip%2Fhome-help660.github.io/lists"}