oreolek
/
news-script
Archived
1
0
Fork 0
This repository has been archived on 2020-07-31. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Alexander Yakovlev fd9f522f46
phpstan config
2019-05-16 01:27:32 +07:00
Source Фикс парсера Anivisual с unit-тестом для верности 2019-04-25 19:14:19 +07:00
tests fix AnivisualTest class name 2019-04-25 19:56:49 +07:00
.gitignore Added Telegram/Mastodon bot, GPLv3 license 2018-05-13 14:02:22 +07:00
.gitlab-ci.yml Forgot about Gitlab CI, removed Jenkins 2019-04-16 13:43:24 +07:00
.phpstan.neon phpstan config 2019-05-16 01:27:32 +07:00
.pre-commit-config.yaml phpstan config 2019-05-16 01:27:32 +07:00
Game.php Do not output HTML on empty descriptions 2019-04-26 16:30:31 +07:00
LICENSE Added Telegram/Mastodon bot, GPLv3 license 2018-05-13 14:02:22 +07:00
README.md Forgot about Gitlab CI, removed Jenkins 2019-04-16 13:43:24 +07:00
README.rus.md composer update & more READMEs 2019-04-16 13:32:10 +07:00
Source.php More games from Itch 2019-04-18 20:28:59 +07:00
Wikipage.php Улучшения парсера квестбука 2019-02-09 21:43:34 +07:00
_download.php Rename helper script 2019-04-07 16:12:54 +07:00
bot.php Rename helper script 2019-04-07 16:12:54 +07:00
composer.json fix composer test command 2019-04-16 13:55:23 +07:00
composer.lock composer update & more READMEs 2019-04-16 13:32:10 +07:00
config.yml.example Комментарии и README 2019-04-16 12:52:05 +07:00
kril.php phpstan config 2019-05-16 01:27:32 +07:00
phpunit.xml phpunit config 2019-04-16 13:54:47 +07:00
run.php phpstan config 2019-05-16 01:27:32 +07:00
wiki.php phpstan config 2019-05-16 01:27:32 +07:00

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.

pipeline status

Русская версия readme

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

  1. Install pandoc and php with mbstring and xml extensions.
  2. Install composer and execute composer install
  3. Copy the config.yml.example to config.yml, edit it.
  4. Run the scripts.