Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Martlgap/SmarterTankenWidget
https://github.com/Martlgap/SmarterTankenWidget
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/Martlgap/SmarterTankenWidget
- Owner: Martlgap
- Created: 2022-09-10T00:09:27.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-06T10:20:46.000Z (about 2 years ago)
- Last Synced: 2024-05-08T03:32:15.469Z (6 months ago)
- Language: JavaScript
- Size: 13.7 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-scriptable - SmarterTankenWidget.js - Price difference of two gas stations in different countries. (Cars)
README
# SmartTankenWidget
A JavaScript for Scriptable, showing you the price difference of two gas stations![![Last Commit](https://img.shields.io/github/last-commit/martlgap/SmarterTankenWidget)](https://img.shields.io/github/last-commit/martlgap/SmarterTankenWidget)
[![License](https://img.shields.io/badge/license-CC0-blue)](https://img.shields.io/badge/license-CC0-blue)
[![Version](https://img.shields.io/badge/version-1.0-purple)](https://img.shields.io/badge/version-1.0-purple)
[![License](https://img.shields.io/badge/plugin-scriptable-blue)](https://img.shields.io/badge/plugin-scriptable-blue)## 📗 Description
If you are a car holder and live close to a border, this widget is very convenient. Define a gas station of your hometown and another gas station of the cheaper country nearby. Check out the widget on your phone and save some money!## 🖥 Preview
Small example widget:## 🛠 How to Install
### iOS
- Download the [Scriptable App](https://apps.apple.com/de/app/scriptable/id1405459188).
- Open the Scriptable App and create a new script (+Button in the top-right corner).
- Name your script for example "SmarterTankenWidget" by simply tapping on "Untitled Script" in the top of the sreen.
- Copy&Paste the code [SmarterTankenWidget.js](https://raw.githubusercontent.com/Martlgap/SmarterTankenWidget/main/SmarterTankenWidget.js) code into the App.
- See the first content block of the code and modify it.
- Press "done".
- Go to your home-screen and add a new widget.
- Select the Scriptable App and choose the size of the widget.
- Press "Add Widget" and back on your home-screen press on the newly added widget-space.
- Select your script and choose what happens when interacting.## ☑️ TODOS
- [ ] ~~Use lat and long from config~~
- [x] ~~Variable fueltype~~
- [ ] Support for other countries
- [x] ~~Light mode support~~## 🔍 Find more widgets on
- [https://www.scriptables.de/](https://www.scriptables.de/)
- [https://github.com/dersvenhesse/awesome-scriptable](https://github.com/dersvenhesse/awesome-scriptable)## 📣 Checkout my other widget here
- [https://github.com/Martlgap/CryptoDepotWidget/](https://github.com/Martlgap/CryptoDepotWidget)You are very welcome to submit new ideas, feature-request and issues!