Skip to content

About

Lifecharts turns the chapters of your life into one timeline you can share as a link or embed on your own site.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Lifecharts

📊 Lifecharts draws your life as a timeline of chapters: a city, a school, a job, a relationship. Add them by hand or ask your agent to build the timeline from a résumé or a few notes, then share a link or embed it.

Make yours: https://lifecharts.io

— Ben Guo

Lifecharts is a free life timeline maker. Add the chapters of your life, like a city, a school, a job, or a relationship, by hand or with your agent, and share the result.

This package includes a local CLI and the Lifecharts agent skill. Commands create and validate chart links without uploading your data. Use Node.js 22.14 or newer, or Bun 1.3.14 or newer. The package has no runtime dependencies or installation scripts.

Run the CLI

Run Lifecharts from its GitHub Release archive:

npx --yes --package=https://github.com/hraness/lifecharts/releases/download/v1.1.1/hraness-lifecharts-1.1.1.tgz lifecharts --help

Or use npm:

npx --yes @hraness/[email protected] --help
npm install --global @hraness/[email protected]

Run lifecharts without arguments for a short start screen, and lifecharts --help for every command. Piped output stays plain.

Supported macOS and Linux global npm and Bun installs check once a day before chart commands and install newer releases automatically. The requested command starts after the new version is verified. Chart files and URLs stay local.

Automatic updates start with Lifecharts 1.1.0. Upgrade an older installation once with the install command above. Downloading updates requires an authenticated GitHub CLI (gh).

lifecharts update check
lifecharts update status --json
lifecharts update disable
lifecharts update enable

Run lifecharts update to install immediately. HRANESS_NO_UPDATE=1 skips automatic checks for one invocation; CI and help also skip them. An exact Bun version stays pinned until update enable. npm does not reliably retain its original global install constraint, so use update disable to keep a version. Canonical release archive URLs track releases by default. Project installs, temporary npx/bunx runs, source trees, and copied skill helpers do not replace themselves. A running Lifecharts command protects its installation from updates. On Windows, update Lifecharts through npm or Bun.

Create your first chart

Write your chapters into timeline.json:

{
  "name": "Sam",
  "start": "2016-06",
  "view": "bars",
  "chapters": [
    { "label": "Design school", "start": "2016-06", "end": "2020-05" },
    { "label": "Independent work", "start": "2020-06", "end": "present" }
  ]
}

The example is illustrative; use your own facts. A birthday is optional. If you know it, use birthDate instead of start. Dates can preserve month precision. Chapters can overlap.

lifecharts create timeline.json > timeline.url
lifecharts verify timeline.url
lifecharts inspect timeline.url > chart.json
# Edit chart.json, then compile the complete document:
lifecharts compile chart.json > updated.url

timeline.url contains a link beginning with https://lifecharts.io/view#t=1.. Open it in your browser to see Sam's two chapters in bars view. chart.json is the complete version 1 document, including generated chapter IDs and colors. Keep it as a backup; compiling it restores a chart link without the original browser's saved draft.

To check the restored link, run:

lifecharts verify updated.url --json

A successful check exits with code 0 and returns verified: true. This checks the chart document locally, not whether the website is reachable. If a command fails, check its exit code before using the redirected file. See command output and errors and complete-document fields.

Without a global installation, use this pinned command prefix before the command and arguments:

npx --yes --package=https://github.com/hraness/lifecharts/releases/download/v1.1.1/hraness-lifecharts-1.1.1.tgz lifecharts create timeline.json --json

create --json returns the complete document, share link, edit link, and embed link. Use - for stdin. Quote complete URLs in shell commands.

Use with an agent

npx skills add https://lifecharts.io --skill lifecharts

Ask your agent: “Make a life timeline from these résumé dates, preserve overlaps, and give me a verified Lifecharts link.” Or provide an existing link and ask for an edit.

The same skill is included at skills/lifecharts/SKILL.md in this package. From inside the installed package directory, its standalone helper runs with either runtime:

node skills/lifecharts/scripts/lifecharts.mjs --help
bun skills/lifecharts/scripts/lifecharts.mjs --help

Read the format reference for limits, date precision, nested chapters, and display options. A LinkedIn profile is context for your agent; this CLI does not fetch profiles or infer missing personal facts.

Share a chart

The returned URL contains the chart. Anyone with it can read its title, dates, chapters, notes, and links. Ordinary fragment links keep that data outside the page request. Named social preview images are a separate opt-in action on the website.

Verify a download

Each immutable GitHub Release includes the package archive, release.json, and SHA256SUMS. Check the archive against SHA256SUMS before installing a downloaded file. npm distributes the same archive.

Optional development support

lifecharts support shows optional paid support for continued development; every feature stays free and no account is needed. Agents read lifecharts support protocol --json for the closeout procedure.

License

The CLI and skill are available under the MIT License. Notices for the bundled third-party code are in THIRD_PARTY_NOTICES.md. The research tables at lifecharts.io/data are licensed under CC BY 4.0; the government and research sources they cite keep their own terms.

About

Lifecharts turns the chapters of your life into one timeline you can share as a link or embed on your own site.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages