Skip to content
This repository has been archived by the owner on Oct 12, 2024. It is now read-only.

vuon9/d2m

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

D2M

GitHub release GitHub license Go GitHub commits

Dota2 scheduled matches tracker. Mainly by CLI, but also support Restful API.

This project was initially created to explore HTML crawling using the bubbletea library. However, relying solely on HTML changes for logic proved unsustainable.

Due to this limitation, I've decided to archive the project.

Main

Installation

Install from source with go (requires go 1.18+)

go install github.com/vuon9/d2m@latest

Or download the binary from release page

Usage

❯ d2m

CLI Features

  • View details of teams
  • Type o to open Twitch streaming link in web browser
  • Type ? to see all available filter commands
  • Type / to quickly filter with Regular expression then your regex, e.g. team1|team2 (case-insensitive)
  • Display icons to help you quickly identify the status:
    • Team has info: ◆ (but not 100% sure if it has roster, some teams have no roster or no info at all)
    • Team has no info (e.g TBD): ◇
    • Live match has streaming page: Twitch icon (has to install Nerdfont to display correctly)

APIs

  • /matches: Get all matches
  • /teams/:teamID: Get team details (e.g. :teamID = 'OG')