{"id":19053632,"url":"https://github.com/nating/interactive-shape-server","last_synced_at":"2026-06-19T08:01:40.742Z","repository":{"id":91224630,"uuid":"108986507","full_name":"nating/interactive-shape-server","owner":"nating","description":"An Interactive SVG Shape Haskell Server.","archived":false,"fork":false,"pushed_at":"2017-11-27T12:51:48.000Z","size":65021,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-12T08:26:03.768Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nating.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-31T11:32:22.000Z","updated_at":"2017-11-27T12:16:24.000Z","dependencies_parsed_at":"2023-03-22T14:33:19.961Z","dependency_job_id":null,"html_url":"https://github.com/nating/interactive-shape-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nating/interactive-shape-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nating%2Finteractive-shape-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nating%2Finteractive-shape-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nating%2Finteractive-shape-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nating%2Finteractive-shape-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nating","download_url":"https://codeload.github.com/nating/interactive-shape-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nating%2Finteractive-shape-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34522042,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","response_time":61,"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":[],"created_at":"2024-11-08T23:32:53.741Z","updated_at":"2026-06-19T08:01:40.716Z","avatar_url":"https://github.com/nating.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Interactive Shape Server\n\nAn Interactive SVG Shape Server written in Haskell using the [Scotty](https://hackage.haskell.org/package/scotty) \u0026 [Blaze-SVG](https://hackage.haskell.org/package/blaze-svg) Web eDSL languages.  \n\n\u003cimg src=\"/assets/screenshot.png\" /\u003e\n\n## Requirements\nThis project requires the [Haskell Tool Stack](https://docs.haskellstack.org/en/stable/README/) to run.  \n\nTo download the Haskell Tool Stack on Unix, you can run:\n```\ncurl -sSL https://get.haskellstack.org/ | sh\n```\n\n## Installation\n\nTo install The Interactive Shape Server:\n\n* Clone this repository:\n```\ngit clone https://nating/interactive-shape-server.git\n```\n\n* Navigate into the repository's folder \u0026 setup stack:\n```\ncd interactive-shape-server \u0026\u0026 stack setup\n```\n\n* Build the project:\n```\nstack build\n```\n\n## Usage\n\nTo run the server, use the command:\n```\nstack exec interactive-shape-server\n```\n\nYou can now interact with SVG shapes from your browser at `localhost:3000`.\n\n## SVG Shape Description\n\nAn index page with a text-area input is served at localhost:3000 by the Interactive Shape Server where you can describe shapes and their styles and transformations.\n\nAccepted input for describing the SVG shapes is to be of the form:\n```\n'['\n'(' Shape ',' Transform ',' Style ')'\n { ',' '(' Shape ',' Transform ',' Style ')' }\n']'\n```\n*Shapes, Transforms and Styles are defined below.*\n\n### Shapes\n\nSupported shapes:\n* `Empty`\n* `Rect`\n* `Circle`\n\n### Transforms\n\nSupported Transforms:\n* `Identity`\n* `Translate \u003cDouble\u003e \u003cDouble\u003e`\n* `Scale \u003cDouble\u003e \u003cDouble\u003e`\n* `Rotate \u003cDouble\u003e`\n* `SkewX \u003cDouble\u003e`\n* `SkewY \u003cDouble\u003e`\n* `Compose (\u003cTransform\u003e) (\u003cTransform\u003e)`\n\n### Styles\n\nSupported Styles:\n* `Fill \u003cColor\u003e`\n* `FillOpacity \u003cDouble\u003e`\n* `StrokeWidth \u003cDouble\u003e`\n* `StrokeColor \u003cColor\u003e`\n* `StyleCompose (\u003cStyle\u003e) (\u003cStyle\u003e)`\n\n### Colors\n\nSupported Colors:\n* `Black`\n* `White`\n* `Blue`\n* `Green`\n* `Red`\n* `Silver`\n* `Gray`\n* `Yellow`\n* `Maroon`\n* `Olive`\n* `Lime`\n* `Aqua`\n* `Teal`\n* `Navy`\n* `Fuchsia`\n* `Purple`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnating%2Finteractive-shape-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnating%2Finteractive-shape-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnating%2Finteractive-shape-server/lists"}