{"id":20032326,"url":"https://github.com/weakish/js","last_synced_at":"2026-05-13T04:05:43.188Z","repository":{"id":146349708,"uuid":"228159475","full_name":"weakish/js","owner":"weakish","description":" Experimenting with git and monorepo for JavaScript Projects.","archived":false,"fork":false,"pushed_at":"2020-04-26T15:23:52.000Z","size":70,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-12T18:11:58.495Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/weakish.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}},"created_at":"2019-12-15T09:30:10.000Z","updated_at":"2020-05-02T19:26:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"b1810e47-6fc9-42bf-89f3-81fc5c71efd9","html_url":"https://github.com/weakish/js","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weakish%2Fjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weakish%2Fjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weakish%2Fjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weakish%2Fjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weakish","download_url":"https://codeload.github.com/weakish/js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241463588,"owners_count":19967074,"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":[],"created_at":"2024-11-13T09:36:41.045Z","updated_at":"2026-05-13T04:05:43.119Z","avatar_url":"https://github.com/weakish.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# My Monorepo Experiment with Git and JavaScript\n\nJust my personal choices:\n\n- ts-check to [check types in JSDoc comments][ts-check]\n- eslint with [seven rules][eslint]\n- [prettier] with default configuration\n- [lefthook] to run `tsc`, `eslint`, and `prettier` pre-commit hooks\n- [0BSD] license\n- [no package.json]\n\n[ts-check]: https://mmap.page/dive-into/ts-check/ \"Fight for Type Safety. Stand with JavaScript.\"\n[eslint]: https://mmap.page/dive-into/eslint/ \"An Optioned Guide to ESLint\"\n[prettier]: https://prettier.io\n[lefthook]: https://github.com/Arkweid/lefthook/blob/master/docs/node.md\n[0BSD]: https://landley.net/toybox/license.html \"Why 0BSD?\"\n[no package.json]: https://mmap.page/dive-into/npm/ \"Use npm without package.json\"\n\n## Develop\n\n### Dependencies\n\n- git\n- Node.js (tested on 12)\n- [ncc](https://github.com/zeit/ncc/)\n- GNU make or BSD make\n- TypeScript (tested on 3.7) and ESLint\n- [Prettier] and [lefthook]\n- vscode or any other IDEs/editors supporting ESLint and TypeScript with JSDoc commented types\n\n[Prettier]: https://prettier.io\n[lefthook]: https://github.com/Arkweid/lefthook/blob/master/docs/node.md\n\n### Coding\n\n```sh\ngit clone https://github.com/weakish/js.git\ncd js\nmake install-deps # install dependencies\nmake # packaging with ncc\n```\n\n## Markdowntation\n\nServe your documentation with zero-configuration and without client side JavaScript.\nInspired by [GitHub Pages] and [docsify].\n\n[GitHub Pages]: https://pages.github.com/\n[docsify]: https://docsify.js.org/\n\n### Features\n Inspired by [GitHub Pages] and [docsify].\n- Simple (97 CLOC) and lightweight (1380kB compiled as a single file).\n- No statically built html files.\n- No JavaScript at client side.\n- Zero configuration.\n\n### Usage\n\nDownload the `index.js` file at GitHub releases page, and put it under your documentation directory with markdown files.\nNow just run `node index.js` and you can access your documentation site at http://127.0.0.1:3000\n\n### Matching Routes\n\nSuppose you run `node index.js` under `docs` directory, then:\n\n```\ndocs/README.md        =\u003e http://127.0.0.1:3000\ndocs/guide.md         =\u003e http://127.0.0.1:3000/guide/\ndocs/zh-cn/README.md  =\u003e http://127.0.0.1:3000/zh-cn/\ndocs/zh-cn/guide.md   =\u003e http://127.0.0.1:3000/zh-cn/guide/\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweakish%2Fjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweakish%2Fjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweakish%2Fjs/lists"}