Skip to content

Unofficial Linux/Windows SC2 replay uploader for sc2replaystats.com

Notifications You must be signed in to change notification settings

esiqveland/replayuploader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

replayuploader

SC2 replay uploader for https://sc2replaystats.com.

Motivation

Started this project to have some way to automatically upload my sc2 replays from Linux. The current code would probably work for Windows as well, but not macOS until supported by fsnotify/fsnotify project.

Usage

Copy repo and run:

go run cmd/main.go -dir "/absolute/path/to/replay/dir/" -token "mysc2replaytoken" -hash "sc2replayhash"

or use go get.

TODO

  • tests
  • check that all files in the replay dir have been uploaded before on app start
  • remember which files we have seen before between runs (basically store our list of things we've seen before and load it again)
  • only remember the files that have been successfully uploaded. right now it does not care if the upload call failed.
  • retry upload with backoff if it fails

About

Unofficial Linux/Windows SC2 replay uploader for sc2replaystats.com

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages