{"id":13401724,"url":"https://github.com/wri/gfw","last_synced_at":"2026-04-26T20:32:53.005Z","repository":{"id":37789037,"uuid":"4357484","full_name":"wri/gfw","owner":"wri","description":"Global Forest Watch: An online, global, near-real time forest monitoring tool","archived":false,"fork":false,"pushed_at":"2026-04-22T18:00:48.000Z","size":390310,"stargazers_count":311,"open_issues_count":13,"forks_count":95,"subscribers_count":37,"default_branch":"develop","last_synced_at":"2026-04-22T20:04:26.855Z","etag":null,"topics":["deforestation","forest-monitoring","mapbox","nextjs","react","redux","satellite-imagery"],"latest_commit_sha":null,"homepage":"https://www.globalforestwatch.org","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/wri.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2012-05-17T11:16:15.000Z","updated_at":"2026-04-16T18:36:45.000Z","dependencies_parsed_at":"2023-09-26T23:13:01.288Z","dependency_job_id":"205f1a03-36b5-4731-ba25-87df9593e41e","html_url":"https://github.com/wri/gfw","commit_stats":{"total_commits":19988,"total_committers":94,"mean_commits":"212.63829787234042","dds":0.7889233540124074,"last_synced_commit":"aa4e469da8e9e73e6984022c4347a12d6e609cf4"},"previous_names":["vizzuality/gfw"],"tags_count":35,"template":false,"template_full_name":null,"purl":"pkg:github/wri/gfw","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wri%2Fgfw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wri%2Fgfw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wri%2Fgfw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wri%2Fgfw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wri","download_url":"https://codeload.github.com/wri/gfw/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wri%2Fgfw/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32241027,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"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":["deforestation","forest-monitoring","mapbox","nextjs","react","redux","satellite-imagery"],"created_at":"2024-07-30T19:01:06.296Z","updated_at":"2026-04-26T20:32:52.984Z","avatar_url":"https://github.com/wri.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","Biosphere"],"sub_categories":["Forest Observation and Management"],"readme":"# What is Global Forest Watch?\n\n[Global Forest Watch](http://www.globalforestwatch.org/) (GFW) is a\ndynamic online forest monitoring and alert system that empowers people\neverywhere to better manage forests. This repository contains the GFW web app.\n\n![Global forest watch map](/public/preview.jpg?raw=true \"Global Forest Watch\")\n\n# Getting started\n\nThe GFW web app is built with [Nextjs](https://nextjs.org/), [React](https://reactjs.org/) and [Redux](https://redux.js.org/).\n\n## Installing the app\n\nClone the repo:\n\n```bash\n$ git clone https://github.com/wri/gfw.git\n```\n\nInstalling dependencies:\n\n```bash\n$ yarn\n```\n\nCopy the `.env.sample` to `.env.local`, and start the server:\n\n```bash\n$ yarn dev\n```\n\nThe app should now be accessible on [http://0.0.0.0:3000](http://0.0.0.0:3000).\n\n## Developing\n\nWe follow a [Gitflow Worklow](https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow) for development and deployment.  \nWe merge pull requests into `develop`, which is deployed automatically to both the staging and pre-production servers. In order to release features into production, we merge `develop` into `master`, triggering an automatic deployment to production.\n\n![gitflow workflow](https://www.atlassian.com/dam/jcr:b5259cce-6245-49f2-b89b-9871f9ee3fa4/03%20(2).svg)\n\n### Staging, pre-production and review apps\n\nWe use [Heroku](https://www.heroku.com/) to deploy our apps. Production is deployed automatically from `master` to [globalforestwatch.org](https://www.globalforestwatch.org).  \n\nWe have two staging environments: staging and pre-production. Both are deployed automatically from `develop`.  \nThe main difference is that staging points to the staging environments of the APIs we access, pre-production points to the production ones. This is set by the `NEXT_PUBLIC_FEATURE_ENV` env variable. \n\nWe also make use of Heroku's [Review Apps](https://devcenter.heroku.com/articles/github-integration-review-apps) feature.  \nWhen a pull request is created, a review app is deployed automatically by Heroku with a `NEXT_PUBLIC_FEATURE_ENV` of `preproduction`, and a link to the environment is added automatically to the respective pull request. \n\n\n## Releases\n\nWe are using github releases to record changes to the app. To help us manage this we are using [Zeit Releases](https://github.com/zeit/release), an npm package for handling github releases, tagging commits (major, minor, patch), and automating semantic release logs. For a more detailed explanation of semantic changelogs see [this post](https://semver.org/).\n\n\n#### Managing commits for a release\n\nWhen developing, you can tag your commits as follows: `fix some excellent bug (patch)` where `patch` can be `(major/minor/patch/ignore)`. This commit title will automatically be grouped into the correct section for the release. Otherwise you will be prompted during the release to assign (or ignore) each of your commits. You will have to do this for every commit so don't forget to squash!\n\nSo how do you make a release on GFW?\n\n1. Checkout master and merge in develop (not compulsory but advised for consistency).\n2. Run `npx release [type]` where type can be `major`, `minor`, `patch`, or `pre` (see [zeit docs](https://github.com/zeit/release) for more details).\n3. Follow the prompts to manage commits.\n4. You will be taken to github draft release editor with all your commits grouped and ready to go.\n5. Enter your title and include any extra info you want.\n6. Publish!\n\n# RW API Documentation for GFW\n\nMap layers and relevant datasets are stored in the [RW-API](http://api.resourcewatch.org/) and the `globalforestwatch.org/map` utilises the [layer-manager](https://github.com/Vizzuality/layer-manager) to render them.\n\nThe schema used to style these layers, their legends, and define their interactions are specific to the *Global Forest Watch* platform.\n\nWhen creating or modifying layers/datasets for GFW, follow the schema and syntax outlined in the [API Documentation](./docs/API_Documentation.md) markdown file.\n\nTo view GFW-specific layers and datasets use the following endpoint:\n\nhttps://api.resourcewatch.org/v1/dataset?app=gfw\u0026includes=layer,vocabulary,metadata\u0026page[size]=200\n\n### BrowserStack\n\nWe use [BrowserStack](https://www.browserstack.com) to find and fix cross-browser issues.\n\n\u003ca href=\"https://www.browserstack.com\"\u003e\u003cimg src=\"https://www.browserstack.com/images/layout/browserstack-logo-600x315.png\" height=\"70\" /\u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwri%2Fgfw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwri%2Fgfw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwri%2Fgfw/lists"}