{"id":45414167,"url":"https://github.com/grumpypixel/msfs2020-simconnect-go","last_synced_at":"2026-02-22T00:44:18.795Z","repository":{"id":46329644,"uuid":"334890750","full_name":"grumpypixel/msfs2020-simconnect-go","owner":"grumpypixel","description":"Golang interface for Microsoft Flight Simulator 2020 (MSFS2020 ) using SimConnect","archived":false,"fork":false,"pushed_at":"2021-09-27T20:43:18.000Z","size":110,"stargazers_count":11,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-11-13T13:54:37.715Z","etag":null,"topics":["api","flight","flight-simulator","fs2020","golang","microsoft-flight-simulator-2020","msfs2020","simconnect","simulator"],"latest_commit_sha":null,"homepage":"","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/grumpypixel.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-02-01T09:07:19.000Z","updated_at":"2024-10-15T04:53:19.000Z","dependencies_parsed_at":"2022-09-16T13:30:41.630Z","dependency_job_id":null,"html_url":"https://github.com/grumpypixel/msfs2020-simconnect-go","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/grumpypixel/msfs2020-simconnect-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grumpypixel%2Fmsfs2020-simconnect-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grumpypixel%2Fmsfs2020-simconnect-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grumpypixel%2Fmsfs2020-simconnect-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grumpypixel%2Fmsfs2020-simconnect-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grumpypixel","download_url":"https://codeload.github.com/grumpypixel/msfs2020-simconnect-go/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grumpypixel%2Fmsfs2020-simconnect-go/sbom","scorecard":{"id":446802,"data":{"date":"2025-08-11","repo":{"name":"github.com/grumpypixel/msfs2020-simconnect-go","commit":"b46d02c1b8254a5cc59789c98681c1909284126b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"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":"Code-Review","score":0,"reason":"Found 0/17 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":"SAST","score":0,"reason":"no SAST tool detected","details":["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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT 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":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"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":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2022-0493 / GHSA-p782-xgp4-8hr8"],"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-19T06:57:19.567Z","repository_id":46329644,"created_at":"2025-08-19T06:57:19.567Z","updated_at":"2025-08-19T06:57:19.567Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29701240,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T23:35:04.139Z","status":"ssl_error","status_checked_at":"2026-02-21T23:35:03.832Z","response_time":107,"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":["api","flight","flight-simulator","fs2020","golang","microsoft-flight-simulator-2020","msfs2020","simconnect","simulator"],"created_at":"2026-02-22T00:44:18.184Z","updated_at":"2026-02-22T00:44:18.786Z","avatar_url":"https://github.com/grumpypixel.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# msfs2020-simconnect-go\n\nThis is a Golang interface for Microsoft Flight Simulator 2020 (MSFS2020 ) using SimConnect.\n\n## Installation\n\n`$ go get github.com/grumpypixel/msfs2020-simconnect-go`\n\n## Does it work?\n\nYes, it does. This package was created to power the [msfs2020-gopilot](https://github.com/grumpypixel/msfs2020-gopilot).\n\nPlease note that this interface is not complete, but a lot of the SimConnect functionality has been implemented.\n\n## Where's the Documentation?\n\nCheck out the official [SimConnect API Reference](https://docs.flightsimulator.com/html/index.htm#t=Programming_Tools%2FSimConnect%2FSimConnect_API_Reference.htm).\n\nApart from that, there's no other documenation at the moment. Since this is still *work in progress* the code is your friend.\n\nSo go ahead and have a look at the file [defs.go](https://github.com/grumpypixel/msfs2020-simconnect-go/blob/main/simconnect/defs.go) which is, more or less, the transfused code from SimConnect.h.\n\n## Any Examples?\n\nAt the time of writing, there are two simple [examples](https://github.com/grumpypixel/msfs2020-simconnect-go/tree/main/examples) available.\n\n[Example #1](https://github.com/grumpypixel/msfs2020-simconnect-go/blob/main/examples/01_simconnect/main.go) shows the basic [SimConnect](https://github.com/grumpypixel/msfs2020-simconnect-go/blob/main/simconnect/simconnect.go) interface. With this approach, you will need to manage all *simulation variables*, *requests* etc. yourself. This is most likely what you want.\n\n[Example #2](https://github.com/grumpypixel/msfs2020-simconnect-go/blob/main/examples/02_simmate/main.go) shows how to use the [SimMate](https://github.com/grumpypixel/msfs2020-simconnect-go/blob/main/simconnect/simmate.go), a convenience class where the [management](https://github.com/grumpypixel/msfs2020-simconnect-go/blob/main/simconnect/simvar_manager.go) of [SimVars](https://github.com/grumpypixel/msfs2020-simconnect-go/blob/main/simconnect/simvar.go) is handled for you. This encapsulation works for the [GoPilot](https://github.com/grumpypixel/msfs2020-gopilot) above mentioned, but it may not work for you. Just build your own - which is awesome because this package might get inspired by your creation and improvements.\n\n## SimMate? Seriously?\n\nBecause I didn't want to call it *Something* *Something* *Manager*, that's why.\n\n## Do you suffer from naming paralysis from time to time?\n\nYes. Way too often. But names do matter. And sometimes a stupid name is better than no name at all.\n\nNonetheless.\n\nCheers and Happy coding!\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrumpypixel%2Fmsfs2020-simconnect-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrumpypixel%2Fmsfs2020-simconnect-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrumpypixel%2Fmsfs2020-simconnect-go/lists"}