Skip to content

feat(extensions): add Webhook extension for automated RSS notifications#324

Open
Ryahn wants to merge 9 commits intoFreshRSS:mainfrom
Ryahn:1513-Share-To-Webhook
Open

feat(extensions): add Webhook extension for automated RSS notifications#324
Ryahn wants to merge 9 commits intoFreshRSS:mainfrom
Ryahn:1513-Share-To-Webhook

Conversation

@Ryahn
Copy link
Copy Markdown

@Ryahn Ryahn commented May 30, 2025

🎯 Purpose

Implements the long-requested webhook feature from issue #1513, allowing users to automatically send webhook notifications when RSS entries match specified keywords.

🚀 Features

  • Automated webhook notifications for matching RSS entries
  • Flexible pattern matching (titles, feeds, authors, content)
  • Support for multiple HTTP methods and request formats
  • Template-based webhook payloads with placeholders
  • Comprehensive error handling and logging
  • Built-in test functionality

🔧 Technical Details

  • Complete PHPDoc documentation
  • Optimized performance with minimal RSS processing impact

🧪 Testing

  • Syntax validation passed
  • Configuration interface tested
  • Webhook functionality verified
  • Error handling validated

📚 Documentation

  • Comprehensive README with examples
  • PHPDoc documentation throughout
  • Configuration guide included
  • Troubleshooting section provided

Resolves #1513

Ryahn added 2 commits May 30, 2025 16:48
…ns - Implements webhook notifications for RSS entries matching keywords - Supports pattern matching in titles, feeds, authors, and content - Configurable HTTP methods and request formats - Comprehensive error handling and logging - Resolves #1513
@Alkarex
Copy link
Copy Markdown
Member

Alkarex commented May 31, 2025

FreshRSS/FreshRSS#1513

@Alkarex
Copy link
Copy Markdown
Member

Alkarex commented May 31, 2025

Thanks @Ryahn 👍🏻
I have made a few fixes. A bit more would be good - see automated tests (or run make test-all)

@Ryahn
Copy link
Copy Markdown
Author

Ryahn commented Jun 1, 2025

Thanks @Ryahn 👍🏻

I have made a few fixes. A bit more would be good - see automated tests (or run make test-all)

Will make more fixes in the next day or 2.

@Inverle
Copy link
Copy Markdown
Member

Inverle commented Jul 10, 2025

any updates?

@mhogstedt
Copy link
Copy Markdown

I would love this feature!

@onlymykazari
Copy link
Copy Markdown

I'd like to take over the development of this extension. Would you mind adding me as a collaborator, or can I fork it myself? Looking forward to your reply. @Ryahn

@Ryahn
Copy link
Copy Markdown
Author

Ryahn commented Feb 14, 2026

@onlymykazari sent an invite. I havent had time to even work on anything for a while. New promotion and priorities at my job.

@IAM-marco
Copy link
Copy Markdown
Contributor

From my understanding (not a php dev), the pipeline is failing due to linting issues. Is that the only thing to fix? If so, I can take over.

Is something else expected from this PR?

@Alkarex
Copy link
Copy Markdown
Member

Alkarex commented Apr 12, 2026

@IAM-marco Help welcome. You can make a PR with this branch as base and targetting main.

Alkarex added a commit that referenced this pull request May 3, 2026
…ns (#456)

* Copy of Ryahn:1513-Share-To-Webhook

This is a copy of #324 with the linting fixed.

All credits to @Ryahn (and @Alkarex for the fixes)

---

## 🎯 Purpose
Implements the long-requested webhook feature from issue #1513, allowing users to automatically send webhook notifications when RSS entries match specified keywords.

## 🚀 Features
- Automated webhook notifications for matching RSS entries
- Flexible pattern matching (titles, feeds, authors, content)
- Support for multiple HTTP methods and request formats
- Template-based webhook payloads with placeholders
- Comprehensive error handling and logging
- Built-in test functionality

## 🔧 Technical Details
- Complete PHPDoc documentation
- Optimized performance with minimal RSS processing impact

## 🧪 Testing
- Syntax validation passed
- Configuration interface tested
- Webhook functionality verified
- Error handling validated

## 📚 Documentation
- Comprehensive README with examples
- PHPDoc documentation throughout
- Configuration guide included
- Troubleshooting section provided

Resolves FreshRSS/FreshRSS#1513

* Linting

* Fixes for successful make test-all

* i18n

* Readme entry

* Favour faster single quotes, and Heredoc

* Rework saving/reading configuration values

* Remove obsolete log functions

* Rework cURL to use FreshRSS safer httpGet() method
Need:
* FreshRSS/FreshRSS#8700
* FreshRSS/FreshRSS#8705

* Minor formatting

* Use native search filters

* Use same placeholder conventions than LLmClassification

* Remove conflicting License file

* Simplifications, reduce code

Co-authored-by: Copilot <copilot@github.com>

* Add GReader and RSS payloads
And more simplification

---------

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Co-authored-by: Copilot <copilot@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants