{"id":36893985,"url":"https://github.com/keyneston/mktable","last_synced_at":"2026-01-12T15:40:29.852Z","repository":{"id":52422317,"uuid":"359884515","full_name":"keyneston/mktable","owner":"keyneston","description":"Format CLI data into Markdown Tables","archived":false,"fork":false,"pushed_at":"2022-06-23T12:25:44.000Z","size":44,"stargazers_count":5,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-06T02:42:38.804Z","etag":null,"topics":["cli","formatting","golang","markdown","markdown-table"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/keyneston.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":"2021-04-20T16:36:35.000Z","updated_at":"2024-12-03T16:31:53.000Z","dependencies_parsed_at":"2022-09-18T00:22:22.638Z","dependency_job_id":null,"html_url":"https://github.com/keyneston/mktable","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/keyneston/mktable","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keyneston%2Fmktable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keyneston%2Fmktable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keyneston%2Fmktable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keyneston%2Fmktable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/keyneston","download_url":"https://codeload.github.com/keyneston/mktable/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keyneston%2Fmktable/sbom","scorecard":{"id":558032,"data":{"date":"2025-08-11","repo":{"name":"github.com/keyneston/mktable","commit":"c69dc5c38281fe66825135eb8a84c75e51380ca0"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.1,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/27 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/go.yml:1","Warn: topLevel 'contents' permission set to 'write': .github/workflows/goreleaser.yml:9","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/keyneston/mktable/go.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/keyneston/mktable/go.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/goreleaser.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/keyneston/mktable/goreleaser.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/goreleaser.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/keyneston/mktable/goreleaser.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/goreleaser.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/keyneston/mktable/goreleaser.yml/master?enable=pin","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 3-Clause \"New\" or \"Revised\" License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.0.5 not signed: https://api.github.com/repos/keyneston/mktable/releases/42261493","Warn: release artifact v0.0.4 not signed: https://api.github.com/repos/keyneston/mktable/releases/42226585","Warn: release artifact v0.0.3 not signed: https://api.github.com/repos/keyneston/mktable/releases/42224471","Warn: release artifact v0.0.2 not signed: https://api.github.com/repos/keyneston/mktable/releases/42216456","Warn: release artifact v0.0.1 not signed: https://api.github.com/repos/keyneston/mktable/releases/42192117","Warn: release artifact v0.0.5 does not have provenance: https://api.github.com/repos/keyneston/mktable/releases/42261493","Warn: release artifact v0.0.4 does not have provenance: https://api.github.com/repos/keyneston/mktable/releases/42226585","Warn: release artifact v0.0.3 does not have provenance: https://api.github.com/repos/keyneston/mktable/releases/42224471","Warn: release artifact v0.0.2 does not have provenance: https://api.github.com/repos/keyneston/mktable/releases/42216456","Warn: release artifact v0.0.1 does not have provenance: https://api.github.com/repos/keyneston/mktable/releases/42192117"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 3 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-20T12:51:51.791Z","repository_id":52422317,"created_at":"2025-08-20T12:51:51.791Z","updated_at":"2025-08-20T12:51:51.791Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28341249,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T12:22:26.515Z","status":"ssl_error","status_checked_at":"2026-01-12T12:22:10.856Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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","formatting","golang","markdown","markdown-table"],"created_at":"2026-01-12T15:40:28.624Z","updated_at":"2026-01-12T15:40:29.844Z","avatar_url":"https://github.com/keyneston.png","language":"Go","readme":"# mktable\n\n[![Go](https://github.com/keyneston/mktable/actions/workflows/go.yml/badge.svg)](https://github.com/keyneston/mktable/actions/workflows/go.yml)\n\n`mktable` is a simplish cli tool which consumes content via STDIN and converts\nit into a pretty aligned table ready for use in markdown.\n\n# Installation\n\n```shell\nbrew tap keyneston/tap\nbrew install mktable\n```\n\nWith go installed:\n\n```shell\ngo install github.com/keyneston/mktable@latest\n```\n\nOr download the [latest release](https://github.com/keyneston/mktable/releases/) and add to your path.\n\n\n# Use\n\n```\n$ netstat -i | head -5 | mktable -s ' +'\n| Name | Mtu   | Network     | Address   | Ipkts   | Ierrs   | Opkts   | Oerrs | Coll |\n| ---- | ----- | ----------- | --------- | ------- | ------- | ------- | ----- | ---- |\n| lo0  | 16384 | \u003cLink#1\u003e    | 9583572   | 0       | 9583572 | 0       | 0     |      |\n| lo0  | 16384 | 127         | localhost | 9583572 | -       | 9583572 | -     | -    |\n| lo0  | 16384 | localhost   | ::1       | 9583572 | -       | 9583572 | -     | -    |\n| lo0  | 16384 | keyport.loc | fe80:1::1 | 9583572 | -       | 9583572 | -     | -    |\n```\n\n## Flags\n\n| Flag               | Default          | Description                                                    |\n| ------------------ | ---------------- | -------------------------------------------------------------- |\n| `-s`               | `[ \\t]*\\t[ \\t]*` | Regexp used to set the delimiter                               |\n| `-no-headers`      | `false`          | Skip printing headers                                          |\n| `-r` / `-reformat` | `false`          | Reformat existing markdown table. Alias for `-format mk`       |\n| `-a`               | none             | Sets the alignment. See [Alignment](#alignment)                |\n| `-f` / `-format`   | `regexp`         | Sets the input format. See [Formats](#format) for more details |\n\n## Formats\n\n| Format            | Description                                         |\n| ----------------- | --------------------------------------------------- |\n| `re` / `regexp`   | Regular Expression Delimiter                        |\n| `csv`             | Comma Separated List                                |\n| `mk` / `markdown` | Consume an existing markdown table for reformatting |\n\n\n## Alignment\n\n**EXPERIMENTAL**\n\nThe alignment flag can be passed multiple times and/or passed as a comma\nseperated list.\n\nIt takes a number indicating a zero indexed column, and a character\nindicating how to align the column.\n\n| char | alignment |\n| ---- | --------- |\n| `\u003e`  | right     |\n| `\u003c`  | left      |\n| `=`  | center    |\n\n### Examples\n\n| Example              | Description                                             |\n| -------------------- | ------------------------------------------------------- |\n| `-a '0\u003c'`            | left align the 1st column                               |\n| `-a '1='`            | center align the 2nd column                             |\n| `-a '1=,2\u003e'`         | center align the 2nd column, and right align the second |\n| `-a '1=,2\u003e' -a '3='` | as above, but also center align the 4th column          |\n\n\n## Reformat existing tables\n\n```\n$ mktable -r \u003c\u003cEOF\n| Foo      | Bar |\n| a | b\n| a  | b |\nEOF\n| Foo | Bar |\n| --- | --- |\n| a   | b   |\n| a   | b   |\n```\n\nThis can be used with vim to easily fix tables. First select the the lines you want (`Shift-V`) and then pipe it `:!mktable -r`.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeyneston%2Fmktable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeyneston%2Fmktable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeyneston%2Fmktable/lists"}