{"id":18479439,"url":"https://github.com/yggverse/pulsar","last_synced_at":"2026-05-08T13:04:47.830Z","repository":{"id":234475975,"uuid":"788971925","full_name":"YGGverse/Pulsar","owner":"YGGverse","description":"RSS aggregator for different protocols","archived":false,"fork":false,"pushed_at":"2024-05-07T05:50:02.000Z","size":49,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-11T04:32:01.354Z","etag":null,"topics":["1900","1965","aggregator","composer","converter","gemini","gemini-protocol","gemini-rss","gemtext","nex","nex-protocol","ratchet","rss","sqlite"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/YGGverse.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-19T13:00:35.000Z","updated_at":"2025-03-02T16:18:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"9734e654-74e3-4b3c-92cd-fef9de7cc3c5","html_url":"https://github.com/YGGverse/Pulsar","commit_stats":null,"previous_names":["yggverse/pulsar"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YGGverse%2FPulsar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YGGverse%2FPulsar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YGGverse%2FPulsar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YGGverse%2FPulsar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YGGverse","download_url":"https://codeload.github.com/YGGverse/Pulsar/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254005910,"owners_count":21998344,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["1900","1965","aggregator","composer","converter","gemini","gemini-protocol","gemini-rss","gemtext","nex","nex-protocol","ratchet","rss","sqlite"],"created_at":"2024-11-06T12:14:53.882Z","updated_at":"2026-05-08T13:04:42.780Z","avatar_url":"https://github.com/YGGverse.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pulsar\n\nRSS aggregator for different protocols\n\nSee also [alternative branch](https://github.com/YGGverse/Pulsar/tree/fs) to generate static `gemtext`\n\n## Features\n\n* [x] `src/crawler.php` - scan configured RSS feeds and dump results to SQLite\n* [ ] `src/cleaner.php` - auto clean deprecated records\n* [x] `src/server.php` - server launcher for different protocols:\n  * [x] [NEX](https://nightfall.city/nex/info/specification.txt) - based on [Ratchet](https://github.com/ratchetphp/Ratchet) `IoServer` asynchronous socket library\n  * [ ] [Gemini](https://geminiprotocol.net)\n\n## Example\n\n* `nex://[301:23b4:991a:634d::feed]` - [Yggdrasil](https://github.com/yggdrasil-network/yggdrasil-go) instance by YGGverse\n\n## Install\n\n1. `apt install git composer php-fpm php-sqlite3 php-pdo php-mbstring` - install system dependencies\n2. `git clone https://github.com/YGGverse/Pulsar.git` - get latest Pulsar version\n3. `cd Pulsar` - navigate project folder\n4. `composer update` - install application dependencies\n5. `cp config/example.json config/name.json` - setup your feed\n\n## Crawler\n\n* `php src/crawler.php config=name.json` - crawl feeds configured by `name.json` - manually or using crontab\n  * `config` - relative (to `config` folder) or absolute path to configuration file\n\n## Server\n\nLaunch as many servers as wanted, for different protocols and configurations (provided as the arguments)\n\n* `php src/server.php protocol=nex config=name.json` - launch `nex` protocol server with `name.json` config\n  * `config` - relative (`config` folder) or absolute path to configuration file\n  * `protocol` - server protocol, supported options:\n    * `nex` - [NEX Protocol](https://nightfall.city/nex/info/specification.txt)\n\n### Autostart\n\n#### systemd\n\nLaunch server as the systemd service\n\nFollowing example mean application installed into the home directory of `pulsar` user (`useradd -m pulsar`)\n\n``` pulsar.service\n# /etc/systemd/system/pulsar.service\n\n[Unit]\nAfter=network.target\n\n[Service]\nType=simple\nUser=pulsar\nGroup=pulsar\nExecStart=/usr/bin/php /home/pulsar/Pulsar/src/server.php protocol=nex config=name.json\nStandardOutput=file:/home/pulsar/debug.log\nStandardError=file:/home/pulsar/error.log\nRestart=on-failure\n\n[Install]\nWantedBy=multi-user.target\n```\n\n* `sudo systemctl daemon-reload` - reload systemd configuration\n* `sudo systemctl enable pulsar` - enable service on system startup\n* `sudo systemctl start pulsar` - start server\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyggverse%2Fpulsar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyggverse%2Fpulsar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyggverse%2Fpulsar/lists"}