gSynch - A Github / Steam Workshop addon synchronizer in Python
0 replies, posted
gSynch
gSynch is a small script written in Python that aims to synchronize your addons published on the Workshop with their Github repository. Don't worry about using the boring tools gmad and gmpublish : publish a new Github release and run the script : the addon is updated on the Workshop.
Github's repository :
https://github.com/Gabyfle/gSynch
Prerequisites
A correct installation of Python, with the following modules (normally provided with any Python 3.5 installation):
json
requests
sys
os
zipfile
urllib.request
datetime
A Github repository containing your addon
The addon must have been published in order to use gSynch
An internet connection
An installation of Garry's Mod (to access gmad and gmpublish)
How does it works
To use this script, you must have a proper installation of Python 3.x on your system. Then, download the latest release (located in the releases tab of this repository) and put it in a random folder.
Before launching the script, you MUST configure it with your :
- A Steam API key : https://steamcommunity.com/dev/apikey
- A Github access token : https://github.com/settings/tokens
Then, launch a command prompt inside this folder and launch this command :
python main.py <appid> <fileid> <repoName>
Direct download : https://github.com/Gabyfle/gSynch/releases/download/1.0.0-beta/gsync-gabyfle.py
Sorry, you need to Log In to post a reply to this thread.