Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
BernieHuang2008 authored Aug 3, 2023
1 parent 8e97703 commit a6349bb
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Diary
You can run it on **ANY** playform without changing a single line of code!

(*reminded that the browser should supports the latest WebAPI. but it's common nowadays.*)

However, if you want to use some advanced functions, (only backup currently), you can install [html5plus](https://www.html5plus.org/doc/h5p.html).

# ! Important Notice Before You Use My Code !
Diary is a diary app created by [Bernie Huang](https://github.com/BernieHuang2008).

The only two things that isn't mine are `SMDL.woff` and `musics/`.
- `SMDL.woff` are belongs to Microsoft, I can't find it's Copyright Notice, so I don't know if I can use it. Please inform me if you has an idea.
- `musics/` are generated by AIVA. Copyright belongs to AIVA.

So, for things that owned by me, I will use MIT LICENSE.

# functions
- you can keep a diary any time you want. I've tried my best to keep it as simple as possible.
- it will record the time when you write an diary.
- it will record your location when you arrive at anothor place or sometimes else.
- you can record your mood with a simple click on the top.
- you can review all the diary you wrote by days, but you can't write yesterday's diary or tomorrow's diary. (That make sense)
- you can use more futures by double-clicking the "navigate to today" icon on top-left, in order to input commands. Commands will be introduced later.

# commands
Double click the "navigate to today" icon(which is on the top-left of the page) to activate the command bar.

The current supported commands are listed below:
- `import`/`export`: these commands allows you to import/export all your diarys among devices.
- `backup`/`restore`: these commands allows you to backup your diary, **This function requires html5plus!**
- `print`: this command allows you to print all your diary in the previous month. You can also use API to print the whole year's diary but this requires a *"little bit"* js skills.
- `debug`: this will display the vConsole which you can debug on any platforms.
- `flag`: flags is options. you can enable a flag with `flag enable <flag name>` and disable a flag with `flag disable <flag name>`.
## flag
- `blur-content`: if enabled, the app will blur all the diary unless you click them. This is helpful when preventing someone who wants to spy your secret.
- `random-review`: if enabled, the app will ask you "if you want to have a random review" every time you boot it. It will randomly shows you a diary you wrote, and play a music which matched your mood.


0 comments on commit a6349bb

Please sign in to comment.