Mirror for https://gitlab.com/ifiction/news-script
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
10 months ago | |
---|---|---|
src | 10 months ago | |
tests | 1 year ago | |
.gitignore | 2 years ago | |
.gitlab-ci.yml | 1 year ago | |
.phpstan.neon | 1 year ago | |
.pre-commit-config.yaml | 1 year ago | |
LICENSE | 2 years ago | |
README.md | 1 year ago | |
README.rus.md | 1 year ago | |
bot.php | 1 year ago | |
composer.json | 1 year ago | |
composer.lock | 1 year ago | |
config.yml.example | 1 year ago | |
kril.php | 1 year ago | |
phpunit.xml | 1 year ago | |
run.php | 10 months ago | |
wiki.php | 1 year ago |
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.