{"id":13548422,"url":"https://github.com/arononak/git_stamp","last_synced_at":"2026-02-25T04:34:39.569Z","repository":{"id":212018745,"uuid":"730383103","full_name":"arononak/git_stamp","owner":"arononak","description":"Advanced await-less information provider and development tool.","archived":false,"fork":false,"pushed_at":"2024-10-29T08:38:39.000Z","size":43952,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-29T09:31:33.018Z","etag":null,"topics":["code-generation","codegen","dart","flutter","git","tool"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/git_stamp","language":"Dart","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/arononak.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"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":"2023-12-11T20:03:17.000Z","updated_at":"2024-10-29T08:38:44.000Z","dependencies_parsed_at":"2024-02-24T13:38:21.943Z","dependency_job_id":"9501490a-e7df-4f34-b289-3d285edc7eb1","html_url":"https://github.com/arononak/git_stamp","commit_stats":null,"previous_names":["arononak/git_stamp"],"tags_count":60,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arononak%2Fgit_stamp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arononak%2Fgit_stamp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arononak%2Fgit_stamp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arononak%2Fgit_stamp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arononak","download_url":"https://codeload.github.com/arononak/git_stamp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246895757,"owners_count":20851323,"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":["code-generation","codegen","dart","flutter","git","tool"],"created_at":"2024-08-01T12:01:10.139Z","updated_at":"2025-10-23T01:46:21.362Z","avatar_url":"https://github.com/arononak.png","language":"Dart","funding_links":[],"categories":["Dart"],"sub_categories":[],"readme":"# [Git Stamp 🏷](TODO.md) Stamp Every App Build!\n\nAdvanced await-less **information provider** \u0026 **development tool**.\n\n[![Latest Tag](https://img.shields.io/github/v/tag/arononak/git_stamp?style=flat\u0026logo=github\u0026labelColor=black\u0026color=white)](https://github.com/arononak/git_stamp/tags)\n[![GitHub stars](https://img.shields.io/github/stars/arononak/git_stamp.svg?style=flat\u0026logo=github\u0026label=Star\u0026labelColor=black\u0026color=white)](https://github.com/arononak/git_stamp/)\n[![Commits](https://img.shields.io/github/commit-activity/m/arononak/git_stamp?style=flat\u0026logo=github\u0026labelColor=black\u0026color=white)](https://github.com/arononak/git_stamp/graphs/contributors)\n![Dev](https://img.shields.io/github/actions/workflow/status/arononak/git_stamp/.github%2Fworkflows%2Fdev.yml?style=flat\u0026logo=github\u0026labelColor=black\u0026color=white\u0026label=dev)\n![Prod](https://img.shields.io/github/actions/workflow/status/arononak/git_stamp/.github%2Fworkflows%2Fprod.yml?style=flat\u0026logo=github\u0026labelColor=black\u0026color=white\u0026label=prod)\n\n[![Pub Package](https://img.shields.io/pub/v/git_stamp.svg?style=flat\u0026logo=dart\u0026labelColor=289ACF\u0026color=white)](https://pub.dev/packages/git_stamp)\n[![Likes](https://img.shields.io/pub/likes/git_stamp?style=flat\u0026logo=dart\u0026labelColor=289ACF\u0026color=white)](https://pub.dev/packages/git_stamp)\n[![package publisher](https://img.shields.io/pub/publisher/git_stamp?style=flat\u0026logo=dart\u0026labelColor=289ACF\u0026color=white)](https://pub.dev/packages/git_stamp/publisher)\n\n[\u003cimg src=\"https://raw.githubusercontent.com/arononak/git_stamp/refs/heads/main/images/aroncode.png\" height=\"200\" align=\"right\"\u003e](https://pub.dev/packages/git_stamp)\n\n- [Git Stamp 🏷 Stamp Every App Build!](#git-stamp--stamp-every-app-build)\n  - [🏞️ Preview](#️-preview)\n  - [📑️ About (Changelog)](#️-about-changelog)\n    - [Why Git Stamp?](#why-git-stamp)\n    - [Inspiration](#inspiration)\n  - [🛠️ Installation](#️-installation)\n  - [🏗️ Generating](#️-generating)\n  - [💻 Usage](#-usage)\n  - [🔥Contributors](#contributors)\n  - [💰 Sponsors](#-sponsors)\n  - [📝 License](#-license)\n\n## [🏞️ Preview](PREVIEW.md)\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://gitstamp.web.app\"\u003e\u003cb\u003eExample\u003c/b\u003e\u003c/a\u003e •\n  \u003ca href=\"https://gitstamp-encrypted.web.app\"\u003e\u003cb\u003eExample Encrypted\u003c/b\u003e\u003c/a\u003e •\n  \u003ca href=\"https://arononak.github.io/git_stamp/doc/api/index.html\"\u003e\u003cb\u003eAPI Documentation\u003c/b\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cimg src=\"https://github.com/arononak/git_stamp/blob/main/images/git_config.png?raw=true\" alt=\"Git Config\" style=\"width: 100%;\"\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"https://github.com/arononak/git_stamp/blob/main/images/details.png?raw=true\" alt=\"Details\" style=\"width: 100%;\"\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n## 📑️ About ([Changelog](CHANGELOG.md))\n\n[\u003cimg src=\"https://www.gov.pl/photo/f98cae42-2b90-4596-904c-752278f85606\" height=\"100\" align=\"right\"\u003e](https://www.gov.pl/web/rolnictwo/produkt-polski1)\n\n### Why Git Stamp?\n\nWhen working with **Flutter** and **Git**, especially in a team environment, human errors such as forgetting to run git pull can lead to issues during branch merges. Git Stamp helps address these problems by offering:\n- **Build Date, SHA \u0026 Branch Information** - Git Stamp allows you to precisely determine which version of the application was deployed. This is especially useful during debugging or verifying issues, as application versions and build numbers are not always updated correctly.\n- **Debugging and Troubleshooting** - Knowing the build date and exact code version (SHA) makes it much easier for the development team to identify the problematic code when users report bugs.\n- **Avoiding Lost Changes in Teamwork** - It allows you to quickly see which commits made it into the final version of the application, helping to prevent missing changes due to overlooked `git pull` commands.\n- **Caching Issues in the Web Version** - Even if the latest version is deployed, users may still see an older version due to caching. Git Stamp helps identify whether the deployed version or an outdated one was loaded.\n\n\u003cdetails\u003e\n\u003csummary\u003eMechanism 🕯️\u003c/summary\u003e\n\n```mermaid\ngraph TD\n    CODE((SOURCE CODE))--\u003eSYNC(flutter pub get)\n    SYNC--\u003eBUILD(flutter build ...)\n\n    subgraph \"App\"\n        CODE\n        PUB\n        PUB((PACKAGES))--\u003eCODE\n    end\n\n    subgraph \"Git Stamp\"\n        GIT_CLI(GIT CLI)--\u003eGENERATOR\n        DART_CLI(DART CLI)--\u003eGENERATOR\n        FLUTTER_CLI(FLUTTER CLI)--\u003eGENERATOR\n    end\n\n    subgraph \"Git Stamp CLI\"\n        GENERATE\n        ADD\n    end\n\n    GENERATOR((GENERATOR))--\u003eADD(~$ dart pub add git_stamp)\n    ADD--\u003e|Add package|PUB\n\n    GENERATOR--\u003eGENERATE(~$ dart run git_stamp)\n    GENERATE--\u003e|Create ./git_stamp directory with .dart files|CODE\n```\n\n\u003c/details\u003e\n\n### Inspiration\n\nThe main inspiration was **Minecraft** with information like this:\n```\nVersion: v1.20.81\nBuild: 24130126\nBranch: r/20_u8\nSHA: a9081c5429038dcf3f26269f7351d89f\n```\n\nGit Stamp code:\n```dart\nimport 'git_stamp/git_stamp.dart';\n\nText('Version: ${GitStamp.appVersion}'),\nText('Build: ${GitStamp.appBuild}'),\nText('Branch: ${GitStamp.buildBranch}'),\nText('SHA: ${GitStamp.sha}'),\n```\n\n## [🛠️ Installation](INSTALLATION.md)\n\n```yml\ndependencies:\n  git_stamp: ^5.2.0\ndependency_overrides:\n  meta: ^1.1.5\n```\n\n## [🏗️ Generating](GENERATING.md)\n\n```cli\ndart run git_stamp --build-type full\n```\n\n## [💻 Usage](USAGE.md)\n\n```dart\nif (kDebugMode) ...[\n  GitStamp.listTile(\n    context: context,\n    monospaceFontFamily: GoogleFonts.spaceMono().fontFamily,\n  ),\n],\n```\n\n## 🔥Contributors\n\n\u003ca href=\"https://github.com/arononak/git_stamp/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=arononak/git_stamp\" /\u003e\n\u003c/a\u003e\n\n## 💰 Sponsors\n\n|                         [Aron Code](https://aroncode.com)                         |\n| :-------------------------------------------------------------------------------: |\n| ![](https://github.com/arononak/git_stamp/blob/main/images/aroncode.png?raw=true) |\n\n## 📝 License\n\n\u003e [!NOTE]\n\u003e Copyright © 2024 Aron Onak. All rights reserved.\u003cbr\u003e\n\u003e Licensed under the [MIT](LICENSE) license.\u003cbr\u003e\n\u003e If you have any feedback, please contact me at arononak@gmail.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farononak%2Fgit_stamp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farononak%2Fgit_stamp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farononak%2Fgit_stamp/lists"}