Skip to content

FRC-1721/ProjectHud

Repository files navigation

ProjectHUD CI

Project Hud

Flask server for displaying a quick development HUD (built specifically for use with FRC1721's code environment.

image

Development

pipenv shell
flask run --debug

Deploy

Deployment is handled with docker.

# Example Docker Compose File

services:
  project_hud:
    image: ghcr.io/frc-1721/project_hud-bot:main
    environment:
      TZ: America/New_York
      GITHUB_TOKEN: YOUR_TOKEN
      GITHUB_REPOS: YOUR,REPOS
      USERNAME_MAP: username:realname,

Example setup with openbox autostart

#!/bin/bash

unclutter -idle 0.1 -grab -root &

while :
do
  until curl --output /dev/null --silent --head --fail "http://10.17.21.81:5000"; do
    printf '.'
    sleep 5
  done

  xrandr --auto
  chromium \
    --no-first-run \
    --start-maximized \
    --disable \
    --disable-translate \
    --disable-infobars \
    --disable-suggestions-service \
    --disable-save-password-bubble \
    --disable-session-crashed-bubble \
    --incognito \
    --kiosk "http://10.17.21.81:5000"
  sleep 5
done &

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages