Skip to content

sveltefr/changelog-alerts

Repository files navigation

Svelte alerts

Tracks updates in the changelogs of Svelte and SvelteKit repos and send a message in a dedicated channel on a Discord Server.

Note: Currently only tracking SvelteKit main repo

Usage

  1. Create a Discord app, with its bot, using Discord web interface, then connect it to your server using the generated HTML link. Don't forget to give it message permissions.

  2. Create a dedicated channel in your server.

In an actual Github Action

  1. Create the following environment variables in your repo:

    • DISCORD_BOT_TOKEN: your bot's token
    • DISCORD_CHANNEL_ID: your channel's id
  2. Use the action

Locally

Don't forget to pnpm i.

  1. Copy-paste the .env-template file as .env, and fill the different environment variables, as described earlier.

  2. Run

node index.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •