Coder Social home page Coder Social logo

bookmybird's Introduction

BookMyBird

Unofficial CLI tool for booking resources recurringly in DeskBird. Not affiliated in any way with DeskBird. Use at own risk.

Setup

Docker

Config

  • Configure your own env vars:
    cp compose.override.TEMPLATE.yaml compose.override.yaml

Deskbird settings

  • Company/account settings: Update in compose.override.yaml

    • DESKBIRD_RESOURCE_ID (company)
    • DESKBIRD_WORKSPACE_ID (company)
    • DESKBIRD_USER_ID (your account)
  • Auth settings: Update in compose.override.yaml:

    • DESKBIRD_GOOGLE_AUTH_KEY (your account)
    • DESKBIRD_GOOGLE_AUTH_REFRESH_TOKEN (your account)

Tool settings

  • Booking preferences: Update in compose.override.yaml:
    • BOOK_DAYS_AHEAD

      • Please note that a value of 6 results in the tool to target the single day six days ahead. You may or may not be limited by your company's restrictions set in DeskBird.
      • E.g. if it's just past midnight, early on a Wednesday, a BOOK_DAYS_AHEAD=6 will have this tool try to book your preferences for next week Tuesday.
      • Additionally, on every startup/restart, it will try to book the targeted day once. Both for convenience and debugging.
    • DESKBIRD_ZONE_ITEM_IDS_ON_* (per weekday)

      • The latter may be multiple zone item IDs, comma separated.
      • Zone item IDs for your workspace will also be retrieved on startup and logged as output.

Finishing up

  • Run:
    docker-compose up -d
  • Logs:
    docker logs bookmybird-app -f -t

bookmybird's People

Contributors

dennissiemensma avatar

Stargazers

Florian Schlund avatar

Watchers

Florian Schlund avatar  avatar

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.