{"id":18777221,"url":"https://github.com/workshape/ws-radial-plot-prerender-server","last_synced_at":"2025-04-13T10:31:37.171Z","repository":{"id":27489900,"uuid":"30969984","full_name":"Workshape/ws-radial-plot-prerender-server","owner":"Workshape","description":"Server to pre-render and serve radial plot images","archived":false,"fork":false,"pushed_at":"2016-04-26T13:13:14.000Z","size":46,"stargazers_count":11,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-27T01:51:35.438Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/Workshape.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":"2015-02-18T14:56:46.000Z","updated_at":"2021-11-21T02:46:50.000Z","dependencies_parsed_at":"2022-09-06T14:52:17.896Z","dependency_job_id":null,"html_url":"https://github.com/Workshape/ws-radial-plot-prerender-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Workshape%2Fws-radial-plot-prerender-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Workshape%2Fws-radial-plot-prerender-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Workshape%2Fws-radial-plot-prerender-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Workshape%2Fws-radial-plot-prerender-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Workshape","download_url":"https://codeload.github.com/Workshape/ws-radial-plot-prerender-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248698946,"owners_count":21147562,"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-07T20:09:17.246Z","updated_at":"2025-04-13T10:31:36.774Z","avatar_url":"https://github.com/Workshape.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Example shapes generated by the prerender server](http://i.cubeupload.com/UvJ4hJ.png)\n\n\u003e Server to pre-render and serve radial plot images\n\n# Prerequisites\n\nThis project uses [node-canvas](https://github.com/Automattic/node-canvas) which binds to the [Cairo](http://cairographics.org/) to manipulate graphics on a low level.\n\nBefore running the server make sure you're all set following the [node-canvas setup instructions](https://github.com/Automattic/node-canvas#installation).\n\n# Setup\n\n```bash\ngit clone git@github.com:tancredi/ws-radial-plot-prerender.git\ncd ws-radial-plot-prerender\nnpm install\n```\n\n# Running\n\nTo start the server, run `npm start`.\n\nThe server will be started `http://localhost:2000` or listen to a custom set by the `PORT` environment variable.\n\n# Endpoints\n\n* `GET /size/:size/?v=values[ \u0026c=compare_values ]` - *Render a shape of given size*\n  * **size** (`String`) - Standardised size of the rendered image `small : 250x250 | medium : 500x500 | large : 1000x1000`\n  * **v** (values) (`[ Number ]`) - Comma-separated shape values.\n  * **c** (compare_values) (`[ Number ]`) - Comma-separated compare shape values.\n\n**Example:** `/size/small/?v=20,15.0,10,12,92.0002,4,16.23,75,40,23\u0026c=10,12,20.445,50,49,25.4,10,40,41,12.004`\n\n# License\n\nMIT\n\nCopyright (c) 2014 Workshape.io Ltd","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworkshape%2Fws-radial-plot-prerender-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fworkshape%2Fws-radial-plot-prerender-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworkshape%2Fws-radial-plot-prerender-server/lists"}