feat: webhook support when publishing a new article

Open
#228 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
20/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
github-actions, typescript
Domain
api, backend

Research direction

The payload names no files or entry points, so start by finding where a non-draft article is published in the codebase and how the CMS already handles save or publish events. Decide whether a webhook belongs in that path or in a separate integration. The issue itself asks whether this is out of scope, and it has had no reply in 554 days, so confirm with maintainers before writing code. Done means a maintainer-approved design and a test showing a POST to a configured URL when a non-draft article is published.

Written by the indexing model from the issue text.

Description

enhancement

Would be nice that each time you publish a new non-draft article to push an update at a certain webhook. For example to a dedicated worker for reposting in social media.

Maybe out of scope?
I know a similar result can be archive through github-actions or such a thing. But it might be nice to have integrated with the data that is already managed inside the cms

Dominant language
TypeScript
Stars
4.1k
Forks
564
Avg merge
8m
Merged PRs (30d)
5

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from hunvreus/pagescms

All issues in hunvreus/pagescms

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.