{"id":15407108,"url":"https://github.com/ltfschoen/codekarma","last_synced_at":"2026-02-11T03:07:33.961Z","repository":{"id":253759479,"uuid":"805538582","full_name":"ltfschoen/CodeKarma","owner":"ltfschoen","description":"CodeKarma - A CLI tool to check that the code you write aligns with your values written in your manifesto.","archived":false,"fork":false,"pushed_at":"2024-08-21T10:57:27.000Z","size":6486,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-08-24T22:06:12.867Z","etag":null,"topics":["cli","deno","docker","ethberlin","github-actions","nektos-act","typescript"],"latest_commit_sha":null,"homepage":"https://projects.ethberlin.org/teams/1020","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ltfschoen.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":"2024-05-24T19:56:33.000Z","updated_at":"2024-08-21T10:57:31.000Z","dependencies_parsed_at":"2024-08-21T12:08:54.810Z","dependency_job_id":null,"html_url":"https://github.com/ltfschoen/CodeKarma","commit_stats":{"total_commits":25,"total_committers":2,"mean_commits":12.5,"dds":0.36,"last_synced_commit":"df3711ef48ec4049f8db1403a4a4d54699536bc3"},"previous_names":["ltfschoen/ethberlin04"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ltfschoen/CodeKarma","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ltfschoen%2FCodeKarma","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ltfschoen%2FCodeKarma/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ltfschoen%2FCodeKarma/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ltfschoen%2FCodeKarma/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ltfschoen","download_url":"https://codeload.github.com/ltfschoen/CodeKarma/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ltfschoen%2FCodeKarma/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29326078,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T02:08:56.257Z","status":"ssl_error","status_checked_at":"2026-02-11T02:08:51.338Z","response_time":97,"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":["cli","deno","docker","ethberlin","github-actions","nektos-act","typescript"],"created_at":"2024-10-01T16:27:05.138Z","updated_at":"2026-02-11T03:07:33.945Z","avatar_url":"https://github.com/ltfschoen.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Code Karma\n\n\u003e A CLI tool to check that the code you write aligns with your values written in your manifesto.\n\n# Overview\n\nSimple Deno CLI app using Act for local Github Actions to demonstrate checking\ncompliance of dependencies in a repository against a manifesto of an ideology.\n\n# Project Scrum Board\n\nhttps://github.com/users/ltfschoen/projects/2\n\n# Tests\n\n```\ndeno test --allow-read ${workspaceFolder}./tests/main_test.ts\n```\n\n# Working Demo\n\n* Setup VS Code or A or similar. \n  * Go to marketplace and add Deno extension (ID denoland.vscode-deno).\n* Install the (Deno CLI)[https://deno.com/#installation].\n* Install binary\n```bash\n./install.sh\n```\n* Run the following command:\n```bash\n./run.sh\n```\n* View output\n![preview](./screenshots/preview.png)\n\n## WIP - Check my dependencies\n\nTo check your code, go to the root folder of your project and run `codekarma` \nIt will expect a manifest, either in the root folder called `codekarma.manifest` or you pass different location with the `--manifest` flag.\n\n```bash\n./install.sh\ncodekarma --manifest my.manifest\n```\n\n# Working Demo with Github Actions using Act in a Docker container \n\n* Install [Docker](https://docs.docker.com/get-docker/)\n* Build Docker container from image\n```\nexport DOCKER_DEFAULT_PLATFORM=linux/amd64\n./docker/build.sh\n```\n\n* Run Docker container\n```\n./docker/run.sh\n```\n\n* Enter shell of Docker container\n```\ndocker exec --user root -it ltfschoen-ethberlin04 /bin/bash\n```\n\n* Run within Docker container all jobs named 'run' in Github Actions locally using Act\nhttps://nektosact.com/usage/index.html#workflows\n```\n./bin/act --container-options \\\"--privileged\\\" --workflows '.github/workflows/dev.yml' -j 'run' --json --platform ubuntu-18.04=nektos/act-environments-ubuntu:18.04 --watch\n```\n\n* Note: Default image and other options can be changed manually in ~/.actrc (please refer to https://github.com/nektos/act#configuration for additional information about file structure)\n\n* Remove Docker container `docker stop ltfschoen-ethberlin04 \u0026\u0026 docker rm ltfschoen-ethberlin04`\n\n## Troubleshooting\n\n* Show docker url for the engine running with docker-desktop, point docker-compose to the engine running with the desktop UI\n  * https://nektosact.com/usage/custom_engine.html\n  * https://nektosact.com/missing_functionality/docker_context.html\n```\ndocker context list\nexport DOCKER_HOST=\"unix:///var/run/docker.sock\"\nsource ~/.bashrc\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fltfschoen%2Fcodekarma","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fltfschoen%2Fcodekarma","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fltfschoen%2Fcodekarma/lists"}