Life is a simple event timeline of events important to your life. This repository is a fork of the original repository with a few updates.
You can have a look at the new life timeline here https://life-public.vercel.app/.
VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
See Vite Configuration Reference.
npm install --legacy-peer-deps
npm run dev
npm run build
- Super simple
- No fancy formatting
- No fancy setup
- No fancy effects
- Flexible datetimes because sometimes you don't remember the exact date of an event
- Event filtering
- Personal avatar (because why not)
- Hashtags to help clasiffy your events (optional)
- Notes to add that extra bit of info (optional)
- Vue.js + Vite for a single HTML page design
- Fork this project.
- Write code.
- Make pull requests.
- Fork this project.
- Add your life events into
life.md
. - Preview it on a local server. Use
python -m http.server
orhttp-server
. - Commit
life.md
. - Tell the world about your Life.
Head on over to src/assets/life.config.json
. There you'll find the following configurable variables:
avatarURL
- (string, default tonull
) Path to avatar.showAge
- (boolean, default totrue
) Option to show age within the year axis.yearLength
- (number, default to120
) The width of the year grids, in pixels.
2000
- event that happen in that year01/2000
- event that happen in that month/year01/01/2000
- event that happen exactly in that day/month/year2001-2005
,10/2001-02/03/2005
- event that happen within the two dates~2005
- event that happen around the time in that year2005-~
- event that happen from that year and beyond (now).
Tags can be added to each event. Simple start each tag with a #
. They will be automatically parsed up and added to the timeline.
Notes can be added to each event. Simple enclose the note within curly braces {}
. They will be automatically parsed and added to the timeline as a tooltip.
- Cleanup of JavaScript file
- Replace CSS file with Tailwind CSS
- Avatar
- Better way to visualise links inside events
- Event filtering / search by title or tag
- Event notes