{"id":23439820,"url":"https://github.com/baohaoyu/oos_blog_server","last_synced_at":"2026-05-14T20:31:08.546Z","repository":{"id":42101027,"uuid":"214590731","full_name":"BaoHaoYu/oos_blog_server","owner":"BaoHaoYu","description":"koa2搭建的hexo博客，配有上传到阿里云OOS接口","archived":false,"fork":false,"pushed_at":"2022-12-06T14:45:51.000Z","size":347,"stargazers_count":0,"open_issues_count":10,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-08T03:34:19.692Z","etag":null,"topics":["aliyun","aliyun-oss","hexo","koa2"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BaoHaoYu.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-12T06:24:07.000Z","updated_at":"2020-07-24T02:50:49.000Z","dependencies_parsed_at":"2023-01-23T08:30:30.124Z","dependency_job_id":null,"html_url":"https://github.com/BaoHaoYu/oos_blog_server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BaoHaoYu/oos_blog_server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaoHaoYu%2Foos_blog_server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaoHaoYu%2Foos_blog_server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaoHaoYu%2Foos_blog_server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaoHaoYu%2Foos_blog_server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BaoHaoYu","download_url":"https://codeload.github.com/BaoHaoYu/oos_blog_server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaoHaoYu%2Foos_blog_server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33042070,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"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":["aliyun","aliyun-oss","hexo","koa2"],"created_at":"2024-12-23T15:36:26.158Z","updated_at":"2026-05-14T20:31:08.516Z","avatar_url":"https://github.com/BaoHaoYu.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# koa2博客服务\n\n## 安装\n\n按顺序执行如下命令\n\n```bash\ngit clone https://github.com/BaoHaoYu/oos_blog_server.git\ncd oos_blog_server\nyarn\n```\n\n## 配置config.ts\n\n```ts\nexport default {\n  // 端口\n  port: '9000',\n  // blog静态目录\n  blogPublic: '/opt/www/hexo-blog/public',\n  // 域名\n  region: '',\n  // 阿里云accessKeyId\n  accessKeyId: '',\n  // 阿里云accessKeySecret\n  accessKeySecret: '',\n}\n```\n\nregion\n![](http://bhyblog.oss-cn-shenzhen.aliyuncs.com/hexo/chrome_qtiqWEFZDi.png)\n\naccessKeyId和accessKeySecret\n![](http://bhyblog.oss-cn-shenzhen.aliyuncs.com/hexo/chrome_vOVtY39Be9.png)\n\nblogPublic为`hexo generate`生成静态文件的位置\n\n## 通过pm2运行项目\n\n```bash\npm2 start pm2.json\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaohaoyu%2Foos_blog_server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbaohaoyu%2Foos_blog_server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaohaoyu%2Foos_blog_server/lists"}