{"id":13600155,"url":"https://github.com/ymm-tech/gods-pen-admin","last_synced_at":"2026-03-06T19:35:02.456Z","repository":{"id":39329951,"uuid":"218723334","full_name":"ymm-tech/gods-pen-admin","owner":"ymm-tech","description":"码良管理后台项目","archived":false,"fork":false,"pushed_at":"2022-12-10T06:57:35.000Z","size":1843,"stargazers_count":121,"open_issues_count":22,"forks_count":98,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-08-20T08:43:42.799Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","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/ymm-tech.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}},"created_at":"2019-10-31T08:54:58.000Z","updated_at":"2025-06-08T02:40:47.000Z","dependencies_parsed_at":"2023-01-25T23:00:26.540Z","dependency_job_id":null,"html_url":"https://github.com/ymm-tech/gods-pen-admin","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/ymm-tech/gods-pen-admin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ymm-tech%2Fgods-pen-admin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ymm-tech%2Fgods-pen-admin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ymm-tech%2Fgods-pen-admin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ymm-tech%2Fgods-pen-admin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ymm-tech","download_url":"https://codeload.github.com/ymm-tech/gods-pen-admin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ymm-tech%2Fgods-pen-admin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30193649,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"ssl_error","status_checked_at":"2026-03-06T18:57:34.882Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":"2024-08-01T18:00:29.837Z","updated_at":"2026-03-06T19:35:02.417Z","avatar_url":"https://github.com/ymm-tech.png","language":"CSS","funding_links":[],"categories":["CSS"],"sub_categories":[],"readme":"# 码良管理后台\n \n\u003cp align=\"center\"\u003e\u003ca href=\"https://godspen.ymm56.com/\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\u003cimg width=\"200\" src=\"https://godspen.ymm56.com/doc/logo.png\"\u003e\u003c/a\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://godspen.ymm56.com/\"\u003e\u003cimg src=\"https://img.shields.io/github/license/ymm-tech/gods-pen\" alt=\"License\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://godspen.ymm56.com/\"\u003e\u003cimg src=\"https://img.shields.io/github/package-json/v/ymm-tech/gods-pen\"\u003e\u003c/a\u003e\n\n\u003c/p\u003e\n\n\n##  :house: 官网\n  \n  官网： https://godspen.ymm56.com/\n\n  使用手册： https://godspen.ymm56.com/doc/cookbook/introduce.html\n\n  在线体验： https://godspen.ymm56.com/admin/#/home\n  \n  私有部署： https://godspen.ymm56.com/doc/cookbook/install.html\n\n\n![](https://ymm-maliang.oss-cn-hangzhou.aliyuncs.com/ymm-maliang/access/ymm_1539588655850.png)\n\n\n \u003cp style=\"font-size:18px;\" align=\"center\"\u003e:point_right: `喜欢别忘了加star支持我们，你的支持是我们坚持的动力` :point_left:\u003c/p\u003e\n\n## 项目构成\n\n码良系统由3个项目构成，分别是 [gods-pen-server](https://github.com/ymm-tech/gods-pen-server) 码良服务端、\n\n[gods-pen-admin](https://github.com/ymm-tech/gods-pen-admin) \n\n码良管理后台以及于7月份就已经开源的 [gods-pen](https://github.com/ymm-tech/gods-pen) 码良编辑器。\n\n\n## 详细部署文档\n\nhttps://godspen.ymm56.com/doc/cookbook/source.html\n\n### 安装依赖\n\n```bash\nyarn\n```\n\n### 开发\n\n```bash\nnpm run dev\n```\n\n### 打包\n\n``` bash\nnpm run build\n```\n\n### 配置说明\n\n配置文件位于 src/config/ 下，default.js 为默认配置，请不要修改\n\n开发配置:\n\nlocal.js 为本地开发环境使的配置，一般情况下保持默认即可。\n\n在本地开发调试时，三个 web 项目（admin、editor、view）和一个 node 项目（api）都是在独立运行的，因此需要配置每个服务的本地访问地址，以使项目之间能互相调用/请求，四个服务的默认端口号分别为 8567、8565、8566、7051，因此默认配置如 local.js\n\n构建/部署配置：\n\nproduction.js 为构建阶段使用的配置，默认留空，全部使用了 default.js 配置，原因如下\n\n对于三个 web 项目（admin、editor、view），在构建完成后，web 项目不在是分别启动服务，一般来说，会将所有静态资源文件部署在同一个（nginx）服务下，因此，web 项目的访问路径就是域名加项目名，如 xxxx.com/admin，xxxx.com/editor， 如无更换一级路径要求，无需再进行配置\n\n对于 api 服务，服务启动以后，本地/内部访问地址为 http://127.0.0.1:7051/api, 如果最终能通过 nginx 反代等操作使之与 web 服务**同域名同端口**号，则也可以不用配置 API_PATH。否则，请将 API_PATH 配置为 api 服务**外部实际访问路径**，如 http://xxxx.com:7051/api\n\n总之，所有的 XX_PATH 配置都应该与实际访问地址一致，其中特殊的是在与本服务同端口同域名时，可写成相对地址（即默认配置的值）。  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fymm-tech%2Fgods-pen-admin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fymm-tech%2Fgods-pen-admin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fymm-tech%2Fgods-pen-admin/lists"}