{"id":13711643,"url":"https://github.com/speelbarrow/kmap","last_synced_at":"2026-04-20T07:32:14.558Z","repository":{"id":144290612,"uuid":"421040157","full_name":"speelbarrow/kmap","owner":"speelbarrow","description":"A program for generating k-maps based on user input.","archived":false,"fork":false,"pushed_at":"2022-05-31T15:26:25.000Z","size":128,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-04T10:33:16.302Z","etag":null,"topics":["bdd","cli","command-line","command-line-tool","cucumber","gherkin","go","go117","godog","golang","golang117","k-map","karnaugh-map","kmap"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/speelbarrow.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2021-10-25T13:40:50.000Z","updated_at":"2022-04-01T23:45:05.000Z","dependencies_parsed_at":"2023-07-27T23:16:29.329Z","dependency_job_id":null,"html_url":"https://github.com/speelbarrow/kmap","commit_stats":null,"previous_names":["speelbarrow/kmap","noah-friedman/kmap"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/speelbarrow/kmap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/speelbarrow%2Fkmap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/speelbarrow%2Fkmap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/speelbarrow%2Fkmap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/speelbarrow%2Fkmap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/speelbarrow","download_url":"https://codeload.github.com/speelbarrow/kmap/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/speelbarrow%2Fkmap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32037860,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"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":["bdd","cli","command-line","command-line-tool","cucumber","gherkin","go","go117","godog","golang","golang117","k-map","karnaugh-map","kmap"],"created_at":"2024-08-02T23:01:10.244Z","updated_at":"2026-04-20T07:32:14.542Z","avatar_url":"https://github.com/speelbarrow.png","language":"Go","funding_links":[],"categories":["Repositories"],"sub_categories":[],"readme":"# kmap [![CI/CD](https://github.com/noah-friedman/kmap/actions/workflows/CICD.yml/badge.svg)](https://github.com/noah-friedman/kmap/actions/workflows/CICD.yml) [![Go Reference](https://pkg.go.dev/badge/github.com/noah-friedman/kmap.svg)](https://pkg.go.dev/github.com/noah-friedman/kmap)\n\nA program for generating [k-maps](https://en.wikipedia.org/wiki/Karnaugh_map) based on user input.\n\n### EXAMPLES\n```shell\n\u003e kmap\n  \n  What is the size of the k-map? (3): \n  3\n  What are the arguments to the k-map?: \n  0,1,6,7\n  What are the don`t care conditions of of the k-map?:\n  2, 4\n  \n                y\n    -----------------\n    | 1 | 1 | 0 | X |\n    -----------------\n  x | X | 0 | 1 | 1 |\n    -----------------\n            z\n```\n```shell\n\u003e kmap -s 2 -a '1, 2' -dc ''\n          y\n    ---------\n    | 0 | 1 |\n    ---------\n  x | 1 | 0 |\n    ---------\n```\n\n### INSTALLATION\n- With Go 1.17+ installed:\n  ```shell\n  \u003e go install github.com/noah-friedman/kmap/bin/kmap@latest\n  ```\n\n- Without Go 1.17+ installed:\n  \n  See [Releases](https://github.com/noah-friedman/kmap/releases) for pre-compiled binaries.\n\n### USAGE\nAfter running the `kmap` program the user is prompted for three inputs:\n- The size of the k-map (a.k.a. the number of variables in the k-map)\n  \n  Valid: [2-4]\n- The arguments of the k-map\n\n  Valid: [0-2\u003csup\u003esize\u003c/sup\u003e)\n- The don't care conditions of the k-map\n  \n  Valid: [0-2\u003csup\u003esize\u003c/sup\u003e)\n\n**NOTE**: The arguments and don't care conditions must not overlap.\n\nWhen inputting the arguments of the k-map the user may provide a series of valid numbers seperated by any characters as long as each separation contains the *same* characters. Otherwise, an error will occur.\n\nInstead of inputting parameters directly, the user may provide arguments to the `kmap` program:\n- `-s` or `-size` for the size parameter\n- `-a` or `-args` for the arguments to the k-map\n- `-dc` or `-dont-care` for the don't care conditions of the k-map\n\n### EXIT CODES\n- `0`: Everything went fine, the program executed successfully\n- `1`: Some kind of bug or error in the way I wrote the program.\n- `2`: Some kind of bug in a library called by the program (possibly due to a misunderstanding of the library on my part).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspeelbarrow%2Fkmap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspeelbarrow%2Fkmap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspeelbarrow%2Fkmap/lists"}