can you create an daily dream diary app. You get notification every morning, a ding, at the time you can set, so you can write your dream diary. After you write the diary, then you get greeted with your daily transits chart - astrological chart with the explanations of all of the transits, and also their strenght (ai will be used for the generation of these explanations, don't worry about that, and the chart i also have already generated. There is also a feature where you can filter (by 3 filters max) your journal (dream diary) entries by astrological events (full moons, new moons, planet in a sign, planet in a house.
1a3052a verified Download dream-diary.html from primadona/reactnativerocketboost: direct link, hf CLI and curl.
- Browser
- Download file 8.11 kB
-
https://huggingface.co/spaces/primadona/reactnativerocketboost/resolve/main/dream-diary.html
- Command line
-
hf download hf://spaces/primadona/reactnativerocketboost/dream-diary.html
-
curl -L -o dream-diary.html https://huggingface.co/spaces/primadona/reactnativerocketboost/resolve/main/dream-diary.html
8.11 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Dream Diary | Reactify</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> | |
| <style> | |
| .dream-entry { | |
| background: linear-gradient(135deg, rgba(99,102,241,0.05) 0%, rgba(16,185,129,0.05) 100%); | |
| border-left: 4px solid #6366f1; | |
| } | |
| .transit-strength-1 { opacity: 0.6; } | |
| .transit-strength-2 { opacity: 0.8; } | |
| .transit-strength-3 { opacity: 1; } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50"> | |
| <nav class="bg-white shadow-sm"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="flex justify-between h-16"> | |
| <div class="flex items-center"> | |
| <i data-feather="moon" class="text-indigo-500"></i> | |
| <span class="ml-2 text-xl font-semibold text-gray-900">Dream Diary</span> | |
| </div> | |
| <div class="flex items-center space-x-8"> | |
| <a href="index.html" class="text-gray-500 hover:text-gray-700">Home</a> | |
| <a href="react-native.html" class="text-gray-500 hover:text-gray-700">React Native</a> | |
| <a href="dream-diary.html" class="text-indigo-600 font-medium">Dream Diary</a> | |
| </div> | |
| </div> | |
| </div> | |
| </nav> | |
| <main class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12"> | |
| <!-- Notification Settings --> | |
| <div class="bg-white rounded-xl shadow-md p-6 mb-8"> | |
| <h2 class="text-2xl font-bold text-gray-900 mb-4">Dream Reminder</h2> | |
| <div class="flex items-center space-x-4"> | |
| <div class="flex-1"> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Notification Time</label> | |
| <input type="time" class="border rounded-md px-3 py-2 w-full" value="07:00"> | |
| </div> | |
| <button class="bg-indigo-600 text-white px-4 py-2 rounded-md hover:bg-indigo-700 transition"> | |
| <i data-feather="bell" class="mr-2"></i> Save | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Current Dream Entry --> | |
| <div class="bg-white rounded-xl shadow-md p-6 mb-8"> | |
| <h2 class="text-2xl font-bold text-gray-900 mb-4">Today's Dream</h2> | |
| <textarea class="w-full h-40 border rounded-md p-4 mb-4" placeholder="Write your dream here..."></textarea> | |
| <button class="bg-emerald-500 text-white px-6 py-3 rounded-lg hover:bg-emerald-600 transition shadow-md"> | |
| Save & View Transits | |
| </button> | |
| </div> | |
| <!-- Transits Display --> | |
| <div class="bg-white rounded-xl shadow-md p-6 mb-8 hidden" id="transits-section"> | |
| <h2 class="text-2xl font-bold text-gray-900 mb-4">Today's Astrological Transits</h2> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-6"> | |
| <div> | |
| <img src="http://static.photos/abstract/640x360/42" alt="Astrology Chart" class="rounded-lg w-full"> | |
| </div> | |
| <div> | |
| <div class="space-y-4"> | |
| <div class="p-4 bg-indigo-50 rounded-lg transit-strength-3"> | |
| <h3 class="font-bold">Moon in Cancer</h3> | |
| <p class="text-sm">Emotional sensitivity is heightened today. You may find yourself more intuitive than usual.</p> | |
| </div> | |
| <div class="p-4 bg-indigo-50 rounded-lg transit-strength-2"> | |
| <h3 class="font-bold">Mercury square Jupiter</h3> | |
| <p class="text-sm">Your dreams may contain exaggerated or philosophical themes today.</p> | |
| </div> | |
| <div class="p-4 bg-indigo-50 rounded-lg transit-strength-1"> | |
| <h3 class="font-bold">Venus trine Neptune</h3> | |
| <p class="text-sm">Dreams may have romantic or artistic themes with a spiritual undertone.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Dream Journal Filter --> | |
| <div class="bg-white rounded-xl shadow-md p-6 mb-8"> | |
| <h2 class="text-2xl font-bold text-gray-900 mb-4">Filter Dreams</h2> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-4 mb-6"> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Moon Phase</label> | |
| <select class="border rounded-md px-3 py-2 w-full"> | |
| <option>Any</option> | |
| <option>New Moon</option> | |
| <option>Full Moon</option> | |
| <option>Waxing Crescent</option> | |
| <option>Waning Gibbous</option> | |
| </select> | |
| </div> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Planet in Sign</label> | |
| <select class="border rounded-md px-3 py-2 w-full"> | |
| <option>Any</option> | |
| <option>Sun in Aries</option> | |
| <option>Moon in Cancer</option> | |
| <option>Mercury in Gemini</option> | |
| </select> | |
| </div> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Planet in House</label> | |
| <select class="border rounded-md px-3 py-2 w-full"> | |
| <option>Any</option> | |
| <option>Mars in 1st</option> | |
| <option>Venus in 7th</option> | |
| <option>Jupiter in 9th</option> | |
| </select> | |
| </div> | |
| </div> | |
| <button class="bg-indigo-600 text-white px-6 py-3 rounded-lg hover:bg-indigo-700 transition shadow-md"> | |
| <i data-feather="filter" class="mr-2"></i> Apply Filters | |
| </button> | |
| </div> | |
| <!-- Past Dreams --> | |
| <div class="space-y-4"> | |
| <h2 class="text-2xl font-bold text-gray-900 mb-4">Past Dream Entries</h2> | |
| <div class="dream-entry p-6 rounded-lg"> | |
| <div class="flex justify-between items-start mb-2"> | |
| <h3 class="font-bold">April 12, 2023</h3> | |
| <span class="text-sm text-gray-500">Full Moon in Libra</span> | |
| </div> | |
| <p class="mb-4">I dreamed I was flying over a city made of glass. The buildings reflected the moonlight in beautiful patterns...</p> | |
| <div class="text-sm text-gray-600"> | |
| <span class="mr-3">Venus in Taurus</span> | |
| <span>Mars in 5th House</span> | |
| </div> | |
| </div> | |
| <div class="dream-entry p-6 rounded-lg"> | |
| <div class="flex justify-between items-start mb-2"> | |
| <h3 class="font-bold">April 5, 2023</h3> | |
| <span class="text-sm text-gray-500">New Moon in Aries</span> | |
| </div> | |
| <p class="mb-4">A strange dream about being chased through a forest by shadow figures. I kept running but couldn't find the exit...</p> | |
| <div class="text-sm text-gray-600"> | |
| <span class="mr-3">Mercury Retrograde</span> | |
| <span>Pluto in 8th House</span> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| <script> | |
| feather.replace(); | |
| // Show transits when save button is clicked | |
| document.querySelector('button.bg-emerald-500').addEventListener('click', function() { | |
| document.getElementById('transits-section').classList.remove('hidden'); | |
| }); | |
| </script> | |
| </body> | |
| </html> |