{"id":24822065,"url":"https://github.com/sebbekarlsson/chartserver","last_synced_at":"2026-05-01T01:31:50.096Z","repository":{"id":81577828,"uuid":"135554654","full_name":"sebbekarlsson/chartserver","owner":"sebbekarlsson","description":"A chartserver","archived":false,"fork":false,"pushed_at":"2018-06-01T07:33:11.000Z","size":97,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T20:46:16.635Z","etag":null,"topics":["charts","flask","graphs","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/sebbekarlsson.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}},"created_at":"2018-05-31T08:24:38.000Z","updated_at":"2018-06-01T12:59:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"de574e3a-b759-4599-97a5-9baae85b7282","html_url":"https://github.com/sebbekarlsson/chartserver","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sebbekarlsson/chartserver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebbekarlsson%2Fchartserver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebbekarlsson%2Fchartserver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebbekarlsson%2Fchartserver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebbekarlsson%2Fchartserver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sebbekarlsson","download_url":"https://codeload.github.com/sebbekarlsson/chartserver/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebbekarlsson%2Fchartserver/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32482460,"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":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"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":["charts","flask","graphs","python"],"created_at":"2025-01-30T18:05:22.766Z","updated_at":"2026-05-01T01:31:50.088Z","avatar_url":"https://github.com/sebbekarlsson.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# chartserver\n\u003e A server that serves charts over HTTP/HTTPS using Python \u0026 Flask.\n\n## Usage\n### Bar chart\n\u003e To retrieve a bar chart:\n\n    GET /chart/bar/\u003cxpoints\u003e/\u003cypoints\u003e\n\n\u003e Example:\n\n    GET /chart/bar/a,b,c,g/10,0,30,10\n\n\u003e Will give you this image:\n\n\u003cimg width='360px' src='images/barchart.png'/\u003e\n\n\u003e You can also choose a size on the image by adding these arguments to the\n\u003e request:\n\n    GET ...?w=\u003cwidth\u003e\u0026h=\u003cheight\u003e\n\n\u003e You can also choose the color on your bars by adding these arguments:\n\n    GET ...?c=blue,green,black,yellow\n\n\u003e You can also put labels on your chart, like this:\n\n    GET ...?title=Mytitle\u0026ylabel=points\u0026xlabel=elements\n\n\u003e Will look like this:\n\n\u003cimg width='360px' src='images/barchart-label.png'/\u003e\n\n### Line chart\n\u003e You can use the exact same arguments for the line chart, the route is:\n\n    GET /chart/line/\u003cxpoints\u003e/\u003cypoints\u003e\n\n\u003e Example:\n\n    GET /chart/line/a,b,c/10,10,20\n\n\u003e It will look something like this:\n\n\u003cimg width='360px' src='images/linechart.png'/\u003e\n\n### Pie chart\n\u003e To retrieve a pie chart:\n\n    GET /chart/pie/\u003clabels\u003e/\u003csizes\u003e\n\n\u003e Example:\n\n    GET /chart/pie/python,javascript,golang/10,10,20\n\n\u003e Will give you this image:\n\n\u003cimg width='360px' src='images/piechart.png'/\u003e\n\n\u003e You can also change `width`, `height`, `color`, `shadow`:\n\n    GET ...?w=\u003cwidth\u003e\u0026h=\u003cheight\u003e\u0026color=red,green,blue\u0026shadow=1\n\n## Cache\n\u003e Everything is cached, to disable cache; add this argument:\n\n    GET ...?no_cache=1\n\n## Installing \u0026 Running\n### Development mode\n\u003e First run the setup:\n\n    python setup.py develop\n\n\u003e Then start the program:\n\n    python __main__.py\n\n\u003e The server is now up and running at: `http://localhost:5000`\n\n### Production mode\n\u003e coming soon\n\n## Unit tests\n\u003e To run the unit tests, first install pytest:\n\n    pip install pytest\n\n\u003e Then run:\n\n    py.test\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsebbekarlsson%2Fchartserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsebbekarlsson%2Fchartserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsebbekarlsson%2Fchartserver/lists"}