mirror of https://github.com/YGGverse/Pulsar.git
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.
yggverse
2410cc7bfc
|
5 months ago | |
---|---|---|
config | 5 months ago | |
src | 5 months ago | |
.gitignore | 5 months ago | |
LICENSE | 6 months ago | |
README.md | 5 months ago | |
composer.json | 5 months ago |
README.md
Pulsar
RSS Aggregator for different protocols
Features
src/crawler.php
- scan configured RSS feeds and dump results to SQLite DB (see also alternative branch)src/cleaner.php
- auto clean deprecated records in databasesrc/server.php
- server launcher with multiple host support, based on Ratchet asynchronous socket library
Example
nex://[301:23b4:991a:634d::feed]
- Yggdrasil instance by YGGverse
Install
apt install git composer php-fpm php-pdo php-mbstring
- install system dependenciesgit clone https://github.com/YGGverse/Pulsar.git
- get latest Pulsar versioncd Pulsar
- navigate project foldercomposer update
- install application dependenciescp config/example.json name.json
- setup your feed
Crawler
php src/crawler.php config=name.json
- crawl feeds configured byname.json
- manually or using crontabconfig
- relative (toconfig
folder) or absolute path to configuration file
Server
php src/server.php protocol=NPS config=name.json
- launchNPS
server configured byname.json
protocol
- supported options:NPS
config
- relative (toconfig
folder) or absolute path to configuration file