Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 369 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 369 Bytes

radiostat

Requirements

  • PHP >=8.3 with curl, sqlite3, hash and json extensions

Usage

Simple usage. Reads stats and writes to database:

php -f ./src/stat.php <PATH_TO_DATABASE>

Everything at once:

# Parses stats, creates html-page and pushes it to Neocities
USER='<NEOCITIES_LOGIN>' PASS='<NEOCITIES_PASSWORD>' ./build.sh