{"id":20210088,"url":"https://github.com/iarthstar/purescript-sketch","last_synced_at":"2026-03-07T13:32:47.703Z","repository":{"id":58242444,"uuid":"184756256","full_name":"iarthstar/purescript-sketch","owner":"iarthstar","description":"Sketch API JS bindings for development of Sketch Plugin using PureScript","archived":false,"fork":false,"pushed_at":"2020-01-30T19:34:03.000Z","size":50,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-05T07:05:46.470Z","etag":null,"topics":["library","purescript","sketch","sketch-plugin"],"latest_commit_sha":null,"homepage":"","language":"PureScript","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/iarthstar.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":"2019-05-03T13:02:01.000Z","updated_at":"2023-02-20T16:36:01.000Z","dependencies_parsed_at":"2022-08-31T00:41:00.676Z","dependency_job_id":null,"html_url":"https://github.com/iarthstar/purescript-sketch","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/iarthstar/purescript-sketch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iarthstar%2Fpurescript-sketch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iarthstar%2Fpurescript-sketch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iarthstar%2Fpurescript-sketch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iarthstar%2Fpurescript-sketch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iarthstar","download_url":"https://codeload.github.com/iarthstar/purescript-sketch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iarthstar%2Fpurescript-sketch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30215681,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T13:25:55.541Z","status":"ssl_error","status_checked_at":"2026-03-07T13:25:38.596Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["library","purescript","sketch","sketch-plugin"],"created_at":"2024-11-14T05:46:17.372Z","updated_at":"2026-03-07T13:32:47.678Z","avatar_url":"https://github.com/iarthstar.png","language":"PureScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# purescript-sketch\n\n[![Build Status](https://travis-ci.com/iarthstar/purescript-sketch.svg?branch=master)](https://travis-ci.com/iarthstar/purescript-sketch)\n\nSketch Javascript API wrapper for development of Sketch Plugin using PureScript\n\n## Add purescript-sketch to your existing plugin projects\n\n```\nbower i purescript-sketch\n```\n\n## Code Snippet\n\n```purescript\nmain :: Effect Unit\nmain = do\n    Dom.selectedLayers \u003e\u003e= case _ of\n        Left err -\u003e UI.message \"Something went wrong...\"\n        Right layers -\u003e do\n            if length layers == 0\n                then UI.alert \"No Selection\" \"Please select a layer and try again...\"\n                else logShow $ foldl (\\a b -\u003e a \u003c\u003e b) \"\" $ mapWithIndex parseLayers layers\n    where\n        parseLayers :: Int -\u003e Layer -\u003e String\n        parseLayers index layer = do\n            let name = case layer of\n                    Text (TextLayer tl) -\u003e tl.name\n                    Image (ImageLayer il) -\u003e il.name\n                    Shape (ShapeLayer sl) -\u003e sl.name\n                    Group (GroupLayer gl) -\u003e gl.name\n                    Artboard (ArtboardLayer gl) -\u003e gl.name\n            show index \u003c\u003e \". \" \u003c\u003e name\n```\n\n## Example Plugins\n\n* [Shadows-Utilities](https://github.com/iarthstar/Shadows-Utilities)\n* [Image2Palette](https://github.com/iarthstar/Image2Palette)\n\n## Want to Develop Plugin\n\n* Project Template to start developing plugin :: [Write Sketch Plugins in PureScript](https://github.com/iarthstar/purs-sketch-plugin)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiarthstar%2Fpurescript-sketch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiarthstar%2Fpurescript-sketch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiarthstar%2Fpurescript-sketch/lists"}