{"id":16934781,"url":"https://github.com/codeskyblue/pm25","last_synced_at":"2025-07-09T07:39:26.135Z","repository":{"id":57526963,"uuid":"13415837","full_name":"codeskyblue/pm25","owner":"codeskyblue","description":"get city pm2.5. (I hope one day we will not care about the pm2.5)","archived":false,"fork":false,"pushed_at":"2013-10-29T15:25:13.000Z","size":544,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-13T12:51:20.143Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/codeskyblue.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":"2013-10-08T14:31:09.000Z","updated_at":"2017-12-31T15:13:05.000Z","dependencies_parsed_at":"2022-09-07T03:50:59.076Z","dependency_job_id":null,"html_url":"https://github.com/codeskyblue/pm25","commit_stats":null,"previous_names":["shxsun/pm25"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codeskyblue/pm25","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeskyblue%2Fpm25","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeskyblue%2Fpm25/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeskyblue%2Fpm25/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeskyblue%2Fpm25/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeskyblue","download_url":"https://codeload.github.com/codeskyblue/pm25/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeskyblue%2Fpm25/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264415056,"owners_count":23604535,"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-10-13T20:52:57.587Z","updated_at":"2025-07-09T07:39:26.089Z","avatar_url":"https://github.com/codeskyblue.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"pm25\n====\n\n![leaf](images/leaf.png)\n\nMonitor pm2.5. (I hope one day sky is blue)\n\nThis is just my interest of Beijing weather.\n\n## How to use\nget beijing weather\n\n`pm25 beijing # get beijing pm2.5`\n\nor if you want to to use you own server, for example: 115.28.15.5:8077\n```\n./pm25 -addr=115.28.15.5:8080 beijing\n```\n\n## How to deploy a server\nThis need a mysql-server. Just offer a dbname. The program will CreateTable itself.\n\n```\ngo get github.com/shxsun/pm25  # build\n./pm25 -daemon  # start server\n```\n\n**Demo** server: \u003chttp://goo.gl/92KKWx\u003e\n\n## Links\n* api resource: \u003chttp://pm25.in\u003e\n* what is AQI: \u003chttp://m.guokr.com/post/431588/\u003e\n* history data of beijing: \u003chttp://aqicn.org/city/beijing/m/\u003e\n\n## Package use\n* \u003chttps://github.com/ant0ine/go-json-rest\u003e\n* \u003chttps://github.com/aybabtme/color\u003e\n* \u003chttps://github.com/bitly/go-simplejson\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeskyblue%2Fpm25","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeskyblue%2Fpm25","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeskyblue%2Fpm25/lists"}