{"id":21638273,"url":"https://github.com/w-ptra/wattwise","last_synced_at":"2026-04-13T19:31:51.973Z","repository":{"id":223784679,"uuid":"761543315","full_name":"W-ptra/WattWise","owner":"W-ptra","description":"Project Software Engineer Semester 4, wattwise is a web-based electricity calculator that can help you calculate the amount of electricity used in your home, sum the bills by the time (day,week, and month), and predict how long it will take for your electricity tokens to run out (in day), which will be visualized using graph.","archived":false,"fork":false,"pushed_at":"2024-09-09T14:46:38.000Z","size":1729,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-19T01:13:56.388Z","etag":null,"topics":["bootstrap","ejs","expressjs","javascript"],"latest_commit_sha":null,"homepage":"","language":"EJS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/W-ptra.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-02-22T02:53:24.000Z","updated_at":"2024-10-21T07:19:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"c00be0ae-2d90-4423-90cd-a88161a8043c","html_url":"https://github.com/W-ptra/WattWise","commit_stats":null,"previous_names":["w-ptra/wattwiser","w-ptra/wattwise"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/W-ptra/WattWise","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/W-ptra%2FWattWise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/W-ptra%2FWattWise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/W-ptra%2FWattWise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/W-ptra%2FWattWise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/W-ptra","download_url":"https://codeload.github.com/W-ptra/WattWise/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/W-ptra%2FWattWise/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31768636,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"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":["bootstrap","ejs","expressjs","javascript"],"created_at":"2024-11-25T04:09:01.969Z","updated_at":"2026-04-13T19:31:51.953Z","avatar_url":"https://github.com/W-ptra.png","language":"EJS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WattWise\nProject mata kuliah Software Engineer Semester 4 Wattwise is a web-based electricity calculator that can help you calculate the amount of electricity used in your home, sum the bills by the time (day,week, and month), and predict how long it will take for your electricity tokens to run out (in day), which will be visualized in graph.  \n# How to Use \n1. Go to Service\n  \n![img](https://drive.google.com/uc?export=view\u0026id=1Y1x0TDKoy4aQ95MC-2iHCENzzhzCc_84)  \n3. Input Electric tools Watt, Hour Usage, Electricity tariff, and Electricity Token (*Optional)  \n  \n![img](https://drive.google.com/uc?export=view\u0026id=1HoVq3ptopD_S-i4zHHVOAMrYSYHT-NHZ)  \n5. Click ``Calculate Consumtion`` Button  \n  \n![img](https://drive.google.com/uc?export=view\u0026id=1U2qIj4xfsJj0GTz7Uhj5xvP0UNg5sn9L)  \n# Tech Stack \n1. Node.js\n2. Express.js\n3. EJS\n4. Bootstrap\n5. NGINX\n6. Docker\n7. Cloudflare\n# Architecture  \nWattwise hosted at Alibabacloud's ECS instance and running on Docker container, when user accessing ``https://wattwise.wisnuputra.xyz`` cloudflare thru it's tunnel will route user's request to Nginx, then distribute equally (round robin loud balancing) to 3 web server.  \n  \n![img](https://drive.google.com/uc?export=view\u0026id=13CkroTVkFGj5DT7N5Dt6zbgU-pUBf_zR)\n## Why using cloudflare?  \nCloudflare on it's Zero Trust network tunnel feature provided us with free secure HTTPS connection.  \nReference: https://youtu.be/tpgai7X-Id0?si=xXtRlBRL1fZB1LyZ by Aji Diyantoro  \n# Docker Use\n``run -d --name {container name} -p 8080:80 -e SERVER_NAME={server name} wisnup001binus/wattwise:3.0``  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fw-ptra%2Fwattwise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fw-ptra%2Fwattwise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fw-ptra%2Fwattwise/lists"}