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
30a7f69083
|
7 months ago | |
---|---|---|
config | 7 months ago | |
src | 7 months ago | |
.gitignore | 7 months ago | |
LICENSE | 7 months ago | |
README.md | 7 months ago | |
composer.json | 7 months ago |
README.md
Pulsar
RSS aggregator for different protocols
See also alternative branch to generate static gemtext
Features
src/crawler.php
- scan configured RSS feeds and dump results to SQLitesrc/cleaner.php
- auto clean deprecated recordssrc/server.php
- server launcher for different protocols:
Example
nex://[301:23b4:991a:634d::feed]
- Yggdrasil instance by YGGverse
Install
apt install git composer php-fpm php-sqlite3 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 config/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
Launch as many servers as wanted, for different protocols and configurations (provided as the arguments)
php src/server.php protocol=nex config=name.json
- launchnex
protocol server withname.json
configconfig
- relative (config
folder) or absolute path to configuration fileprotocol
- server protocol, supported options:nex
- NEX Protocol