{"id":16341391,"url":"https://github.com/alx741/nsresgen","last_synced_at":"2026-05-01T04:36:59.932Z","repository":{"id":71141911,"uuid":"89740744","full_name":"alx741/nsresgen","owner":"alx741","description":"NativeScript Resources Generator","archived":false,"fork":false,"pushed_at":"2018-07-23T00:24:13.000Z","size":8,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-17T17:07:26.973Z","etag":null,"topics":["generator","nativescript","resources"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/alx741.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,"zenodo":null}},"created_at":"2017-04-28T20:03:15.000Z","updated_at":"2024-05-30T16:57:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"105b5c1c-8181-4b2f-9deb-9b89b2272089","html_url":"https://github.com/alx741/nsresgen","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alx741/nsresgen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alx741%2Fnsresgen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alx741%2Fnsresgen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alx741%2Fnsresgen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alx741%2Fnsresgen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alx741","download_url":"https://codeload.github.com/alx741/nsresgen/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alx741%2Fnsresgen/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32485297,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["generator","nativescript","resources"],"created_at":"2024-10-10T23:59:19.155Z","updated_at":"2026-05-01T04:36:59.926Z","avatar_url":"https://github.com/alx741.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NativeScript Resources Generator\n\nHelper script to generate [NativeScript](https://www.nativescript.org/) image\nresources for both Android and iOS from an image.\n\nExecuting the script with an image path as parameter, it will generate all the\nnecessary image sizes and automatically populate the `app/App_Resouces`\ndirectory tree.\n\n\n## Usage\n\nInstall the script:\n\n    $ sudo cp nsresgen.sh /usr/local/bin/nsresgen\n\nAnd invoke it while inside the root directory of a NativeScript project, passing\nan image as parameter:\n\n    $ nsresgen /home/user/cats/image.png\n\nThe `app/App_Resources` directory will be correctly populated, so you're now\nable to use the resource from your code as usual:\n\n```xml\n\u003cImage src=\"res://image\"\u003e\u003c/Image\u003e\n```\n\n\n## Dependencies\n\nThe *nsresgen* script depends upon the **imagemagick** package, so be sure to\nhave it in your system.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falx741%2Fnsresgen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falx741%2Fnsresgen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falx741%2Fnsresgen/lists"}