Skip to content

simple lightweight energy costs calculator written in Javascript for GitHub Pages

License

Notifications You must be signed in to change notification settings

leneffets/power

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Strompreisrechner

A modern, mobile-friendly web application to calculate electricity costs. Easily deployable via GitHub Pages.

Features

  • Wattage Input: Default value of 10W. Users can adjust to their needs.
  • Electricity Price Input: Allows up to four decimal places with a default value of 0.3000 €/kWh. Saved locally in the browser.
  • Daily Usage Time Input: Default value of 24 hours. Also saved locally in the browser.
  • Real-Time Calculations: Automatically calculates and updates the following:
    • Daily costs (in kWh and €)
    • Monthly costs (in kWh and €)
    • Yearly costs (in kWh and €)
  • Reset Button: Resets wattage and daily usage time to default values while retaining the electricity price.
  • Responsive Design: Optimized for both desktop and mobile devices.

Installation and Deployment

  1. Clone this repository:

    git clone https://github.com/leneffets/power.git
  2. Navigate to the project directory:

    cd power
  3. Deploy the app using GitHub Pages:

    • Push the code to your GitHub repository.
    • Enable GitHub Pages in the repository settings.
  4. Access the app through the provided GitHub Pages link.

Usage

  1. Open the web app in your browser.
  2. Adjust the input values for wattage, electricity price, and daily usage time as needed.
  3. View the calculated costs in the output section.
  4. Use the reset button to restore wattage and usage time to default values.

License

This project is licensed under the MIT License. See the LICENSE file for details.


Feel free to contribute or report issues to improve the app!

About

simple lightweight energy costs calculator written in Javascript for GitHub Pages

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages