{"id":17996938,"url":"https://github.com/max-programming/battery-info-typescript","last_synced_at":"2025-07-14T17:11:20.301Z","repository":{"id":55539077,"uuid":"263234168","full_name":"max-programming/battery-info-typescript","owner":"max-programming","description":"I built a simple battery info app in vanilla JavaScript using the battery web api in the navigator and Bootstrap. Check out my YouTube channel too if u like: https://youtube.com/MaxProgramming/","archived":false,"fork":false,"pushed_at":"2021-03-01T14:36:22.000Z","size":405,"stargazers_count":11,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T22:05:58.562Z","etag":null,"topics":["battery-info","bootstrap","hacktoberfest","javascript","js","navigator","navigator-api","ts","typescript","vanilla-javascript","webpack"],"latest_commit_sha":null,"homepage":"https://battery-info.netlify.app/","language":"HTML","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/max-programming.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}},"created_at":"2020-05-12T04:41:50.000Z","updated_at":"2023-04-13T14:56:27.000Z","dependencies_parsed_at":"2022-08-15T02:50:29.207Z","dependency_job_id":null,"html_url":"https://github.com/max-programming/battery-info-typescript","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/max-programming/battery-info-typescript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-programming%2Fbattery-info-typescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-programming%2Fbattery-info-typescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-programming%2Fbattery-info-typescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-programming%2Fbattery-info-typescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/max-programming","download_url":"https://codeload.github.com/max-programming/battery-info-typescript/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-programming%2Fbattery-info-typescript/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265322510,"owners_count":23746631,"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":["battery-info","bootstrap","hacktoberfest","javascript","js","navigator","navigator-api","ts","typescript","vanilla-javascript","webpack"],"created_at":"2024-10-29T21:16:18.402Z","updated_at":"2025-07-14T17:11:20.266Z","avatar_url":"https://github.com/max-programming.png","language":"HTML","readme":"# battery-info-javascript\n\nI built a simple battery info app using the `getBattery` web API in the `navigator` and Typescript.\n\nIt will show you the current battery status of your device with some cool and tasty emojis 😏. And charging if it is charging.\n\n## Useful links\n[`getBattery` API](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/getBattery)\n\n[Codepen](https://codepen.io/Max_Programming/full/jObeGMj)\n\n[YouTube tutorial](https://youtu.be/J8_hwKSeffY)\n\n## Browsers that don't support the `navigator.getBattery` API: 🚫\n\n- \u003cimg height=\"16\" width=\"16\" src=\"https://unpkg.com/simple-icons@v3/icons/brave.svg\" /\u003e Brave\n- \u003cimg height=\"16\" width=\"16\" src=\"https://unpkg.com/simple-icons@v3/icons/firefox.svg\" /\u003e Firefox\n- \u003cimg height=\"16\" width=\"16\" src=\"https://unpkg.com/simple-icons@v3/icons/safari.svg\" /\u003e Safari\n\netc...\n\nFont used in the project: [Audiowide](https://fonts.google.com/specimen/Audiowide).\n\nBootstrap Theme used: [Darkly on Bootswatch](https://bootswatch.com/darkly/).\n\n![Screenshot](screenshot.jpg)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmax-programming%2Fbattery-info-typescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmax-programming%2Fbattery-info-typescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmax-programming%2Fbattery-info-typescript/lists"}