{"id":16493930,"url":"https://github.com/echosoar/gitevent","last_synced_at":"2026-05-13T06:35:28.434Z","repository":{"id":103981931,"uuid":"233064948","full_name":"echosoar/gitevent","owner":"echosoar","description":"past week github push(commit) analysis","archived":false,"fork":false,"pushed_at":"2020-01-10T17:19:10.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-04T00:27:34.309Z","etag":null,"topics":["analysis","commit","github","push"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/echosoar.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":"2020-01-10T14:33:08.000Z","updated_at":"2024-06-19T09:14:07.235Z","dependencies_parsed_at":null,"dependency_job_id":"ab141474-4bfa-43df-a3bb-773b3e609c27","html_url":"https://github.com/echosoar/gitevent","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/echosoar%2Fgitevent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/echosoar%2Fgitevent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/echosoar%2Fgitevent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/echosoar%2Fgitevent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/echosoar","download_url":"https://codeload.github.com/echosoar/gitevent/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241335596,"owners_count":19946086,"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":["analysis","commit","github","push"],"created_at":"2024-10-11T14:11:09.558Z","updated_at":"2026-05-13T06:35:28.405Z","avatar_url":"https://github.com/echosoar.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gitevent\n\n分析过去一周的时间中某用户在Github上提交的代码\n\n包括代码类型(语言)，每种类型提交了多少个文件、增加了多少行代码、删除了多少行代码。\n\n## Usage\n\n```shell\n$ go get github.com/echosoar/gitevent/week\n```\n\n```golang\npackage main\n\nimport \"github.com/echosoar/gitevent/week\"\n\nfunc main() {\n    week := new(week.WeekData)\n    week.UserName = \"echosoar\"\n    week.Run()\n    typeMap := week.GetTypeMap()\n    for lang, value := range typeMap {\n      fmt.Printf(\"%s files:%d add:%d del:%d\\n\", lang, value.Files, value.Additions, value.Deletions)\n    }\n}\n```\n\n```shell\n$ go run main.go\n\nTypeScript  files:88  add:845   del:1055\nJson        files:22  add:119   del:37\nJavaScript  files:7   add:70    del:52\nYaml        files:3   add:42    del:12\nunknow      files:1   add:1     del:1\n```\n---\nMIT @echosoar","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fechosoar%2Fgitevent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fechosoar%2Fgitevent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fechosoar%2Fgitevent/lists"}