DouweM / tidbyt-guess-the-flag

Tidbyt app that lets you guess what country a flag belongs to.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tidbyt + Guess the flag!

Tidbyt app that lets you guess what country a flag belongs to. The correct answer is shown after 7 seconds.

Screenshot

Installation

This app is not available through Tidbyt's mobile app as it uses features that (for security reasons) are not supported in community apps that run on Tidbyt's official app server.

Instead, it needs to be run using Pixbyt, a self-hosted Tidbyt app server for advanced apps.

1. Set up Pixbyt

  1. Create your own Pixbyt repo
  2. Configure your Tidbyt

2. Install the app

  1. Add this repo as a submodule under apps:

    git submodule add https://github.com/DouweM/tidbyt-guess-the-flag.git apps/guess-the-flag
  2. Add an update schedule to apps.yml under schedules::

    schedules:
    # ...
    - name: guess-the-flag
      interval: '*/5 * * * *' # Every 5 minutes
      job: guess-the-flag

Usage

Build and launch your Pixbyt app server:

  1. Build the app server
  2. Launch the app server

Acknowledgements

This app is based on the "flags" community app by @btjones:

Copyright 2022 Brandon Jones

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Tidbyt app that lets you guess what country a flag belongs to.

License:MIT License


Languages

Language:Starlark 84.6%Language:Dockerfile 15.4%