Life
This is something that I've wanted to build for a long time. It's a timeline of important events in my life, visualized in a way my mind always imagine it. There was something called Lifepath.me but now it's gone. How about Facebook timeline? Meh.
So, this is it. Have a look at cheeaun.life.
Features
- 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
How to contribute
- Fork this project.
- Write code.
- Make pull requests.
How to setup your own Life
- Fork this project.
git checkout -b gh-pages
(or any branch name you like)- Make a copy of
life.example.md
, rename it tolife.md
. - Add your life events into
life.md
. - Preview it on a local server. Use
python -m http.server
orhttp-server
. - Commit
life.md
(not inmaster
branch). git push origin gh-pages -f
and publish to GitHub Pages.- Update the website link in your GitHub repo description.
- Tell the world about your Life.
- Add your Life to the Lives page.
How to upgrade your Life
git checkout master
git remote add cheeaun https://github.com/cheeaun/life.git
git fetch cheeaun
andgit merge cheeaun/master
to upgrade to latest Life.git checkout gh-pages
andgit merge master
to sync changes back to GitHub Pages.
For those who forked the earlier version of Life, these are the steps that I would recommend (requires some Git-fu):
- Backup your
life.md
. - Reset (hard) your fork to this repo's
master
branch. - Clean up your
gh-pages
. - Re-commit your
life.md
there. - Make sure your
master
branch is untouched so that future updates work.
How to configure your Life
- Make a copy of
config.example.json
, rename it toconfig.json
. - Only commit it in
gh-pages
branch.
The configuration:
customStylesheetURL
- (string, default tonull
) Path to a custom stylesheet file, for those who doesn't like the default theme.yearLength
- (number, default to120
) The width of the year grids, in pixels.hideAge
- (boolean, default tofalse
) Option to hide age from year axis.
Datetime "syntax"
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).
Other people's Lives
Here's a compilation of Lives from the people who have forked Life.