Tracking things using static site generators
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
trémeur 63b9b9cca5 Standing on the shoulders of giants 10 months ago
build Fully working version (?) 10 months ago
.gitignore Fully working version (?) 10 months ago
COPYING Working script for game tracking 1 year ago
README.org Add basic RSS feed functionality 10 months ago
UNLICENSE Standing on the shoulders of giants 10 months ago
backlog.py Fully working version (?) 10 months ago
cardstring.py Fully working version (?) 10 months ago
demo.org Add demo org file 11 months ago
gamesort.py Add demo org file 11 months ago
generate.py Fully working version (?) 10 months ago
history.py Add basic RSS feed functionality 10 months ago
init.py Fix server upload issue 10 months ago
library.py Rebuild in modular fashion 11 months ago
skeleton.py Add basic RSS feed functionality 10 months ago
sublibrary.py Rebuild in modular fashion 11 months ago
variables-template.py Add basic RSS feed functionality 10 months ago

README.org

Trackers

Dependencies

  • python3
  • orgparse (install via pip)
  • rclone (for syncing to the server)

Tracking games with a backloggery clone

Setup

Setting the variables

Rename variables-template.py to variables.py and edit:

  • endlessgames: a list of “endless” games in the format title (console)
  • orgpath: absolute path to the root directory in which .org files are stored, including trailing slash
  • localpath: absolute path to this directory, including trailing slash
  • serverpath: path to directory on the server where files will be uploaded, including trailing slash
  • domain: https://yourdomain.tld without trailing slash
  • rclonesiteroot: path rclone uses to access your webserver
  • description: content for the “about” section (can include HTML tags)
  • hue: theme colour expressed as a hue from 0 to 360
  • consoles: add or remove consoles following the format provided (.png images must be added to the build directory with a filename corresponding with the value of "img" for each console)

The rest

  • Run python3 init.py and then chmod +x build.sh.
  • Create the directory on the server.

Generating the files

  • Run python3 generate.py local to build in the local build directory.
  • Run ./build.sh to build and upload to the server.