A simple Node.JS application which will fetch current fuel prices and return them as an RSS feed for DAKboard.
 
 
 
 
Go to file
Lukas Klinger 28f9237500 added some info for default route 2019-09-10 09:50:43 +02:00
public added some info for default route 2019-09-10 09:50:43 +02:00
.gitignore Initial commit 2018-09-29 17:17:48 +02:00
Dockerfile x86 dockerfile based on alpine linux 2019-09-10 09:44:21 +02:00
README.md amended README 2018-09-29 23:11:46 +02:00
app.js added some info for default route 2019-09-10 09:50:43 +02:00
package-lock.json started switch to tankerkönig api 2019-09-09 22:35:31 +02:00
package.json changed html interface to pug template engine 2018-09-29 22:21:28 +02:00

README.md

fuelRSS

A simple Node.JS application which will fetch current fuel prices for two stations and return them as an RSS or Atom feed for DAKboard. Uses benzinpreis-aktuell API v2.

Paths: http://IP:3000/ -> simple HTML view

http://IP:3000/rss -> RSS v2.0

http://IP:3000/atom -> Atom v1

http://IP:3000/json -> JSON data

Build for arm32v7 architecture: docker build -t fuelrss .

Run: docker run --restart unless-stopped -d --env APIKEY=[Your API key] --name fuelrss -p 3000:3000 fuelrss

Note: I am just starting to use Node, please excuse the somewhat horrible code :)