Skip to content

jimmyhealer/DOMjudge-LiveStream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

99 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Domjudge Scoreboard Live Stream Tools

License Version

Logo

Overview

A Domjudge Scoreboarkd Contest Live Stream Tools is a web application developed using Vue 3 and Express. This tool is designed to provide a live stream of the scoreboard during programming contests managed by Domjudge. It is highly customizable and easy to deploy with Docker.

Features

{% include ".gitbook/includes/casdoc.md" %}

  • Real-time scoreboard updates
  • User-friendly interface
  • Easy to set up and deploy with Docker
  • Developed with modern technologies: Vue 3, Express, Vite, and Bun

{% include ".gitbook/includes/casdoc.md" %}

Installation

Prerequisites

  • Docker
  • Node.js (if running without Docker)

Docker Deployment

  1. Pull the Docker image from the repository:

    docker pull jimmyhealer/domjudge-live
  2. Create a Docker volume:

    docker volume create --name live-db
  3. Run the Docker container:

    docker run -itd -p 80:3000 -e DOMJUDGE_API=[YOUR_DOMJUDGE_URL] -e DOMJUDGE_USERNAME=[YOUR_DOMJUDGE_API_USERNAME] -e DOMJUDGE_PASSWORD=[YOUR_DOMJUDGE_API_PASSWORD] --name domjudge-live -v live-db:/app/server/volume jimmyhealer/domjudge-live

    -e DOMJUDGE_API is the URL of your Domjudge API. For example, http://localhost/domjudge.
    -e DOMJUDGE_USERNAME is the username of your Domjudge API.
    -e DOMJUDGE_PASSWORD is the password of your Domjudge API.

  4. Access the application at http://localhost.

Local Development

  1. Clone the repository:

    git clone https://github.com/jimmyhealer/DOMjudge-LiveStream.git
  2. Install dependencies:

    bun install
  3. Start the development server:

    bun dev
  4. Access the application at http://localhost:5173.

Development

This project is developed using Vite and Bun. Vite is a fast build tool and development server, while Bun is a modern JavaScript runtime.

Project Structure

.
β”œβ”€β”€ src
β”‚   β”œβ”€β”€ assets
β”‚   β”œβ”€β”€ components
β”‚   β”œβ”€β”€ router
β”‚   β”œβ”€β”€ composable
β”‚   β”œβ”€β”€ stores
β”‚   β”œβ”€β”€ types
β”‚   β”œβ”€β”€ utils
β”‚   β”œβ”€β”€ views
β”‚   β”œβ”€β”€ App.vue
β”‚   └── main.ts
β”œβ”€β”€ server
|   β”œβ”€β”€ src
β”‚       └── index.js
β”œβ”€β”€ Dockerfile
└── package.json

Contributing

Contributions are welcome! Please fork the repository and create a pull request with your changes.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Contact

If you have any questions or need further assistance, you can issue a request in the repository. Or feel free to contact us at yahing6066@gmail.com.

Acknowledgements

About

A Domjudge Scoreboard contest Live Stream tools.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors