{"id":14261272,"url":"https://github.com/muon-build/muon","last_synced_at":"2025-05-16T18:05:32.647Z","repository":{"id":65390229,"uuid":"382490002","full_name":"muon-build/muon","owner":"muon-build","description":"An implementation of the meson build system in c99","archived":false,"fork":false,"pushed_at":"2025-05-13T10:45:19.000Z","size":6866,"stargazers_count":233,"open_issues_count":15,"forks_count":20,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-05-16T18:03:47.652Z","etag":null,"topics":["build-system","c99","meson"],"latest_commit_sha":null,"homepage":"https://muon.build","language":"C","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/muon-build.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSES/Apache-2.0.txt","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,"zenodo":null}},"created_at":"2021-07-03T00:08:27.000Z","updated_at":"2025-05-15T05:02:50.000Z","dependencies_parsed_at":"2024-01-16T23:26:50.207Z","dependency_job_id":"9359d7a8-f4e1-4cb1-b36d-21925be7dd26","html_url":"https://github.com/muon-build/muon","commit_stats":{"total_commits":2860,"total_committers":41,"mean_commits":69.7560975609756,"dds":0.1160839160839161,"last_synced_commit":"baf6fd99e8a051f960532d86c6d197a3d258c0c1"},"previous_names":["muon-build/muon"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muon-build%2Fmuon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muon-build%2Fmuon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muon-build%2Fmuon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muon-build%2Fmuon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/muon-build","download_url":"https://codeload.github.com/muon-build/muon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254582903,"owners_count":22095518,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["build-system","c99","meson"],"created_at":"2024-08-22T13:00:56.396Z","updated_at":"2025-05-16T18:05:32.634Z","avatar_url":"https://github.com/muon-build.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"\u003c!--\nSPDX-FileCopyrightText: Stone Tickle \u003clattis@mochiro.moe\u003e\nSPDX-FileCopyrightText: Simon Zeni \u003csimon@bl4ckb0ne.ca\u003e\nSPDX-FileCopyrightText: Andrea Pappacoda \u003candrea@pappacoda.it\u003e\nSPDX-License-Identifier: GPL-3.0-only\n--\u003e\n\n\u003cimg src=\"https://muon.build/muon_logo.svg\" alt=\"muon logo\" height=64 /\u003e\n\n# [muon]\n\nmuon is an implementation of the meson build system in c99 with minimal\ndependencies.\n\n## [Features]\n\n- `muon analyze` - a static analyzer and language server for meson.build files.\n- `muon fmt` - a meson.build code formatter\n- An interactive stepping debugger\n- A built-in cross platform [ninja implementation]\n- [fast]\n\n## Status\n\n`muon` is close to feature-complete with the core of meson for `c` and `c++`.\n\nSee the [Muon Reference] for more detailed information.\n\nThings missing include:\n\n- build optimizations like unity\n- some `b_` options\n- dependencies with a custom configuration tool\n- some modules\n\nOther differences from meson are described in the [Muon Docs].\n\nIf you want to contribute, try using `muon` to build your favorite project.\nPatches and bug reports welcome!\n\nAdditionally, muon is not fully supported on all platforms yet.  The current\nstatus may be viewed on muon's [ci dashboard].  Platforms with some or all tests\ndisabled are currently WIP and platforms not tested in CI have unknown status.\nIn general, posix systems should work fine.  Windows support is improving\nslowly.\n\n## Dependencies\n\nEssential:\n\n- A c99 compatible toolchain\n\nFor `pkgconfig` support:\n\n- A `pkg-config` binary\n- Or `libpkgconf` (`-Dlibpkgconf=enabled`)\n\nFor `[wrap-file]` support:\n\n- `libcurl`\n- `libarchive`\n\nTo build documentation:\n\n- `scdoc` for muon.1 and meson.build.5\n- `python3` and `py3-yaml` for docs imported from the meson project\n\nTo run most project tests:\n\n- `python3`\n\n## Install\n\nIf you already have meson or muon and are not interested in bootstrapping, you\ncan just do a typical meson configure, build, install:\n\n```\n$meson setup build\ncd build\nninja build\n$meson test\n$meson install\n```\n\nOtherwise, you must bootstrap muon.\n\nThe bootstrapping process has two stages.  The first stage produces a `muon`\nbinary capable of building itself (but not necessarily anything else). The\nsecond stage produces the final binary.\n\nStage 1:\n\n```\n./bootstrap.sh build\n```\n\nThis will by default build a ninja implementation (samu) into the resulting\nexecutable.  To disable this behavior use `CFLAGS=-DBOOTSTRAP_NO_SAMU`.\n\nStage 2:\n\n```\nbuild/muon-bootstrap setup build\nbuild/muon-bootstrap -C build samu\nbuild/muon-bootstrap -C build test\nbuild/muon-bootstrap -C build install\n```\n\n## Contribute\n\nPlease refer to the [contributing guide] before sending patches.  Send patches\non the [mailing list], report issues on the [issue tracker], and discuss in\n[#muon on libera.chat].\n\n## License\n\n`muon` is generally licensed under the GPL version 3.  For a more detailed\nbreakdown, each file contains license and copyright information at the top.  All\nreferenced licenses can be found in the LICENSES directory.\n\n## Credits\n\nAlthough I had already had the idea to re-implement meson in C, I was initially\ninspired to actually go out and do it when I saw [boson].  `muon`'s code was\noriginally based on `boson`, though has since been almost completely rewritten.\n\n[muon]: https://muon.build\n[contributing guide]: https://docs.muon.build/contributing.html\n[mailing list]: https://lists.sr.ht/~lattis/muon/\n[issue tracker]: https://todo.sr.ht/~lattis/muon/\n[#muon on libera.chat]: ircs://irc.libera.chat/#muon\n[meson project tests]: https://github.com/mesonbuild/meson/tree/master/test%20cases\n[Apache 2.0]: https://www.apache.org/licenses/LICENSE-2.0.txt\n[boson]: https://sr.ht/~bl4ckb0ne/boson/\n[Fast]: https://github.com/annacrombie/meson-raytracer#performance\n[ninja implementation]: https://git.sr.ht/~lattis/muon/tree/master/item/src/external/samurai/README.md\n[ci dashboard]: https://muon.build/muon_ci.html\n[Features]: https://docs.muon.build/features.html\n[Muon Docs]: https://docs.muon.build/differences.html\n[Muon Reference]: https://docs.muon.build/reference\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuon-build%2Fmuon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmuon-build%2Fmuon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuon-build%2Fmuon/lists"}