This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# install script to make installing ogatak easier | |
REPO_URL="https://api.github.com/repos/rooklift/ogatak/releases/latest" | |
CONFIG_URL="https://raw.githubusercontent.com/sanderland/katrain/refs/heads/master/katrain/KataGo/analysis_config.cfg" | |
# Use curl to fetch the JSON data for the latest release | |
RELEASE_DATA=$(curl -s -H "Accept: application/json" "$REPO_URL" 2>/dev/null) | |
# Extract the URL of the latest release using jq |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
# | |
# This program will download all games on online-go.com for a specified user | |
BASE='https://online-go.com/' | |
API='api/v1' | |
# Get username and ID | |
echo 'What is your OGS Username? ' | |
read USERNAME |