Open Sustainable Technology

A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

Browse accepted projects | Review proposed projects | Propose new project | Open Issues

Pledge4Future

Allows you to calculate your work related CO2e emissions from heating and electricity consumptions as well as business trips and commuting.
https://github.com/pledge4future/wepledge

climate-change co2-emissions paris-agreement research

Last synced: about 22 hours ago
JSON representation

Repository metadata

WebApp to calculate work related CO2e emissions from heating and electricity consumption as well as business trips and commuting.

README

        

# Pledge4Future App

Pledge4Future is a project to help you and your working group to measure and reduce your work-related CO2e emissions.

The [pledge4future app](https://pledge4future.org) allows you to calculate your work related CO2e emissions from heating and electricity consumptions as well as business trips and commuting. The methodology for the calculation of the emissions is implemented in the [co2calculator package](https://github.com/pledge4future/co2calculator).

Check out the [demo emission dashboard](https://pledge4future.org/dashboard)!

### Installation

This is a dockerized app which uses React in the frontend and Python, Django and GraphQL in the backend.

### 1. Clone repository

```
git clone
cd WePledge
```

### 2. Load the submodules

```
git submodule update --init --recursive
```

### 3. Run docker

```
docker compose up
```

This will start the following services on your computer:

Frontend: [http://localhost:3000](http://localhost:3000)
Backend: [http://localhost:8000](http://localhost:8000)
Django Admin: [http://localhost:8000/admin](http://localhost:8000/admin)
GraphQL API: [http://localhost:8000/graphql](http://localhost:8000/graphql)

Refer to the [wiki](https://github.com/pledge4future/WePledge/wiki) for detailed instructions on how to run, adapt and debug the app.

## Contribution guidelines

We're always happy about new people contributing to our project!

- If you encounter problems with the app, feel free to create an [issue in this repository](https://github.com/pledge4future/WePledge/issues).
- If you can fix it yourself, please create a new branch from 'dev', add your changes and once you're done create a pull request.
- If you would like to become a regular contributor to the project, please contact us at [[email protected]](mailto:[email protected]).

## License

This project is licensed under the [GPL-3.0 License](./LICENSE).

## Acknowledgments

We are supported by

- [Goethe Institute](https://www.goethe.de)
- [HeiGIT gGmbH (Heidelberg Institute for Geoinformation Technology)](https://heigit.org/)
- [openrouteservice](https://openrouteservice.org/)
- [GIScience Research Group, Institute of Geography at Heidelberg
University](https://www.geog.uni-heidelberg.de/giscience.html)
- [Scientists4Future Heidelberg](https://heidelberg.scientists4future.org/)








Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 1 day ago

Total Commits: 596
Total Committers: 17
Avg Commits per committer: 35.059
Development Distribution Score (DDS): 0.711

Commits in past year: 91
Committers in past year: 9
Avg Commits per committer in past year: 10.111
Development Distribution Score (DDS) in past year: 0.571

Name Email Commits
Christina Ludwig c****g@u****e 172
lenatech c****7@g****m 76
codingfabi f****l@g****e 68
Fabian Kneissl f****l@a****e 66
Fabian Kneissl f****l@s****m 55
Christina Ludwig c****g@g****t 45
sami1riaz s****z@g****m 41
Veit Ulrich 7****u 25
sarahmadeleine 7****e 13
han16nah h****h@m****g 10
Christina i****o@p****g 9
Aimee C. Chen ✌️ l****h 7
Nina Krasovec n****2@g****m 4
Alex Bercik 4****k 2
lozanom1 3****1 1
Negar Babashah 7****h 1
Koosha Owji k****i@y****m 1

Committer domains:


Issue and Pull Request metadata

Last synced: 2 days ago

Total issues: 77
Total pull requests: 23
Average time to close issues: 3 months
Average time to close pull requests: 15 days
Total issue authors: 6
Total pull request authors: 6
Average comments per issue: 0.92
Average comments per pull request: 0.09
Merged pull request: 20
Bot issues: 0
Bot pull requests: 0

Past year issues: 39
Past year pull requests: 9
Past year average time to close issues: 13 days
Past year average time to close pull requests: 4 days
Past year issue authors: 5
Past year pull request authors: 3
Past year average comments per issue: 0.97
Past year average comments per pull request: 0.22
Past year merged pull request: 7
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/pledge4future/wepledge

Top Issue Authors

  • codingfabi (21)
  • sarahmadeleine (20)
  • redfrexx (17)
  • veitu (12)
  • sami1riaz (6)
  • Koosha-Owji (1)

Top Pull Request Authors

  • codingfabi (17)
  • redfrexx (2)
  • sarahmadeleine (1)
  • sami1riaz (1)
  • Koosha-Owji (1)
  • Negarbsh (1)

Top Issue Labels

  • frontend (46)
  • backend (22)
  • bug (17)
  • Prio:HIGH (11)
  • Prio:LOW (8)
  • Prio:MEDIUM (8)
  • Feature Request (6)
  • methodology (5)
  • operations (5)
  • documentation (4)
  • DESIGN NEEDED (4)
  • BLOCKED (3)
  • Discussion (3)
  • good first issue (2)
  • enhancement (2)
  • research (1)
  • epic (1)
  • question (1)

Top Pull Request Labels


Dependencies

frontend/yarn.lock npm
  • 1662 dependencies
backend/Dockerfile docker
  • python 3.9 build
cube/Dockerfile docker
  • node 12.13-buster-slim build
docker-compose.yml docker
  • dpage/pgadmin4 latest
  • postgres latest
  • redis latest
frontend/Dockerfile docker
  • development latest build
  • node 12.13-buster-slim build
cube/package-lock.json npm
  • 835 dependencies
cube/package.json npm
  • @cubejs-backend/cubestore-driver ^0.26.77 development
  • @cubejs-backend/postgres-driver ^0.26.77 development
  • @cubejs-backend/server ^0.26.77 development
frontend/package.json npm
  • @babel/plugin-transform-react-constant-elements ^7.13.13 development
  • @babel/preset-typescript ^7.13.0 development
  • babel-plugin-unwrap-createstyles ^4.1.0 development
  • cpy-cli ^3.0.0 development
  • gm ^1.23.0 development
  • http-proxy-middleware ^1.0.5 development
  • typescript ^4.2.4 development
  • @apollo/client ^3.3.15
  • @babel/core ^7.13.16
  • @babel/plugin-transform-object-assign ^7.10.1
  • @babel/runtime-corejs2 ^7.13.17
  • @cubejs-client/core ^0.27.0
  • @cubejs-client/react ^0.27.0
  • @datapunt/matomo-tracker-react ^0.5.1
  • @date-io/core ^1.3.9
  • @date-io/date-fns ^1.3.11
  • @emotion/core ^10.0.27
  • @emotion/react ^11.5.0
  • @emotion/styled ^11.3.0
  • @hugmanrique/react-markdown-loader 0.0.2
  • @material-ui/core ^4.1.2
  • @material-ui/data-grid ^4.0.0-alpha.26
  • @material-ui/docs ^4.0.0-beta.0
  • @material-ui/icons ^4.2.1
  • @material-ui/lab ^4.0.0-alpha.18
  • @material-ui/pickers ^3.2.5
  • @material-ui/styles ^4.1.2
  • @material-ui/system ^4.3.0
  • @material-ui/types ^5.0.0
  • @mui/icons-material ^5.1.0
  • @mui/material ^5.1.0
  • @trendmicro/react-interpolate ^0.5.5
  • @types/autosuggest-highlight ^3.1.0
  • @types/css-mediaquery ^0.1.0
  • @types/json2mq ^0.2.0
  • @types/react-dom ^16.9.12
  • @types/react-router-dom ^5.1.0
  • @types/react-swipeable-views ^0.13.0
  • @types/react-swipeable-views-utils ^0.13.0
  • @types/react-text-mask ^5.4.7
  • @types/react-virtualized ^9.21.4
  • @types/react-window ^1.7.0
  • @types/styled-components 5.1.0
  • @zeit/next-mdx ^1.2.0
  • accept-language ^3.0.18
  • address ^1.0.3
  • apollo-link-context ^1.0.20
  • apollo-link-http ^1.5.17
  • ast-types ^0.13.4
  • autoprefixer ^9.6.1
  • autosuggest-highlight ^3.1.1
  • babel-plugin-module-resolver ^4.0.0
  • babel-plugin-optimize-clsx ^2.4.1
  • babel-plugin-preval ^2.0.0
  • babel-plugin-react-remove-properties ^0.3.0
  • babel-plugin-transform-dev-warning ^0.1.1
  • babel-plugin-transform-react-remove-prop-types ^0.4.24
  • bizcharts ^4.1.10
  • chart.js ^3.2.1
  • chartjs ^0.3.24
  • clean-css ^4.1.11
  • clipboard-copy ^3.0.0
  • clsx ^1.0.4
  • core-js ^2.6.11
  • cross-env ^7.0.0
  • cross-fetch ^3.1.4
  • css-loader ^3.1.0
  • css-mediaquery ^0.1.2
  • cubejs ^1.3.2
  • date-fns 2.14.0
  • docsearch.js ^2.6.3
  • doctrine ^3.0.0
  • express ^4.17.1
  • fg-loadcss ^2.0.1
  • final-form ^4.18.5
  • flexsearch ^0.6.30
  • formik ^2.2.6
  • fs 0.0.1-security
  • fs-extra ^9.0.0
  • graphql ^15.5.0
  • graphql-tools ^4.0.4
  • graphql.macro ^1.4.2
  • highcharts ^9.0.1
  • html-loader ^2.1.2
  • json2mq ^0.2.0
  • jss ^10.6.0
  • jss-plugin-template ^10.6.0
  • jss-rtl ^0.3.0
  • lodash ^4.17.15
  • lz-string ^1.4.4
  • markdown-loader ^6.0.0
  • markdown-to-jsx ^7.1.3
  • marked ^2.0.3
  • material-ui-popup-state ^1.8.2
  • next ^10.1.3
  • next-plugin-graphql 0.0.2
  • notistack ^0.9.3
  • nprogress ^0.2.0
  • postcss ^7.0.18
  • prismjs ^1.17.1
  • prop-types ^15.7.2
  • raw-loader ^1.0.0
  • react ^17.0.2
  • react-apollo ^3.1.5
  • react-chartjs-2 ^3.0.3
  • react-docgen ^5.0.0-beta.1
  • react-dom ^16.13.0
  • react-draggable ^4.0.3
  • react-final-form ^6.5.3
  • react-is ^16.13.0
  • react-katex ^2.0.2
  • react-number-format ^4.5.5
  • react-redux ^7.2.4
  • react-router ^5.0.0
  • react-router-dom ^5.0.1
  • react-spring ^8.0.27
  • react-swipeable-views ^0.13.9
  • react-text-mask ^5.0.2
  • react-virtualized ^9.21.1
  • react-window ^1.8.5
  • recast ^0.19.0
  • recharts ^2.1.6
  • redux ^4.1.0
  • redux-logger ^3.0.6
  • remark-math ^4.0.0
  • rimraf ^3.0.0
  • styled-components ^5.2.3
  • url-loader ^2.1.0
  • webfontloader ^1.6.28
  • webpack ^4.41.0
  • webpack-bundle-analyzer ^3.5.1
  • yup ^0.32.9
.github/workflows/build-backend.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
.github/workflows/build-frontend.yml actions
  • actions/checkout v2 composite
  • actions/setup-node v3 composite
frontend/package-lock.json npm
backend/requirements.txt pypi
  • Django ==3.1.7
  • PyJWT ==1.7.1
  • Rx ==1.6.1
  • aniso8601 ==7.0.0
  • asgiref ==3.3.1
  • certifi ==2020.12.5
  • chardet ==4.0.0
  • django-cors-headers ==3.7.0
  • django-extensions ==3.1.1
  • django-filter ==2.4.0
  • django-graphql-auth ==0.3.16
  • django-graphql-jwt ==0.3.0
  • djangorestframework ==3.12.4
  • djangorestframework-jwt ==1.11.0
  • graphene ==2.1.8
  • graphene-django ==2.15.0
  • graphql-core ==2.3.2
  • graphql-relay ==2.0.1
  • gunicorn *
  • idna ==2.10
  • iso3166 *
  • numpy ==1.23.0
  • openrouteservice ==2.3.3
  • pandas ==1.4.0
  • promise ==2.3
  • psycopg2-binary ==2.8.6
  • pydantic ==1.9.0
  • pydot ==1.4.2
  • pyparsing ==3.0.9
  • python-Levenshtein ==0.12.2
  • python-Levenshtein *
  • python-dateutil ==2.8.1
  • python-dotenv ==0.17.1
  • pytz ==2021.1
  • requests ==2.25.1
  • requests-toolbelt ==0.9.1
  • singledispatch ==3.6.1
  • six ==1.15.0
  • sqlparse ==0.4.1
  • text-unidecode ==1.3
  • thefuzz ==0.19.0
  • urllib3 ==1.26.4
  • whitenoise ==6.2.0

Score: 7.365812837209472