Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Martlgap/SmarterTankenWidget


https://github.com/Martlgap/SmarterTankenWidget

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

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:

image

## 🛠 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!