Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Life - a timeline of important events in my life

NotificationsYou must be signed in to change notification settings

cheeaun/life

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is something that I've wanted to build for a long time. It's atimeline of important events in my life, visualized in a way my mind always imagine it. There was something calledLifepath.me but now it's gone. How about Facebook timeline? Meh.

So, this is it. Have a look atcheeaun.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

  1. Fork this project.
  2. Write code.
  3. Make pull requests.

How to setup your ownLife

  1. Fork this project.
  2. git checkout -b gh-pages (or any branch name you like)
  3. Make a copy oflife.example.md, rename it tolife.md.
  4. Add your life events intolife.md.
  5. Preview it on a local server. Usepython -m http.server orhttp-server.
  6. Commitlife.md (not inmaster branch).
  7. git push origin gh-pages -f and publish toGitHub Pages.
  8. Update the website link in your GitHub repo description.
  9. Tell the world about your Life.
  10. Add your Life to theLives page.

How to upgrade yourLife

  1. git checkout master
  2. git remote add cheeaun https://github.com/cheeaun/life.git
  3. git fetch cheeaun andgit merge cheeaun/master to upgrade to latest Life.
  4. git checkout gh-pages andgit merge master to sync changes back to GitHub Pages.

Learn more.

For those who forked the earlier version of Life, these are the steps that I would recommend (requires some Git-fu):

  1. Backup yourlife.md.
  2. Reset (hard) your fork to this repo'smaster branch.
  3. Clean up yourgh-pages.
  4. Re-commit yourlife.md there.
  5. Make sure yourmaster branch is untouched so that future updates work.

How to configure yourLife

  1. Make a copy ofconfig.example.json, rename it toconfig.json.
  2. Only commit it ingh-pages branch.

The configuration:

  • customStylesheetURL - (string, default tonull) Path to a custom stylesheet file, for those who doesn't like the defaulttheme.
  • 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 year
  • 01/2000 - event that happen in that month/year
  • 01/01/2000 - event that happen exactly in that day/month/year
  • 2001-2005,10/2001-02/03/2005 - event that happen within the two dates
  • ~2005 - event that happen around the time in that year
  • 2005-~ - event that happen from that year and beyond (now).

Other people's Lives

Here'sa compilation of Lives from the people who have forked Life.

License

MIT


[8]ページ先頭

©2009-2025 Movatter.jp