{"id":18743929,"url":"https://github.com/guyoung/codeinstant","last_synced_at":"2025-04-12T21:32:22.732Z","repository":{"id":36591978,"uuid":"219269753","full_name":"guyoung/CodeInstant","owner":"guyoung","description":"快速搭建前端代码静态展示网站工具","archived":false,"fork":false,"pushed_at":"2022-12-06T17:28:30.000Z","size":455,"stargazers_count":5,"open_issues_count":6,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-26T15:54:17.974Z","etag":null,"topics":["code","demo","javascript"],"latest_commit_sha":null,"homepage":"https://guyoung.github.io/CodeInstant/","language":"JavaScript","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/guyoung.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-11-03T09:08:08.000Z","updated_at":"2024-03-08T17:26:58.000Z","dependencies_parsed_at":"2023-01-17T02:54:55.325Z","dependency_job_id":null,"html_url":"https://github.com/guyoung/CodeInstant","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guyoung%2FCodeInstant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guyoung%2FCodeInstant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guyoung%2FCodeInstant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guyoung%2FCodeInstant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guyoung","download_url":"https://codeload.github.com/guyoung/CodeInstant/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248636057,"owners_count":21137362,"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":["code","demo","javascript"],"created_at":"2024-11-07T16:13:10.775Z","updated_at":"2025-04-12T21:32:22.347Z","avatar_url":"https://github.com/guyoung.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"CodeInstant\n===================================\n\nCodeInstant是一款快速搭建前端代码静态展示网站工具， CodeInstant提供一套静态网站框架和站点导航自动生成脚本，帮助前端开发人员在GitHub pages等平台快速搭建代码展示网站。\n\nCodeInstant支持在线编辑HTML、CSS、JavaScript代码并可实时预览效果，支持代码高亮显示，支持Markdown文件转HTML在线浏览。\n\n![CodeInstant](https://github.com/guyoung/CodeInstant/raw/master/doc/images/code_instant_01.png)\n\n## 使用\n\n * git clone https://github.com/guyoung/CaptfEncoder.git\n * cd CaptfEncoder\n * npm install \n * npm start   // 运行 \n * npm run build   //或者编译运行\n\n## 文件结构\n\n    |- build                    脚本\n    |--- build.js               站点导航自动生成脚本          \n    |- data                     用户文件\n    |--- codes                  代码\n    |----- codes_3\n    |------- index.html\n    |----- vue\n    |------- vue_quick_strat    \n    |--------- index.html\n    |--------- main.js\n    |--------- style.css\n    |------- vue_route\n    |--------- index.html\n    |------ sitemap.json        站点导航文件，脚本自动生成\n    |--- home                   首页\n    |----- index.md\n    |--- pages                  文档                 \n    |----- page_1\n    |------- index.md\n    |----- page_2\n    |------- index.md\n    |----- page_3\n    |------- index.md\n    |------ page.sitemap.json   站点导航文件，脚本自动生成\n    |--- app.config.json        网站配置文件\n    |- framwrok                 框架\n    |--- js\n    |------ app.js\n    |------ app.route.js\n    |------ code.component.js\n    |------ home.component.js\n    |------ page.component.js\n    |--- style\n    |------ main.css\n    |-index.html                网站首页\n\n\n## 使用Github pages搭建网站\n\n * Fork \n * 修改仓库名称\n * 为仓库开启 github page 选项，Source 改为 master branch\n * 代码 clone 到本地\n * 本地项目初始化并运行\n * 添加修改文件\n * 将代码更新到 github 仓库\n\n\n## 项目网站\n\n * \u003chttps://github.com/guyoung/CodeInstant\u003e\n\n\n\n\n\n------------------------------------------------\n\n**关注微信公众号，获取软件最新消息**\n\n![微信公众号](https://mmbiz.qlogo.cn/mmbiz_jpg/5IMiaY073fa7zxH6f5q5EticlwZPsYQtUnpYHspNiczmNyjtCXnR7LAmvpstK4EycfzIQkciboLh1qtWRcCibEPuDhA/0?wx_fmt=jpeg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguyoung%2Fcodeinstant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguyoung%2Fcodeinstant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguyoung%2Fcodeinstant/lists"}