{"id":24044632,"url":"https://github.com/dev-cetera/df_generate_dart_indexes","last_synced_at":"2026-05-15T09:40:44.890Z","repository":{"id":251485642,"uuid":"837562440","full_name":"dev-cetera/df_generate_dart_indexes","owner":"dev-cetera","description":"A tool to generate index/exports files also known as barrel files for all Dart files in a directory.","archived":false,"fork":false,"pushed_at":"2025-01-20T06:42:06.000Z","size":89,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-20T07:34:13.922Z","etag":null,"topics":["barrel-file","build-runner","cli","code-generation","codegen","dart","index","index-files","tool"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/df_generate_dart_indexes","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/dev-cetera.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":"2024-08-03T10:45:42.000Z","updated_at":"2025-01-20T06:42:07.000Z","dependencies_parsed_at":"2025-01-01T05:19:36.407Z","dependency_job_id":"91056b59-10a8-4d54-a65a-01da639ec1cb","html_url":"https://github.com/dev-cetera/df_generate_dart_indexes","commit_stats":null,"previous_names":["robmllze/df_generate_dart_indexes","devcetra/df_generate_dart_indexes","dev-cetera/df_generate_dart_indexes"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-cetera%2Fdf_generate_dart_indexes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-cetera%2Fdf_generate_dart_indexes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-cetera%2Fdf_generate_dart_indexes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-cetera%2Fdf_generate_dart_indexes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dev-cetera","download_url":"https://codeload.github.com/dev-cetera/df_generate_dart_indexes/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240822693,"owners_count":19863307,"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":["barrel-file","build-runner","cli","code-generation","codegen","dart","index","index-files","tool"],"created_at":"2025-01-08T23:32:34.320Z","updated_at":"2026-05-15T09:40:44.883Z","avatar_url":"https://github.com/dev-cetera.png","language":"Dart","funding_links":["https://www.buymeacoffee.com/dev_cetera","https://github.com/sponsors/dev-cetera","https://www.patreon.com/robelator"],"categories":[],"sub_categories":[],"readme":"[![banner](https://github.com/dev-cetera/df_generate_dart_indexes/blob/v0.6.4/doc/assets/banner.png?raw=true)](https://github.com/dev-cetera)\n\n[![pub](https://img.shields.io/pub/v/df_generate_dart_indexes.svg)](https://pub.dev/packages/df_generate_dart_indexes)\n[![tag](https://img.shields.io/badge/Tag-v0.6.4-purple?logo=github)](https://github.com/dev-cetera/df_generate_dart_indexes/tree/v0.6.4)\n[![buymeacoffee](https://img.shields.io/badge/Buy%20Me%20A%20Coffee-FFDD00?logo=buy-me-a-coffee\u0026logoColor=black)](https://www.buymeacoffee.com/dev_cetera)\n[![sponsor](https://img.shields.io/badge/Sponsor-grey?logo=github-sponsors\u0026logoColor=pink)](https://github.com/sponsors/dev-cetera)\n[![patreon](https://img.shields.io/badge/Patreon-grey?logo=patreon)](https://www.patreon.com/robelator)\n[![discord](https://img.shields.io/badge/Discord-5865F2?logo=discord\u0026logoColor=white)](https://discord.gg/gEQ8y2nfyX)\n[![instagram](https://img.shields.io/badge/Instagram-E4405F?logo=instagram\u0026logoColor=white)](https://www.instagram.com/dev_cetera/)\n[![license](https://img.shields.io/badge/License-MIT-blue.svg)](https://raw.githubusercontent.com/dev-cetera/df_generate_dart_indexes/main/LICENSE)\n\n---\n\n\u003c!-- BEGIN _README_CONTENT --\u003e\n\nA tool to generate index/exports files also known as barrel files for all Dart files in a directory.\n\n## How to Use\n\n### With Visual Studio Code\n\n1. Install the extension here: https://marketplace.visualstudio.com/items?itemName=Dev-Cetera.dev-cetera-df-support-commands\n2. Right-click on any folder in your project and select `🔹 Generate Dart Barrel File`.\n3. Alternatively, right-click a folder and select `\"Open in Integrated Terminal\"` then run `--barrel` in the terminal.\n4. This will generate a barrel file matching the folder’s base name, e.g. `_src.g.dart`.\n\n### Without Visual Studio Code\n\n1. Install this tool by running: `dart pub global activate df_generate_dart_indexes`.\n2. In your project, open a terminal at the desired folder, e.g. `cd src`.\n3. Run `--barrel` to generate a barrel file matching the folder’s base name, e.g. `_src.g.dart`.\n\n### Note\n\nFiles that start with an underscore, files in folders that start with an underscore, and generated files (those with the `.g.dart` extension) will be omitted from the generated barrel file.\n\n### Generated File Example\n\nThe file barrel file will look something like this, and is generated from [this default template file](https://github.com/dev-cetera/df_generate_dart_indexes/blob/main/templates/template.dart.md):\n\n```dart\n//.title\n// ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓\n//\n// GENERATED - DO NOT MODIFY BY HAND\n// See: https://github.com/dev-cetera/df_generate_dart_indexes\n//\n// ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓\n//.title~\n\nexport './screens/welcome_screen/widget.dart';\nexport './screens/home_screen/widget.dart';\nexport './widgets/my_button.dart';\nexport './widgets/my_title_text.dart';\n```\n\n\n\u003c!-- END _README_CONTENT --\u003e\n\n---\n\n🔍 For more information, refer to the [API reference](https://pub.dev/documentation/df_generate_dart_indexes/).\n\n---\n\n## 💬 Contributing and Discussions\n\nThis is an open-source project, and we warmly welcome contributions from everyone, regardless of experience level. Whether you're a seasoned developer or just starting out, contributing to this project is a fantastic way to learn, share your knowledge, and make a meaningful impact on the community.\n\n### ☝️ Ways you can contribute\n\n- **Find us on Discord:** Feel free to ask questions and engage with the community here: https://discord.gg/gEQ8y2nfyX.\n- **Share your ideas:** Every perspective matters, and your ideas can spark innovation.\n- **Help others:** Engage with other users by offering advice, solutions, or troubleshooting assistance.\n- **Report bugs:** Help us identify and fix issues to make the project more robust.\n- **Suggest improvements or new features:** Your ideas can help shape the future of the project.\n- **Help clarify documentation:** Good documentation is key to accessibility. You can make it easier for others to get started by improving or expanding our documentation.\n- **Write articles:** Share your knowledge by writing tutorials, guides, or blog posts about your experiences with the project. It's a great way to contribute and help others learn.\n\nNo matter how you choose to contribute, your involvement is greatly appreciated and valued!\n\n### ☕ We drink a lot of coffee...\n\nIf you're enjoying this package and find it valuable, consider showing your appreciation with a small donation. Every bit helps in supporting future development. You can donate here: https://www.buymeacoffee.com/dev_cetera\n\n\u003ca href=\"https://www.buymeacoffee.com/dev_cetera\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/default-orange.png\" height=\"40\"\u003e\u003c/a\u003e\n\n## LICENSE\n\nThis project is released under the [MIT License](https://raw.githubusercontent.com/dev-cetera/df_generate_dart_indexes/main/LICENSE). See [LICENSE](https://raw.githubusercontent.com/dev-cetera/df_generate_dart_indexes/main/LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-cetera%2Fdf_generate_dart_indexes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdev-cetera%2Fdf_generate_dart_indexes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-cetera%2Fdf_generate_dart_indexes/lists"}