Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spech66/timelinegenerator
Generate a timeline from a YAML file. Multiple export formats are supported (TimelineJS, Vis.js, Mermaid, Bootstrap). Data can be filtered.
https://github.com/spech66/timelinegenerator
bootstrap lifelog lifelogging markdown mermaid mermaidjs timeline timelinejs visjs yaml
Last synced: 26 days ago
JSON representation
Generate a timeline from a YAML file. Multiple export formats are supported (TimelineJS, Vis.js, Mermaid, Bootstrap). Data can be filtered.
- Host: GitHub
- URL: https://github.com/spech66/timelinegenerator
- Owner: spech66
- License: mit
- Created: 2024-07-27T16:53:38.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-07-28T12:50:44.000Z (5 months ago)
- Last Synced: 2024-10-13T22:41:05.380Z (2 months ago)
- Topics: bootstrap, lifelog, lifelogging, markdown, mermaid, mermaidjs, timeline, timelinejs, visjs, yaml
- Language: C#
- Homepage:
- Size: 40 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Timeline Generator CLI
Generate a timeline from a YAML file. Multiple export formats are supported (TimelineJS, Vis.js, Mermaid, Bootstrap). Data can be filtered.
## Usage
### Windows
```cmd
TimelineGenerator.exe sample sample.ymlTimelineGenerator.exe generate -e timelinejs sample.yml timeline
TimelineGenerator.exe generate -e visjs sample.yml timeline
TimelineGenerator.exe generate -e mermaid sample.yml timeline
TimelineGenerator.exe generate -e bootstrap sample.yml timeline
```### Linux
```bash
TimelineGenerator sample sample.ymlTimelineGenerator generate -e timelinejs sample.yml timeline
TimelineGenerator generate -e visjs sample.yml timeline
TimelineGenerator generate -e mermaid sample.yml timeline
TimelineGenerator generate -e bootstrap sample.yml timeline
```## Installation
Download the latest version from the [releases page](https://github.com/spech66/timelinegenerator/releases).
## Export formats
### TimelineJS
[TimelineJS](https://timeline.knightlab.com/) is a free, easy-to-use tool for telling stories in a timeline format.
![TimelineJS Timeline](https://media.githubusercontent.com/media/spech66/timelinegenerator/main/_Misc/timelinejs.png)
### Vis.js
[Vis.js Timeline](https://visjs.github.io/vis-timeline/examples/timeline/) is a dynamic, interactive timeline library.
![Mermaid Timeline](https://media.githubusercontent.com/media/spech66/timelinegenerator/main/_Misc/visjs.png)
### Mermaid
[Mermaid](https://mermaid.js.org/syntax/timeline.html) is a simple markdown-like script language for generating charts from text via javascript.
Exporter will generate a markdown file containing the Mermaid code. Only date and title are supported. Categories are used as sections.
![Mermaid Timeline](https://media.githubusercontent.com/media/spech66/timelinegenerator/main/_Misc/mermaid.png)
### Bootstrap
[Bootstrap v5](https://getbootstrap.com/docs/5.3/components/card/) is a free and open-source CSS framework directed at responsive, mobile-first front-end web development.
![Bootstrap Timeline](https://media.githubusercontent.com/media/spech66/timelinegenerator/main/_Misc/bootstrap.png)
## Todos
- [x] Define YAML format
- [x] YAML parser
- [x] CLI parser using spectre
- sample
- generate
- [x] Add export format for [TimelineJS](https://timeline.knightlab.com/) [V3 Repo](https://github.com/NUKnightLab/TimelineJS3)
- [x] Add export format for [Vis.js Timeline](https://visjs.github.io/vis-timeline/) [Repo](https://github.com/visjs/vis-timeline)
- [x] Add export format for [Mermaid in Markdown codeblock](https://mermaid.js.org/syntax/timeline.html)
- [x] Add export format for [Bootstrap v5](https://getbootstrap.com/docs/5.3/components/card/)
- [x] CLI filter parameters: date range, tags, category