{"id":36455342,"url":"https://github.com/suyanlong/aligner","last_synced_at":"2026-01-11T23:02:41.903Z","repository":{"id":36958312,"uuid":"256375907","full_name":"suyanlong/aligner","owner":"suyanlong","description":"🐝🐝🐝 🔥🔥🔥Aligner is a perfect multi-line symbol column alignment tool 🐝🐝🐝 🔥🔥🔥","archived":false,"fork":false,"pushed_at":"2023-03-06T09:04:31.000Z","size":8358,"stargazers_count":4,"open_issues_count":10,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-19T23:14:31.427Z","etag":null,"topics":["aligner","alignment-comment","cd","ci","cli","command-line","cross-language","cross-platform","developer","developer-tools","devops","format","formater","go","toolkit","vscode"],"latest_commit_sha":null,"homepage":"https://github.com/suyanlong/aligner","language":"Go","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/suyanlong.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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":"2020-04-17T01:59:40.000Z","updated_at":"2021-10-19T11:56:21.000Z","dependencies_parsed_at":"2024-06-19T22:52:20.063Z","dependency_job_id":"0f64d2c4-5fac-4bdd-8430-0186865f785e","html_url":"https://github.com/suyanlong/aligner","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/suyanlong/aligner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suyanlong%2Faligner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suyanlong%2Faligner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suyanlong%2Faligner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suyanlong%2Faligner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/suyanlong","download_url":"https://codeload.github.com/suyanlong/aligner/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suyanlong%2Faligner/sbom","scorecard":{"id":860690,"data":{"date":"2025-08-11","repo":{"name":"github.com/suyanlong/aligner","commit":"2e6bac1f3050d9bb6e2dec461df4688b69a19854"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.6,"checks":[{"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":"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":"Code-Review","score":0,"reason":"Found 0/30 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":"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":"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":"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":"SAST","score":10,"reason":"SAST tool detected: CodeQL","details":["Info: SAST configuration detected: CodeQL","Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql-analysis.yml:28","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql-analysis.yml:29","Warn: no topLevel permission defined: .github/workflows/automake.yml:1","Warn: no topLevel permission defined: .github/workflows/build-aligner.yml:1","Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1","Warn: no topLevel permission defined: .github/workflows/stale.yml:1","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":"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":"Pinned-Dependencies","score":1,"reason":"dependency not pinned by hash detected -- score normalized to 1","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/automake.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/suyanlong/aligner/automake.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/automake.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/suyanlong/aligner/automake.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/automake.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/suyanlong/aligner/automake.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-aligner.yml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/suyanlong/aligner/build-aligner.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-aligner.yml:65: update your workflow using https://app.stepsecurity.io/secureworkflow/suyanlong/aligner/build-aligner.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build-aligner.yml:71: update your workflow using https://app.stepsecurity.io/secureworkflow/suyanlong/aligner/build-aligner.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-aligner.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/suyanlong/aligner/build-aligner.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-aligner.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/suyanlong/aligner/build-aligner.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-aligner.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/suyanlong/aligner/build-aligner.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-aligner.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/suyanlong/aligner/build-aligner.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/suyanlong/aligner/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/suyanlong/aligner/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/suyanlong/aligner/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:71: update your workflow using https://app.stepsecurity.io/secureworkflow/suyanlong/aligner/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/stale.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/suyanlong/aligner/stale.yml/master?enable=pin","Warn: downloadThenRun not pinned by hash: .github/workflows/build-aligner.yml:28","Info:   0 out of  13 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   1 out of   1 goCommand dependencies pinned","Info:   0 out of   1 downloadThenRun 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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: 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 v1.1.3 not signed: https://api.github.com/repos/suyanlong/aligner/releases/51613595","Warn: release artifact v1.1.2 not signed: https://api.github.com/repos/suyanlong/aligner/releases/51530475","Warn: release artifact v1.1.1 not signed: https://api.github.com/repos/suyanlong/aligner/releases/51530183","Warn: release artifact v1.1.0 not signed: https://api.github.com/repos/suyanlong/aligner/releases/51515657","Warn: release artifact v1.0.4 not signed: https://api.github.com/repos/suyanlong/aligner/releases/51515450","Warn: release artifact v1.1.3 does not have provenance: https://api.github.com/repos/suyanlong/aligner/releases/51613595","Warn: release artifact v1.1.2 does not have provenance: https://api.github.com/repos/suyanlong/aligner/releases/51530475","Warn: release artifact v1.1.1 does not have provenance: https://api.github.com/repos/suyanlong/aligner/releases/51530183","Warn: release artifact v1.1.0 does not have provenance: https://api.github.com/repos/suyanlong/aligner/releases/51515657","Warn: release artifact v1.0.4 does not have provenance: https://api.github.com/repos/suyanlong/aligner/releases/51515450"],"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":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2022-0493 / GHSA-p782-xgp4-8hr8","Warn: Project is vulnerable to: GO-2022-0603 / GHSA-hp87-p4gw-j4gq"],"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-24T01:10:48.896Z","repository_id":36958312,"created_at":"2025-08-24T01:10:48.896Z","updated_at":"2025-08-24T01:10:48.896Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28326166,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T22:11:01.104Z","status":"ssl_error","status_checked_at":"2026-01-11T22:10:58.990Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["aligner","alignment-comment","cd","ci","cli","command-line","cross-language","cross-platform","developer","developer-tools","devops","format","formater","go","toolkit","vscode"],"created_at":"2026-01-11T23:02:41.160Z","updated_at":"2026-01-11T23:02:41.897Z","avatar_url":"https://github.com/suyanlong.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aligner\n\nAligner is a perfect multi-line symbol column alignment tool\n\n## Feature\n* cross-platform\n* TODO 过滤\n* 开启代码段控制 aligner disable/enable\n* 文件修改监控格式化。后台进程守护。\n* 与vscode、idea 集成\n* =、+、-、/ 等运算符号对齐\n* 自定义符号对齐\n* 第一行开启不控制\n* 自适应语言代码对齐格式化\n* 单行注释与左边的代码间距设置四个空格\n\n\n## How to get\n\n```\ngo get github.com/suyanlong/aligner\n```\n\n## Usage\n\ninstall to PATH env\n```shell script\naligner -h\n\nNAME:\n   aligner - A new CI/CD cli, align multiple lines of single comments or symbols\n\nUSAGE:\n   aligner [global options] command [command options] [arguments...]\n\nVERSION:\n    aligner v1.0.0-2-g4e9cb99 darwin amd64 Wed Apr 22 11:26:05 UTC 2020\n\n\nCOMMANDS:\n   comment  align multiple lines of single comments\n   check    aligner check whether the symbols are aligned\n   help, h  Shows a list of commands or help for one command\n\nGLOBAL OPTIONS:\n   --comment value, -c value  annotation symbols\n   --path value, -p value     alignment path (default: \"/Users/suyanlong/github/aligner\")\n   --replace, -r              replace file (default: false)\n   --ext value, -e value      file extension\n   --ignore value, -i value   ignore file or direction\n   --help, -h                 show help (default: false)\n   --version, -v              print the version (default: false)\n\n```\n\n## Example\n\n### aligner before python.py file\npython.py:\n```python\nclass GosTxType:\n    gosMallPay = \"-10\"  # XXXX\n    appPay = \"-9\"  # XXXX\n    ecPay = \"-8\"  # XXXXXXXXX\n    addPool = \"-7\"  # XXXXXXXXXX\n    cityFee = \"-6\"    # XXXXXXXX\n    taskFee = \"-5\"   # XXXXXXX\n \n```\n\n### aligner after python.py file\n```shell script\naligner  -c \"#\"  -e \".py\" comment ./python.py\n```\npython.py:\n```python\nclass GosTxType:\n    gosMallPay = \"-10\"  # XXXX\n    appPay = \"-9\"       # XXXX\n    ecPay = \"-8\"        # XXXXXXXXX\n    addPool = \"-7\"      # XXXXXXXXXX\n    cityFee = \"-6\"      # XXXXXXXX\n    taskFee = \"-5\"      # XXXXXXX\n```\n\n## use aligner\n![](static/example.gif)\n\n## Contribution Welcomed !\n\nContributors\n\n* [suyanlong](https://github.com/suyanlong) \n\n\nReport issue or pull request, or email 592938410@qq.com \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuyanlong%2Faligner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuyanlong%2Faligner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuyanlong%2Faligner/lists"}