{"id":18087069,"url":"https://github.com/artemnovichkov/sasha","last_synced_at":"2025-04-13T01:11:10.705Z","repository":{"id":24488715,"uuid":"101280114","full_name":"artemnovichkov/sasha","owner":"artemnovichkov","description":"👨‍💼Reduce daily routine with sasha","archived":false,"fork":false,"pushed_at":"2018-10-24T15:30:18.000Z","size":211,"stargazers_count":30,"open_issues_count":6,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T21:43:34.625Z","etag":null,"topics":["cli","commandline","design-tools","project-template","swift-script"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/artemnovichkov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-24T09:53:07.000Z","updated_at":"2023-06-17T05:42:38.000Z","dependencies_parsed_at":"2022-08-07T11:01:05.135Z","dependency_job_id":null,"html_url":"https://github.com/artemnovichkov/sasha","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artemnovichkov%2Fsasha","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artemnovichkov%2Fsasha/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artemnovichkov%2Fsasha/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artemnovichkov%2Fsasha/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/artemnovichkov","download_url":"https://codeload.github.com/artemnovichkov/sasha/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248650750,"owners_count":21139681,"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":["cli","commandline","design-tools","project-template","swift-script"],"created_at":"2024-10-31T16:59:47.904Z","updated_at":"2025-04-13T01:11:10.672Z","avatar_url":"https://github.com/artemnovichkov.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\t\u003cimg src=\".github/sasha-logo.png\" alt=\"sasha\" /\u003e\n\t\u003ca href=\"https://travis-ci.org/artemnovichkov/sasha\"\u003e\n        \u003cimg src=\"https://travis-ci.org/artemnovichkov/sasha.svg?branch=master\" /\u003e\n\t\u003ca href=\"https://swift.org\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/swift-4.2-orange.svg?style=flat\" alt=\"Swift 4.2\" /\u003e\n\t\u003c/a\u003e\n\t\t\u003cimg src=\"https://img.shields.io/badge/homebrew-compatible-brightgreen.svg?style=flat\" alt=\"Make\" /\u003e\n  \u003ca href=\"https://swift.org/package-manager\"\u003e\n  \t\t\u003cimg src=\"https://img.shields.io/badge/spm-compatible-brightgreen.svg?style=flat\" alt=\"Swift Package Manager\" /\u003e\n\t\u003c/a\u003e\n  \t\u003ca href=\"https://github.com/JohnSundell/Marathon\"\u003e\n  \t\t\u003cimg src=\"https://img.shields.io/badge/marathon-compatible-brightgreen.svg?style=flat\" alt=\"Marathon\" /\u003e\n\t\u003c/a\u003e\n\u003c/p\u003e\nSasha is an easy-to-use CLI app for routine designer tasks.\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#features\"\u003eFeatures\u003c/a\u003e • \u003ca href=\"#using\"\u003eUsing\u003c/a\u003e • \u003ca href=\"#installing\"\u003eInstalling\u003c/a\u003e • \u003ca href=\"#author\"\u003eAuthor\u003c/a\u003e • \u003ca href=\"#license\"\u003eLicense\u003c/a\u003e\n\u003c/p\u003e\n\n## Features\n- Icon slicing for different platforms:\n  - iOS\n  - watchOS including 40 and 44 mm versions\n  - watchOS Complications\n  - macOS\n  - Carplay\n  - Android\n  - Android Wear\n- Project folder tree generation\n\n## Using\n\n### Icons\n\nSasha has two main commands - `icons` and `project`.\n\n```bash\n$ sasha icons --platform iOS --name icon.png\n```\nSasha generates icons in needed resolutions as well. For Apple platforms Sasha generates `AppIcon.appiconset`, which iOS developer can drag and drop right into `Images.xcassets` without manual icon sorting 👨🏻‍💻👍.\n\nThere is a [service](https://github.com/artemnovichkov/sasha/issues/5#issuecomment-358310264) for Sasha. Right click on an original icon, select `Services \u003e Sasha, make me iOS icons`.\n\n### Project generation\n```bash\n$ sasha project --name ProjectName\n```\nSasha generates folder tree with name passed via `--name` option. By default Sasha uses this project structure:\n\n```\niOS\n-UI\n--old\n--png\n-UX\n--old\n--png\nAndroid\n-UI\n--old\n--png\n-UX\n--old\n--png\nreferences\n-main_screens\n-menu\n-cards\n-another_case\nstuff\n-logos\n-icons\n-patterns\n-stocks\n-source\n```\nTo change it, open `~/.sasha/project.sasha` file in your favourite text editor and make custom project structure.\n\n## Installing\n\n### Homebrew (recommended):\n\n```bash\n$ brew install artemnovichkov/projects/sasha\n```\n\n### Make:\n\n```bash\n$ git clone https://github.com/artemnovichkov/sasha.git\n$ cd sasha\n$ make\n```\n\n### Swift Package Manager:\n\n```bash\n$ git clone https://github.com/artemnovichkov/sasha.git\n$ cd sasha\n$ make build\n$ cp -f .build/release/sasha /usr/local/bin/sasha\n$ cp -r .sasha ~\n```\n\n### Marathon:\n\n- Install [Marathon](https://github.com/johnsundell/marathon#installing).\n- Add Files using `$ marathon add https://github.com/artemnovichkov/sasha.git`.\n- Run your script using `$ marathon run \u003cpath-to-your-script\u003e`.\n\n## Author\n\nArtem Novichkov, novichkoff93@gmail.com\n\n[![Get help on Codementor](https://cdn.codementor.io/badges/get_help_github.svg)](https://www.codementor.io/artemnovichkov?utm_source=github\u0026utm_medium=button\u0026utm_term=artemnovichkov\u0026utm_campaign=github)\n\n\n## License\n\nSasha is available under the MIT license. See the LICENSE file for more info.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartemnovichkov%2Fsasha","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fartemnovichkov%2Fsasha","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartemnovichkov%2Fsasha/lists"}