Random note in Daily Notes, how to keep it stable per day?

What I’m trying to do

I’m trying to automatically display a random Quran verse in my Daily Note.
The goal is: every time I create/open a new Daily Note, it should show one random verse from my existing vault (I already have all verses stored as individual .md files).

I would like the verse to:

  • Be randomized once per day.
  • Stay the same for that day (not change every time I reopen the note).
  • Come from a specific folder (e.g., QURAN).

What I need help with

  • What would be the correct Templater script or DataviewJS snippet to achieve this?

I’m not an IT person and don’t have a background in scripting or coding.
I only follow some tutorials on the internet about Templater and Dataview, so I understand a little.
Any working example of script/snippet would be very helpful :folded_hands:

I am not an IT person either and so I can’t help out massively and I do hope that someone better responds, but since it has been 3 days and you haven’t yet got a response I thought I could give it a go myself.

So, I have this in a template which shows up in all of my daily notes:

dv.taskList(dv.pages().file.tasks 
  .where(t => !t.completed)
  .where(t => t.text.includes("{{date:YYYY-MM-DD}}")))

What this does is for every t (task) which is shown as a task through - “whatever the task is” - date, this is then shown into my daily note. So if you could pull a list of Quran verses from somewhere, copy and paste them into your obsidian, then attach a random date to the end of them for a certain amount of time for each day, then I think that this would work. You would of course have to change the data view code a little, but then again you could even just treat each Quran verse as a ‘task’ and do it the exact way I have. I hope this helps and I am happy to try and further assist you if needed.

This is my first time ever using this so if you want to talk further I do recommend trying to message me on instagram (my @ is jakob.reece) as I am much more likely to answer anything on there than on here.
In any case, I hope this has helped or I hope that you have already figured out how to do it. Best of luck :slight_smile: