Custom widget of the Reminders application

I am a student who uses the Reminders app daily to note down homework assignments to do. I'm currently using the default widget of the Reminders app, but this one isn't enough for me - it doesn't show for when I should do an assignment, it doesn't display the tags (which I use to describe subjects), etc.
I thought a great solution would be BTT, while I have no idea how I could combine those two apps and create such a widget using, for example, Floating Menu.
Does anyone have any idea how to solve this?

It depends a bit on what you want to achieve exactly.

Here is a very basic example that shows the next 5 reminders with their tags in a floating menu. It uses the Apple Shortcuts app to retrieve a JSON of the reminder details. I'm not a shortcuts expert, this is just what I put together in 5min:

get_reminders.shortcut (22.4 KB)
reminders_example.bttpreset (5.6 KB)

The shortcuts returns the floating menu content in Simple JSON Format · GitBook

This is the script for the floating menu:

//see https://docs.folivora.ai/docs/1108_simple_format.html
async function retrieveJSON() {
  let result = await runAppleShortcut({name: "get_reminders"});

 return result;

}