{"id":45762438,"url":"https://github.com/tzhangchi/z-pot","last_synced_at":"2026-02-25T23:25:53.452Z","repository":{"id":37643355,"uuid":"354761873","full_name":"tzhangchi/z-pot","owner":"tzhangchi","description":"project overview tool, used to analyze the amount of code, the number of files, code statistics  and so on.","archived":false,"fork":false,"pushed_at":"2022-01-04T14:32:56.000Z","size":265,"stargazers_count":19,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-28T00:15:30.568Z","etag":null,"topics":["board","cli","code-review","command","dashboard","nodejs","overview","project-management","statics","tool"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/tzhangchi.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":"2021-04-05T08:03:05.000Z","updated_at":"2025-09-27T12:07:30.000Z","dependencies_parsed_at":"2022-09-16T09:01:49.181Z","dependency_job_id":null,"html_url":"https://github.com/tzhangchi/z-pot","commit_stats":null,"previous_names":["fancylife/z-pot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tzhangchi/z-pot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tzhangchi%2Fz-pot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tzhangchi%2Fz-pot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tzhangchi%2Fz-pot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tzhangchi%2Fz-pot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tzhangchi","download_url":"https://codeload.github.com/tzhangchi/z-pot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tzhangchi%2Fz-pot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29844858,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T22:37:40.667Z","status":"ssl_error","status_checked_at":"2026-02-25T22:37:25.960Z","response_time":61,"last_error":"SSL_read: 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":["board","cli","code-review","command","dashboard","nodejs","overview","project-management","statics","tool"],"created_at":"2026-02-25T23:25:52.765Z","updated_at":"2026-02-25T23:25:53.446Z","avatar_url":"https://github.com/tzhangchi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pot\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://npmjs.com/package/z-pot\" title=\"Version\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/v/z-pot.svg\" alt=\"Version\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://npmjs.com/package/z-pot\" title=\"Downloads\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/dm/z-pot.svg\" alt=\"Downloads\"\u003e\n  \u003c/a\u003e\n  \u003ca\u003e\n  \u003cimg src=\"https://travis-ci.com/fancylife/z-pot.svg?branch=master\" /\u003e\n  \u003c/a\u003e  \n  \u003ca a href='https://coveralls.io/github/fancylife/z-pot?branch=master'\u003e\u003cimg src='https://coveralls.io/repos/github/fancylife/z-pot/badge.svg?branch=master' alt='Coverage Status' /\u003e\u003c/a\u003e\n\n\u003c/p\u003e\n\nz-pot is a project overview tool, used to analyze the amount of code, the number of files, code statistics and so on.\n\n## Quick Start\n\ninstall `z-pot`\n\n```shell\nnpm i -g z-pot\n```\n\ncreate report\n\n```shell\ncd ${yourProject}\n\npot report\n```\n\n![pot-report](./assets/pot-report.png)\n\n## Features\n\n-   [x] file stats\n-   [x] custom\n-   [x] unit test\n-   [] stat group by file type\n-   [] stat group by file line count\n-   [] stat tech stack of project\n-   [] stat of project contributor\n\n## Help\n\n```shell\nUsage: pot \u003ccommand\u003e [options]\n\nproject overview tool\n\nOptions:\n  -V, --version     output the version number\n  -h, --help        output usage information\n\nCommands:\n  report [options]  print project info\n\n  Examples:\n\n    $ pot report ## build report\n    $ pot report -t xxx ## custom report template\n\n```\n\n### Custom Template\n\nTemplate Context\n\n```\n  this.statInfo = {\n        createdTime: moment(new Date()).format('YYYY-MM-DD'),\n        fileSize: 0, // project file size\n        filesCount: 0, //files count\n        dirsCount: 0, //dir count\n        fileLineCount: 0, //the count of all files\n        maxFileLine: 0, // single file max line count\n        bigFilesList: [] //big files list\n    }\n```\n\nCustom Template `report.template.html`\n\n```html\n\u003c!DOCTYPE html\u003e\n\u003chtml lang=\"en\"\u003e\n    \u003chead\u003e\n        \u003cmeta charset=\"UTF-8\" /\u003e\n        \u003cmeta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" /\u003e\n        \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" /\u003e\n        \u003ctitle\u003eDocument\u003c/title\u003e\n    \u003c/head\u003e\n    \u003cbody\u003e\n        ${this.statInfo.createdTime}\n    \u003c/body\u003e\n\u003c/html\u003e\n```\n\n```shell\npot report -t ./tests/report.template.html ## custom template\n\nls pot_report_2021-04-05.html ## report\n```\n\n# License\n\n[MIT](https://opensource.org/licenses/MIT)\n\nCopyright (c) 2013-present, zhangchi\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftzhangchi%2Fz-pot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftzhangchi%2Fz-pot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftzhangchi%2Fz-pot/lists"}