Help
Fly my day
is a web application designed to help you plan and keep track of your day. Its main purpose is to remind you of the time that has passed so far in your day, making it easier for you to stay on track and manage your time effectively.Thanks to @antfu’s starter template Vitesse, which provides a number of helpful features such as markdown page
, I18n
, PWA
and vite-ssg
which really make it easier when developing, and it runs super fast and smooth.
The app has two main mode:
Normal mode
In this mode, your plan will be synced with the browser, so the data will not disappear when you open the app next time. Notice the data will be deleted when you clean the browser’s data.
Preview mode
Preview mode is activated when the URL has a hash, and your plan will be synced with the URL. This allows you to easily share your plan to another device. However, it is important to note that any changes made in preview mode will not be saved in your browser.
Other tips
When editing your plan for the first time, it is advisable to ensure that you have set a wake time. This is the basis of a day.
You can add more than one plan, if you save the preview mode data to your browser, the plan(s) will append to the existing plan(s).
The hash data should be as follows:
#eNpVzbEOgjAQBuBXudziwoBoSOhsnExc3AzDGQ4hlkpoDUHDu9sWwbL17313//WDPT34UjeMYp/EkY8nurFE4d/wajFCLZnbSWWpVT7PzAeLFLk5nhXDgQY4yqFWd/vfSlIahe36CcnUqWmmDXUGxc7eZFWgSOMxWhyTWSnX7FUWqoLe/DfZbLZJiPqKzEaDqRgaJlcOzxJkXQardmO5H4/5mH8BpLVZaw==
#eNpVzbEOgjAQBuBXudziwoBoSOhsnExc3AzDGQ4hlkpoDUHDu9sWwbL17313//WDPT34UjeMYp/EkY8nurFE4d/wajFCLZnbSWWpVT7PzAeLFLk5nhXDgQY4yqFWd/vfSlIahe36CcnUqWmmDXUGxc7eZFWgSOMxWhyTWSnX7FUWqoLe/DfZbLZJiPqKzEaDqRgaJlcOzxJkXQardmO5H4/5mH8BpLVZaw==
- The localStorage data should be as follows:
[
{
"wakeTime": 420,
"wakeLabel": "wake up",
"sleepTime": 960,
"sleepLabel": "sleep",
"name": "One Day Flying",
"plans": [
{ "name": "learning", "start": 30, "end": 60 },
{ "name": "eating", "start": 60, "end": 90 },
{ "name": "daze", "start": 90, "end": 120 },
{ "name": "what's the meaning of life", "start": 120, "end": 900 }
]
}
]
[
{
"wakeTime": 420,
"wakeLabel": "wake up",
"sleepTime": 960,
"sleepLabel": "sleep",
"name": "One Day Flying",
"plans": [
{ "name": "learning", "start": 30, "end": 60 },
{ "name": "eating", "start": 60, "end": 90 },
{ "name": "daze", "start": 90, "end": 120 },
{ "name": "what's the meaning of life", "start": 120, "end": 900 }
]
}
]
Check out the GitHub repo for more details.