{"id":16748540,"url":"https://github.com/wdenton/jekyll-co2","last_synced_at":"2025-04-10T13:52:30.854Z","repository":{"id":17754267,"uuid":"20606912","full_name":"wdenton/jekyll-co2","owner":"wdenton","description":"Jekyll plugin that shows climate change trends","archived":false,"fork":false,"pushed_at":"2024-12-10T05:20:42.000Z","size":56,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-01-04T15:11:51.637Z","etag":null,"topics":["climate-change","climate-data","jekyll","jekyll-plugin"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wdenton.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":"2014-06-08T01:46:12.000Z","updated_at":"2024-12-10T05:20:46.000Z","dependencies_parsed_at":"2023-01-11T19:41:08.844Z","dependency_job_id":null,"html_url":"https://github.com/wdenton/jekyll-co2","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/wdenton%2Fjekyll-co2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wdenton%2Fjekyll-co2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wdenton%2Fjekyll-co2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wdenton%2Fjekyll-co2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wdenton","download_url":"https://codeload.github.com/wdenton/jekyll-co2/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234136669,"owners_count":18785153,"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":["climate-change","climate-data","jekyll","jekyll-plugin"],"created_at":"2024-10-13T02:12:56.632Z","updated_at":"2025-01-16T01:37:17.247Z","avatar_url":"https://github.com/wdenton.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jekyll CO₂\n\nWritten by [William Denton](https://www.miskatonic.org/).\n\nThis is a plugin for the static web site generator [Jekyll](http://jekyllrb.com/) to show the change in atmospheric CO₂ at the Mauna Loa observatory in Hawaii.  It was inspired by [CO2Now](http://co2now.org/). The data comes from the [NOAA's Earth System Research Laboratory](http://www.esrl.noaa.gov/gmd/ccgg/trends/).\n\nIt is now text only, with no sparkline graphics.  In a browser it looks like this:\n\n![Screenshot](screenshot.png)\n\n## How to install\n\nDownload `co2.rb` and put it in your `_plugins` directory.  That's all!\n\nThe CSV file downloaded is stored in your `_data` directory.  If you don't have one, it will be created.\n\n## Configuration\n\nBy default the plugin will show CO₂ data from 50 years ago and compare it to today.\n\nOptionally, you can add a variable in your `_config.yml`, like this:\n\n    co2:\n      years: 10\n\nIf `years` is 10, for example, it will show CO₂ from 10 years ago compared to today.\n\nIf `years` is 0, it will show CO₂ from March 1958 (the earliest data available from Mauna Loa) compared to today.\n\n## How to use\n\nThe plugin creates an include file: `_includes/co2.html`.  Include it in a web page like this:\n\n    {% include co2.html %}\n\nLook at the file (or the code) to see exactly how it's structured.\n\nYou could style it with CSS like this:\n\n    #co2 {\n\t}\n\n    #co2 #co2_inside {\n      border: thin solid red;\n      padding: 5px;\n    }\n\n    #co2 \u003e .highlight {\n      color: red;\n    }\n\n    #co2 .co2_source {\n      font-size: smaller;\n    }\n\n## To try\n\n* [UnicodePlot](https://github.com/red-data-tools/unicode_plot.rb)\n\n## License\n\nGPL v3.  See [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwdenton%2Fjekyll-co2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwdenton%2Fjekyll-co2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwdenton%2Fjekyll-co2/lists"}