{"id":21499357,"url":"https://github.com/alaingalvan/metal-seed","last_synced_at":"2026-02-11T19:35:02.433Z","repository":{"id":80890383,"uuid":"208939831","full_name":"alaingalvan/metal-seed","owner":"alaingalvan","description":"🤖🌱 An Apple Metal starter repo that you could use to get the ball rolling.","archived":false,"fork":false,"pushed_at":"2021-06-30T03:17:38.000Z","size":28,"stargazers_count":38,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-10T16:45:56.436Z","etag":null,"topics":["example","graphics","intro","metal","seed"],"latest_commit_sha":null,"homepage":"https://alain.xyz/blog/raw-metal","language":"Objective-C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alaingalvan.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","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":"2019-09-17T02:19:35.000Z","updated_at":"2025-06-03T07:37:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"c2aefc48-65c1-4897-8234-17e86067023e","html_url":"https://github.com/alaingalvan/metal-seed","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/alaingalvan/metal-seed","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alaingalvan%2Fmetal-seed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alaingalvan%2Fmetal-seed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alaingalvan%2Fmetal-seed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alaingalvan%2Fmetal-seed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alaingalvan","download_url":"https://codeload.github.com/alaingalvan/metal-seed/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alaingalvan%2Fmetal-seed/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29342118,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T18:58:20.535Z","status":"ssl_error","status_checked_at":"2026-02-11T18:56:44.814Z","response_time":97,"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":["example","graphics","intro","metal","seed"],"created_at":"2024-11-23T17:15:42.341Z","updated_at":"2026-02-11T19:35:02.419Z","avatar_url":"https://github.com/alaingalvan.png","language":"Objective-C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Cover Art](https://alain.xyz/blog/raw-metal/assets/cover.jpg)\n\n# Metal Seed\n\n[![cmake-img]][cmake-url]\n[![License][license-img]][license-url]\n\nA Metal repo you can use to get started with your own renderer.\n\n## Setup\n\nFirst install:\n\n- [Git](https://git-scm.com/)\n\n- [CMake](https://cmake.org)\n\n- [XCode](https://developer.apple.com/xcode/)\n\nThen type the following in your [terminal](https://hyper.is/).\n\n```bash\n# 🐑 Clone the repo\ngit clone https://github.com/alaingalvan/metal-seed --recurse-submodules\n\n# 💿 go inside the folder\ncd metal-seed\n\n# 👯 If you forget to `recurse-submodules` you can always run:\ngit submodule update --init\n\n# 👷 Make a build folder\nmkdir build\ncd build\n\n# 🍎 To build your XCode project on Mac OS\ncmake .. -G Xcode\n\n# 📱 To build your XCode project targeting iOS / iPad OS\ncmake .. -G Xcode -DCMAKE_SYSTEM_NAME=iOS\n\n# 🔨 Build project\ncmake --build .\n```\n\n\u003e Refer to [this blog post on designing C++ libraries and apps](https://alain.xyz/blog/designing-a-cpp-library) for more details on CMake, Git Submodules, etc.\n\n## Project Layout\n\nAs your project becomes more complex, you'll want to separate files and organize your application to something more akin to a game or renderer, check out this post on [game engine architecture](https://alain.xyz/blog/game-engine-architecture) and this one on [real time renderer architecture](https://alain.xyz/blog/realtime-renderer-architectures) for more details.\n\n```bash\n├─ 📂 external/                    # 👶 Dependencies\n│  ├─ 📁 crosswindow/                    # 🖼️ OS Windows\n│  ├─ 📁 crosswindow-graphics/           # 🎨 Metal Layer Creation\n│  └─ 📁 glm/                            # ➕ Linear Algebra\n├─ 📂 src/                         # 🌟 Source Files\n│  ├─ 📄 Utils.h                         # ⚙️ Utilities (Load Files, Check Shaders, etc.)\n│  ├─ 📄 Renderer.h                      # 🔺 Triangle Draw Code\n│  ├─ 📄 Renderer.mm                     # -\n│  └─ 📄 Main.mm                         # 🏁 Application Main\n├─ 📄 .gitignore                   # 👁️ Ignore certain files in git repo\n├─ 📄 CMakeLists.txt               # 🔨 Build Script\n├─ 📄 license.md                   # ⚖️ Your License (Unlicense)\n└─ 📃readme.md                     # 📖 Read Me!\n```\n\n[cmake-img]: https://img.shields.io/badge/cmake-3.6-1f9948.svg?style=flat-square\n[cmake-url]: https://cmake.org/\n[license-img]: https://img.shields.io/:license-mit-blue.svg?style=flat-square\n[license-url]: https://opensource.org/licenses/MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falaingalvan%2Fmetal-seed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falaingalvan%2Fmetal-seed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falaingalvan%2Fmetal-seed/lists"}