{"id":18756919,"url":"https://github.com/aiursoftweb/manhours","last_synced_at":"2025-08-24T03:34:24.451Z","repository":{"id":209111920,"uuid":"723261419","full_name":"AiursoftWeb/Manhours","owner":"AiursoftWeb","description":"ManHours is a tool that creates a shields.io badge for your repository's README, estimating the total hours committers have spent on the project. Mirror of https://gitlab.aiursoft.cn/aiursoft/manhours","archived":false,"fork":false,"pushed_at":"2025-08-07T06:14:41.000Z","size":439,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-07T08:23:43.487Z","etag":null,"topics":["badge","docker","dotnet","git","manhours","readme","repo"],"latest_commit_sha":null,"homepage":"https://manhours.aiursoft.cn/","language":"C#","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/AiursoftWeb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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}},"created_at":"2023-11-25T05:17:35.000Z","updated_at":"2025-08-07T06:14:44.000Z","dependencies_parsed_at":"2023-12-03T05:21:40.936Z","dependency_job_id":"6780e999-7f98-4012-ae71-90cdbeb7a21f","html_url":"https://github.com/AiursoftWeb/Manhours","commit_stats":null,"previous_names":["aiursoftweb/manhours"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AiursoftWeb/Manhours","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AiursoftWeb%2FManhours","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AiursoftWeb%2FManhours/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AiursoftWeb%2FManhours/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AiursoftWeb%2FManhours/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AiursoftWeb","download_url":"https://codeload.github.com/AiursoftWeb/Manhours/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AiursoftWeb%2FManhours/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271786013,"owners_count":24820581,"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","status":"online","status_checked_at":"2025-08-24T02:00:11.135Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["badge","docker","dotnet","git","manhours","readme","repo"],"created_at":"2024-11-07T17:38:42.018Z","updated_at":"2025-08-24T03:34:24.443Z","avatar_url":"https://github.com/AiursoftWeb.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ManHours\n\n[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://gitlab.aiursoft.cn/aiursoft/ManHours/-/blob/master/LICENSE)\n[![Pipeline stat](https://gitlab.aiursoft.cn/aiursoft/ManHours/badges/master/pipeline.svg)](https://gitlab.aiursoft.cn/aiursoft/ManHours/-/pipelines)\n[![Test Coverage](https://gitlab.aiursoft.cn/aiursoft/ManHours/badges/master/coverage.svg)](https://gitlab.aiursoft.cn/aiursoft/ManHours/-/pipelines)\n[![ManHours](https://manhours.aiursoft.cn/r/gitlab.aiursoft.cn/aiursoft/ManHours.svg)](https://gitlab.aiursoft.cn/aiursoft/ManHours/-/commits/master?ref_type=heads)\n[![Website](https://img.shields.io/website?url=https%3A%2F%2Fmanhours.aiursoft.cn)](https://manhours.aiursoft.cn/)\n[![Docker](https://img.shields.io/docker/pulls/aiursoft/manhours.svg)](https://hub.docker.com/r/aiursoft/manhours)\n\nManHours is a tool to generate a badge for your repository.\n\nWhen skimming a new repository, I'm always curious how much time went into creating it. I built Man Hours to generate and display a shields.io badge for your README with an estimate of how many hours committers have spent working on your files. You can see a sample badge above with the total hours put into this repo.\n\n![overview](./screenshot.png)\n\n## Try\n\nTry a running ManHours [here](https://manhours.aiursoft.cn).\n\n## Run in Ubuntu\n\nThe following script will install\\update this app on your Ubuntu server. Supports Ubuntu 25.04.\n\nOn your Ubuntu server, run the following command:\n\n```bash\ncurl -sL https://gitlab.aiursoft.cn/aiursoft/manhours/-/raw/master/install.sh | sudo bash\n```\n\nOf course it is suggested that append a custom port number to the command:\n\n```bash\ncurl -sL https://gitlab.aiursoft.cn/aiursoft/manhours/-/raw/master/install.sh | sudo bash -s 8080\n```\n\nIt will install the app as a systemd service, and start it automatically. Binary files will be located at `/opt/apps`. Service files will be located at `/etc/systemd/system`.\n\n## Run manually\n\nRequirements about how to run\n\n1. Install [.NET 9 SDK](http://dot.net/) and [Node.js](https://nodejs.org/).\n2. Execute `npm install` at `wwwroot` folder to install the dependencies.\n3. Execute `dotnet run` to run the app.\n4. Use your browser to view [http://localhost:5000](http://localhost:5000).\n\n## Run in Microsoft Visual Studio\n\n1. Open the `.sln` file in the project path.\n2. Press `F5` to run the app.\n\n## Run in Docker\n\nFirst, install Docker [here](https://docs.docker.com/get-docker/).\n\nThen run the following commands in a Linux shell:\n\n```bash\nimage=aiursoft/manhours\nappName=manhours\nsudo docker pull $image\nsudo docker run -d --name $appName --restart unless-stopped -p 5000:5000 -v /var/www/$appName:/data $image\n```\n\nThat will start a web server at `http://localhost:5000` and you can test the app.\n\nThe docker image has the following context:\n\n| Properties  | Value                            |\n|-------------|----------------------------------|\n| Image       | aiursoft/manhours                |\n| Ports       | 5000                             |\n| Binary path | /app                             |\n| Data path   | /data                            |\n| Config path | /data/appsettings.json           |\n\n## How to contribute\n\nThere are many ways to contribute to the project: logging bugs, submitting pull requests, reporting issues, and creating suggestions.\n\nEven if you with push rights on the repository, you should create a personal fork and create feature branches there when you need them. This keeps the main repository clean and your workflow cruft out of sight.\n\nWe're also interested in your feedback on the future of this project. You can submit a suggestion or feature request through the issue tracker. To make this process more effective, we're asking that these include more information to help define them more clearly.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faiursoftweb%2Fmanhours","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faiursoftweb%2Fmanhours","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faiursoftweb%2Fmanhours/lists"}