Skip to content

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.

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')