{"id":18023998,"url":"https://github.com/lete114/awstats","last_synced_at":"2025-10-28T23:08:46.356Z","repository":{"id":57188502,"uuid":"357906575","full_name":"Lete114/AWStats","owner":"Lete114","description":"基于 NodeJS 的一个静态生成器，快来定义您的页面吧！(A static generator based on NodeJS, come to define your page!)","archived":false,"fork":false,"pushed_at":"2022-09-18T03:41:23.000Z","size":112,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T18:11:19.421Z","etag":null,"topics":["awstats","static","static-site","static-website"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Lete114.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-14T13:00:05.000Z","updated_at":"2024-10-03T11:16:23.000Z","dependencies_parsed_at":"2022-08-28T14:50:48.607Z","dependency_job_id":null,"html_url":"https://github.com/Lete114/AWStats","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/Lete114%2FAWStats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lete114%2FAWStats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lete114%2FAWStats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lete114%2FAWStats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lete114","download_url":"https://codeload.github.com/Lete114/AWStats/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245760562,"owners_count":20667886,"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":["awstats","static","static-site","static-website"],"created_at":"2024-10-30T07:11:38.286Z","updated_at":"2025-10-28T23:08:41.064Z","avatar_url":"https://github.com/Lete114.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\u003ca href=\"https://github.com/lete114/AWStats\" target=\"_blank\"\u003eAWStats\u003c/a\u003e\u003c/h1\u003e\n\u003cp align=\"center\"\u003e A fast , static files generator framework , powered by \u003ca href=\"https://nodejs.org\" title=\"https://nodejs.org\"\u003eNode.js\u003c/a\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/lete114/AWStats/releases/\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/package-json/v/lete114/AWStats/master?color=%23e58a8a\u0026label=master\" alt=\"master\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/lete114/awstats/tree/dev\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/package-json/v/lete114/AWStats/dev?color=%231ab1ad\u0026label=dev\" alt=\"dev\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/lete114/AWStats/blob/master/LICENSE\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/license/lete114/AWStats?color=FF5531\" alt=\"MIT License\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n## Quick Start\n\n\u003e 前提：你的电脑必须安装[Node.js](https://nodejs.org/)才能启动该项目\n\n**Install AWStats**\n\n```bash\nnpm install awstats-cli -g\n```\n\n**Initialize AWStats**\n\n```bash\nawstats init AWStats-HomePage\n\ncd AWStats-HomePage # 进入初始化的目录\n\n## 你也可用使用以下方式\n\nmkdir AWStats-HomePage # 创建目录(自定义)\n\ncd AWStats-HomePage # 进入创建的目录\n\nawstats init # 初始化\n```\n\n**Other Commands**\n\n```bash\nawstats init # 初始化 可缩写为: aws i\n\nawstats generate # 生成 aws g (以此类推输入首字母即可)\n\nawstats minify # 压缩\n\nawstats server # 本地预览\n\nawstats deploy # 部署\n\nawstats clean # 清理\n```\n\n## Themes\n\n\u003e 如没有`themes`目录可自建\n\n在 themes 目录下可以新建你的主题(例如：`./themes/HomePage`)，主题文件下可以新建`config.yml`主题配置文件，新建`template`目录，存放你要生成的页面(文件后缀为.ejs)，`static`静态资源\n\n可以参考：[HomePage](https://github.com/lete114/AWStats-theme-HomePage)\n\n```\nlib\n    |-- xxx\nthemes\n    |-- HomePage\n        |-- static\n            |-- css\n            |-- js\n            |-- images\n            |-- fonts\n            |-- xxxxxx\n        |-- template\n            |-- index.ejs\n            |-- 404.ejs\n            |-- xxxx(可新建文件夹)\nconfig.yml\npackage.json\n```\n\n`HomePage`: 主题昵称\n\n`static`: 静态资源\n\n`template`: 模板\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flete114%2Fawstats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flete114%2Fawstats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flete114%2Fawstats/lists"}