{"id":19093447,"url":"https://github.com/imagej/example-script-collection","last_synced_at":"2025-10-19T11:42:23.605Z","repository":{"id":137546419,"uuid":"108234899","full_name":"imagej/example-script-collection","owner":"imagej","description":"Example project demonstrating how to package ImageJ scripts into a single jar file","archived":false,"fork":false,"pushed_at":"2022-04-11T20:40:20.000Z","size":26,"stargazers_count":10,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-19T02:23:15.666Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/imagej.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-10-25T07:25:30.000Z","updated_at":"2025-01-21T16:50:32.000Z","dependencies_parsed_at":"2024-04-03T20:00:17.100Z","dependency_job_id":null,"html_url":"https://github.com/imagej/example-script-collection","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imagej%2Fexample-script-collection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imagej%2Fexample-script-collection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imagej%2Fexample-script-collection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imagej%2Fexample-script-collection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imagej","download_url":"https://codeload.github.com/imagej/example-script-collection/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251703035,"owners_count":21630152,"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":[],"created_at":"2024-11-09T03:24:43.290Z","updated_at":"2025-10-19T11:42:18.536Z","avatar_url":"https://github.com/imagej.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Example script collection for ImageJ\n\n[![CI Build](https://github.com/imagej/example-script-collection/actions/workflows/build-main.yml/badge.svg)](https://github.com/imagej/example-script-collection/actions/workflows/build-main.yml)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/facf0eb976f44461af81d4469d597c0d)](https://www.codacy.com/app/imagejan/example-script-collection?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=imagej/example-script-collection\u0026amp;utm_campaign=Badge_Grade)\n\nThis repository illustrates how to manage several ImageJ scripts in a\ncollection.\n\n---\n\nNote that to make scripts available as menu commands in ImageJ, it is\nsufficient to put the script files into a _subfolder_ of `ImageJ.app/scripts/`,\nand to make them available to others, it is sufficient to upload the script\nfiles to an update site.\n\n---\n\nKeeping script files in a collection like this one adds the following benefits:\n\n* *Dependency* management with Maven\n* *Versioned* deployment using Git, Maven, and GitHub Actions\n* Optionally: keep your scripts functional by running *Java unit tests* with every build\n\n## How to use\n\n1. Visit [this link](https://github.com/imagej/example-script-collection/generate)\n   to create a new repository in your space using this one as a template.\n\n2. Delete `src/test/java` if you don't require tests.\n\n3. Put your scripts into a *subfolder* of `src/main/resources/scripts` (the\n   name of the subfolder[s] corresponds to the menu[s] where the commands will\n   appear).\n\n4. Edit `pom.xml` to reflect your project information.\n\n5. Run `mvn` to build your jar file, or\n   `mvn -Dscijava.app.directory=/path/to/your/ImageJ.app` to directly copy the\n   jar file and possible dependencies into your ImageJ/Fiji installation.\n\n5. Make your initial\n   [commit](https://help.github.com/en/desktop/contributing-to-projects/committing-and-reviewing-changes-to-your-project) and\n   [push the results](https://help.github.com/en/articles/pushing-commits-to-a-remote-repository)!\n\n## Questions\n\nPlease ask on the [Image.sc Forum](https://forum.image.sc/tag/imagej).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimagej%2Fexample-script-collection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimagej%2Fexample-script-collection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimagej%2Fexample-script-collection/lists"}