{"id":17355280,"url":"https://github.com/moethu/codenutrition","last_synced_at":"2025-08-02T07:31:17.773Z","repository":{"id":47548526,"uuid":"235390911","full_name":"moethu/codenutrition","owner":"moethu","description":"Nutrition Facts for Code","archived":false,"fork":false,"pushed_at":"2021-08-24T13:47:55.000Z","size":301,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-08T15:48:38.471Z","etag":null,"topics":["go","labels","legacy-code","transparency"],"latest_commit_sha":null,"homepage":"http://code.grevit.net:8084","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/moethu.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":"2020-01-21T16:41:45.000Z","updated_at":"2023-09-10T08:11:45.000Z","dependencies_parsed_at":"2022-07-26T12:17:16.392Z","dependency_job_id":null,"html_url":"https://github.com/moethu/codenutrition","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/moethu/codenutrition","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moethu%2Fcodenutrition","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moethu%2Fcodenutrition/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moethu%2Fcodenutrition/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moethu%2Fcodenutrition/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moethu","download_url":"https://codeload.github.com/moethu/codenutrition/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moethu%2Fcodenutrition/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268348611,"owners_count":24236297,"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-02T02:00:12.353Z","response_time":74,"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":["go","labels","legacy-code","transparency"],"created_at":"2024-10-15T17:42:50.604Z","updated_at":"2025-08-02T07:31:17.470Z","avatar_url":"https://github.com/moethu.png","language":"Go","readme":"# Code Nutrition\n\n[![codenutrition](http://code.grevit.net/badge/O%2B%2B_S%2B%2B_I%2B%2B_C_E_M_V%2B_PS%2B%2B_D%2B_)](http://code.grevit.net/facts/O%2B%2B_S%2B%2B_I%2B%2B_C_E_M_V%2B_PS%2B%2B_D%2B)\n\n**Imagine your code and all dependencies would carry nutrition labels.**\n\nCode Nutrition is a service for labelling code so everybody can understand what they are getting into when building upon or using your software. The survey is based on a set of questions presented by Felix von Leitner: \"Nützlich-Unbedenklich Spektrum\" at 36C3 (Minor adjustmenst have been made to the original text.) [learn more here](https://www.google.com/url?sa=t\u0026rct=j\u0026q=\u0026esrc=s\u0026source=web\u0026cd=1\u0026cad=rja\u0026uact=8\u0026ved=2ahUKEwjE-v7ropLnAhXUwMQBHd68B9UQwqsBMAB6BAgKEAQ\u0026url=https%3A%2F%2Fmedia.ccc.de%2Fv%2F36c3-10608-das_nutzlich-unbedenklich_spektrum\u0026usg=AOvVaw1_05ix3-K_lRn_T9LbJRZi).\n\nThe survey itself is still under development you are welcome to discuss, contribute and improve it. Currently it consists of 9 fundamental questions regarding the state of your (legacy) code. After answering them by multiple choice the service generates an embeddable badge representing the state of your project. I highly reccommend completing the survey even if you don't want to use the badge - the questions asked can be very helpful.\n\n[Survey](https://github.com/moethu/codenutrition/blob/master/static/spectrum.json)\n\nAgain, the intention of this repo and the survey is to get the conversation started and potentially develop a solid metric representing the state of a project.\n\n[Start your survey now](http://code.grevit.net:8084)\n\n## Requirements for building the service\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/moethu/codenutrition)](https://goreportcard.com/report/github.com/moethu/codenutrition)\n\n- go 1.11.5+\n\n### requirements (via go modules)\n\n- github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751\n- github.com/gin-gonic/gin v1.5.0\n- github.com/llgcode/draw2d v0.0.0-20200110163050-b96d8208fcfc\n- github.com/swaggo/gin-swagger v1.2.0\n- github.com/swaggo/swag v1.6.5\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoethu%2Fcodenutrition","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoethu%2Fcodenutrition","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoethu%2Fcodenutrition/lists"}