Git Product home page Git Product logo

wurgerking's Introduction

Würger King

An unofficial free and open source cross-platform proxy server & web UI for the Burger King® app in Germany. (coupons only support Germany due to API changes)

This app can be used on old smartphones and unsupported operating systems and offers near full functionality for promotions and coupons.

The app is not affiliated with Burger King® in any way and usage is not allowed in any way not allowed by the terms of the Burger King® (Germany) app.

It is designed to be fast and lightweight and only required a browser to function.

This project started inspired by Slurger and builds on top of their previous work.

Furthermore this is now a webapp alternative for the Better King Telegram bot. You can use the Telegram bot for notifications and other features as well as the lightest possible mobile data experience.

The web-facing part is licensed GPLv3. Server and other parts are licensed under the MIT license. See LICENSE.md for more information.

Extra features:

  • more pretty coupons page: there will almost never be any gaps between coupons, no matter how you sort
  • more coupon filters (view historical coupons)
  • shows coupon count
  • shows paper coupons

Planned/TODO:

  • basket mode for quickly scanning multiple coupons
  • coupon search
  • product list
  • offline API emulation (service worker)
  • show products in promotions
  • web view tile
  • king finder tile
  • delivery tile
  • link tile
  • ingredient list
  • allergen list

Running

There is an existing online instance deployed on https://wurgerking.wfr.moe/.

To build from source and run it yourself, first install MongoDB and a D compiler.

First start mongodb, then run

dub

to build & run the app. You can access it on http://127.0.0.1:3000 (accessible over local network) afterwards.

To not be accessible over the local network, change the bindAddresses occurence in source/app.d to ["::1", "127.0.0.1"]

Updates

If you are on commit cf69782 or before you should run

use wurgerking
db.coupons.update({}, {$set:{_region:"de/de"}}, false, true)
db.promos.update({}, {$set:{_region:"de/de"}}, false, true)
db.flags_.update({}, {$set:{_region:"de/de"}}, false, true)
db.flags_allergens.update({}, {$set:{_region:"de/de"}}, false, true)
db.flags_ingredients.update({}, {$set:{_region:"de/de"}}, false, true)
db.flags_productCategories.update({}, {$set:{_region:"de/de"}}, false, true)
db.flags_storeCategories.update({}, {$set:{_region:"de/de"}}, false, true)
db.promos.dropIndex("id_1")
db.coupons.dropIndex("id_1")

in your mongodb database to update old entries. Otherwise all old data will be ignored and new data identical will be cached.


This app is not affiliated with Burger King®, Burger King Deutschland GmbH or any other third parties.

It is solely made as a project to research web app design based on a real usecase with the goal of offering wider availability for the app to older smartphones and devices with unsupported operating systems.

API usage is in no way officially recognized and is only used very sparsely to offer minimum functionality and it tries to use as few resources as possible to not cause any more weight than a normal user.

wurgerking's People

Contributors

webfreak001 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

wurgerking's Issues

Support upsellcouponid

there is a new property in the JSON response called "upsellcouponid"

When you click on a coupon in the official Burger King app with this property set, a popup will appear, giving you a slightly bigger and slightly more expensive coupon to optionally choose (such as bigger drink instead of normal drink)

WurgerKing should have some kind of indicator for these coupons and possibly make it easy to switch between two coupons with a swipe. To query these coupons from the API however it seems I need to currently query each coupon separately. Maybe there is an API for this though, so I will need to check this first.

rewrite layouting using css grid

auto placement with grid-auto-flow: dense would achieve the same thing as the current complex server side rendering

should no longer use so many vw/vh hacks and work with making smaller on landscape mode screens

redo app

the official BK app was redone again

  • test for new APIs (coupons, promos)
  • redo CSS
  • implement new APIs
  • check for localization

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.