ScribbleHub RSS Discord (Simplified) - Amelia, Lightweight.

How useful do you think this is?


  • Total voters
    3
  • Poll closed .

Mihou

Firefly—
Joined
Mar 18, 2020
Messages
297
Points
103
Hello, everyone! It's little cereal, Mihou back again with another one of these tomato creations! This time, I have something that will definitely simplify the lives of some non-technical authors or readers who wants to receive updates of theirs or another user's story on ScribbleHub. Unlike last time (https://forum.scribblehub.com/threa...feed-for-your-discord-on-scribblehub-v2.3708/), this doesn't involve inviting a Discord bot at all but rather with the use of webhooks which I will show a guide over how.

What are the differences between the first version and this?
As the title of the thread says, this is a lighter version of the Discord bot which has a dedicated front-end that is on the website with a backend that handles everything but compared to the first version, this is extremely limited.

What are the limitations?
The limitations between this version and the full version (the Discord bot) is the lack of trending notfiications (https://forum.scribblehub.com/threads/beta-scribblehub-trending-notification-for-discord.5413/), subscribing/unsubscribing roles (a.k.a mentioning roles when an update comes) and customizable message format which are all possible to add but for the sake of lightness and simplicity, I decided not to.

I see, can we get started now?
Yes, here are the instructions of how to get started. First, open the front-end site (https://amelia.manabot.fun) and you should see a beautiful (proud) simple page like the one below (or rather, exactly like the one below).


Now, there are two input fields which are both critical for this feature to work, here are the explanation of each text field.

1. Discord Webhook Link
This is the API link that Amelia will use to send messages to the specific channel and server without needing to be on the server herself, this is done by sending a request to Discord with all the proper credentials and format.

To get the Discord Webhook Link, please follow the GIF below:
webhook.gif


Afterwards, simply paste the copied link to the text field and you are done for the first field.

2. ScribbleHub Link
The ScribbleHub link is the link to the story or user who you want to get notifications from, there are two types of notifications: user and story though both are technically the same, user notifications will give you notifications for all story updates of the user. For example, if a user has three stories, Amelia will check all three stories for any updates and notifies you compared to a single story notification which Amelia will only check that story.

An example of a ScribbleHub link is: https://www.scribblehub.com/profile/24680/mihou/ or https://www.scribblehub.com/series/128519/sleeping-princess/

How does a success submission look?
A proper success submission will show these two occurrences:
1624798771239.png

1624798792353.png


If you have both occurrence then congratulations, the channel will now receive updates which looks like this (old photo from the original thread):
1624798837145.png


How to remove a webhook?
To remove a webhook, all you have to do is simply repeat the same steps except this time, you copy the Webhook URL from the same spot (instead of creating a new one) and copying the URL of the story or user that you want to stop receiving updates from and pasting them into the fields on https://amelia.manabot.fun/remove, example below:



OPTIONALLY BUT NOT RECOMMENDED, You can delete the webhook (BUT, PLEASE DO NOT), anyhow, deleting it normally will show a success notification on the website as seen on the GIF above.

Is this open-source?
Yes, all variants of Amelia is open-source from the full version, websocket and the web (lightweight) version which can all be found on https://github.com/ManaNet/ with this version specifically being https://github.com/ManaNet/Amelia-Light

I would appreciate if you also share it with others who wants to receive notifications for a story.

Limitations:
- Refresh rate (the rate at which Amelia will check for updates): every 10 minutes (this exists to prevent spamming ScribbleHub's server and also our own servers).
- Maximum RSS feeds: Unlimited.

Project Layout:

- Prototyping: 1 hour
- Coding Front-end: 1 hours.
- Coding PHP Backend: 10 minutes.
- Coding Java Backend: 30 minutes (120 minutes if you count the failed version which I scrapped).
- Contributors: (sadly only me).

- Made with Love, Shindou Mihou (https://patreon.com/mihou) (https://mihou.pw) (https://github.com/ShindouMihou)
 
Last edited:
Top