Mirror for https://gitlab.com/ifiction/news-script
|
||
---|---|---|
src | ||
tests | ||
.gitignore | ||
.gitlab-ci.yml | ||
.phpstan.neon | ||
.pre-commit-config.yaml | ||
LICENSE | ||
README.md | ||
README.rus.md | ||
bot.php | ||
composer.json | ||
composer.lock | ||
config.yml.example | ||
kril.php | ||
phpunit.xml | ||
run.php | ||
wiki.php |
README.md
A set of utilities for tracking text-based game releases
Originally a parser for Russian Interactive Fiction, now it's much more than that.
These are executable PHP scripts that serve different functions but share the code.
run.php
This one was the first. Its function is simple: it scans some game hosting sites, finds the new games (published during the last week) and prints a neat list in Markdown or HTML format. All automatic.
bot.php
This one does the same in continuous fashion, posting the feed to Mastodon or Telegram.
wiki.php
And this one makes wiki pages for the IFWiki. It uses Russian IFWiki syntax and templates but it would be easy to alter for the English IFWiki as well if you'd want that.
kril.php
Just ignore this, it's for Russian IF comp.
Installation
- Install
pandoc
andphp
withmbstring
andxml
extensions. - Install
composer
and executecomposer install
- Copy the
config.yml.example
toconfig.yml
, edit it. - Run the scripts.