{"id":37185169,"url":"https://github.com/kccd/nkc","last_synced_at":"2026-01-14T21:25:11.546Z","repository":{"id":37686525,"uuid":"120287810","full_name":"kccd/nkc","owner":"kccd","description":"一个基于 Node.js 构建的技术交流平台。","archived":false,"fork":false,"pushed_at":"2026-01-13T06:10:13.000Z","size":248014,"stargazers_count":67,"open_issues_count":9,"forks_count":25,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-01-13T09:28:27.026Z","etag":null,"topics":["nodejs"],"latest_commit_sha":null,"homepage":"https://www.kechuang.org","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kccd.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-02-05T10:09:58.000Z","updated_at":"2026-01-13T06:08:58.000Z","dependencies_parsed_at":"2023-09-28T12:04:07.794Z","dependency_job_id":"51e7a4a6-974e-41fd-bd18-a37ec481a582","html_url":"https://github.com/kccd/nkc","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/kccd/nkc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kccd%2Fnkc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kccd%2Fnkc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kccd%2Fnkc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kccd%2Fnkc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kccd","download_url":"https://codeload.github.com/kccd/nkc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kccd%2Fnkc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28434961,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T18:57:19.464Z","status":"ssl_error","status_checked_at":"2026-01-14T18:52:48.501Z","response_time":107,"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":["nodejs"],"created_at":"2026-01-14T21:25:10.503Z","updated_at":"2026-01-14T21:25:11.408Z","avatar_url":"https://github.com/kccd.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nkc\n\n## Requirements\n- Base: [Node.js](https://nodejs.org) v16.14.0\n      \n- Database: \n    1. **[mongoDB](https://www.mongodb.com)** v4.4.5\n    2. **[Redis](https://redis.io/)** v3.2.100\n    3. **[ElasticSearch](https://elastic.co)** v6.0.1\n \n- Image Processing: **[ImageMagick](https://www.imagemagick.org)** v7.0.10 \n- PDF Processing: **[Ghostscript](https://www.ghostscript.com/)** v9.53.3, **[QPDF](https://qpdf.sourceforge.io/)** v10.3.2\n- video Processing: **[ffmpeg](https://www.ffmpeg.org/)** v4.0.2\n\n## Main Frameworks\n- Web Framework: **[Koa](http://koajs.com)**\n- Template Language: **[Pug](https://pugjs.org)**\n- ORM: **[Mongoose](https://www.mongoosejs.com)**\n\n## Install\n\n1. install all the requirements\n2. clone this repo\n3. run `npm build` in your console\n4. run `npm run init` to initialize data\n5. run `npm run build-pages-p` to compile the page\n6. npm start and you are able to access via localhost:1086\n\n## How to call an API\n- In browser\n\n```javascript\nimport {nkcAPI} from 'pages/lib/js/netAPI';\nimport {sweetError, sweetSuccess} from 'pages/lib/js/sweetAlert';\n\nnkcAPI(`pathToYourTarget`, HTTP_Method, {someParameter:'someValue'})\n  .then(sweetSuccess)\n  .catch(sweetError)\n```\n\n## Future plans\n- change the template engine into React, \n- isomorphism\n- multiple device support(IOS, android, etc)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkccd%2Fnkc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkccd%2Fnkc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkccd%2Fnkc/lists"}