{"id":15908625,"url":"https://github.com/capjamesg/mediawiki-sparkline-generator","last_synced_at":"2026-04-26T12:32:37.236Z","repository":{"id":104873516,"uuid":"528348852","full_name":"capjamesg/mediawiki-sparkline-generator","owner":"capjamesg","description":"Create a sparkline showing your MediaWiki contributions.","archived":false,"fork":false,"pushed_at":"2023-02-10T20:23:44.000Z","size":217,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-22T20:52:48.148Z","etag":null,"topics":["charts","mediawiki","ruby","sparkline"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit-0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/capjamesg.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":"2022-08-24T09:15:27.000Z","updated_at":"2025-06-17T11:57:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"a0a2d66c-eb73-472d-bc56-9edbb9a5a483","html_url":"https://github.com/capjamesg/mediawiki-sparkline-generator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/capjamesg/mediawiki-sparkline-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capjamesg%2Fmediawiki-sparkline-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capjamesg%2Fmediawiki-sparkline-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capjamesg%2Fmediawiki-sparkline-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capjamesg%2Fmediawiki-sparkline-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/capjamesg","download_url":"https://codeload.github.com/capjamesg/mediawiki-sparkline-generator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capjamesg%2Fmediawiki-sparkline-generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32297894,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T09:34:17.070Z","status":"ssl_error","status_checked_at":"2026-04-26T09:34:00.993Z","response_time":129,"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","mediawiki","ruby","sparkline"],"created_at":"2024-10-06T14:22:52.449Z","updated_at":"2026-04-26T12:32:37.221Z","avatar_url":"https://github.com/capjamesg.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MediaWiki Sparkline Generator\n\nCreate a sparkline to visualise your MediaWiki contributions.\n\n## Screenshot\n\n![A web application that generates a sparkline for your MediaWiki contributions](screenshot.png)\n\n## How it Works\n\nThis project is a web server that:\n\n1. Retrieves your MediaWiki contributions from the API of your MediaWiki instance.\n2. Plots your contributions on a timeline over the last 90 days.\n3. Renders an SVG file with a sparkline.\n    a. The line chart sparkline was made by [kryogenix.org](https://kryogenix.org/days/2012/12/30/simple-svg-sparklines/) (used with permission).\n    b. The bar chart sparkline was made by me.\n\n## Using the Service\n\nA hosted version of the sparkline service is available at [sparkline.jamesg.blog](https://sparkline.jamesg.blog).\n\nThe root endpoint for the service is:\n\n    https://sparkline.jamesg.blog\n\nThe following query string parameters are required:\n\n- `api_url`: The root URL for your MediaWiki API.\n- `username`: Your MediaWiki username.\n\nThe following values are optional:\n\n- `days`: Number of days in history for which you want to retrieve stats. Min 1. Max 120.\n- `only_image`: By default, the API returns a text page with some meta information and the sparkline embedded. Specify an `only_image` value to retrieve only an image.\n- `is_bar`: Return a bar chart. This option is experimental.\n\nPlease note the `username` attribute is case sensitive.\n\nHere is an example query to the endpoint:\n\n    https://sparkline.jamesg.blog/?username=Jamesg.blog\u0026api_url=https://indieweb.org/wiki/api.php\u0026only_image=true\n\nThis query returns a line sparkline graph my IndieWeb wiki contributions. The result is an SVG file.\n\n## Getting Started\n\nFirst, install the required dependencies for this project. You can do this using the following command:\n\n    bundle install\n\nNext, run the sparkline server:\n\n    ruby sparkline.rb\n\n## Language\n\nThis project is built in Ruby.\n\n## License\n\nThis project is licensed under an [MIT 0 license](LICENSE).\n\n## Acknowledgements\n\nThank you to [Stuart Langridge](https://kryogenix.org) for allowing me to use his [simple SVG sparkline](https://kryogenix.org/days/2012/12/30/simple-svg-sparklines/) file for the line graph chart.\n\n## Author\n\n- capjamesg","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcapjamesg%2Fmediawiki-sparkline-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcapjamesg%2Fmediawiki-sparkline-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcapjamesg%2Fmediawiki-sparkline-generator/lists"}