Convert YAML/Markdown event lists into beautiful, responsive HTML timelines.
将 YAML/Markdown 事件列表转为美观的响应式 HTML 时间线。
$ timeline
Timeline generated: timeline.html
Events: 6
Date range: 2024-01-15 → 2024-12-01Output → dark-themed HTML timeline:
| Feature | Description |
|---|---|
| 📅 YAML input | Define events in simple YAML format |
| 🎨 Dark theme | GitHub-dark styled responsive timeline |
| 📱 Mobile-friendly | CSS media queries for small screens |
| 📦 Sample data | Built-in sample events for quick start |
| ⚡ Lightweight | Only dependency: PyYAML |
timeline# Create events.yaml
cat > events.yaml << 'EOF'
events:
- date: 2024-01-15
title: Project Kickoff
description: Initial concept and planning
- date: 2024-06-01
title: Beta Release
description: Public beta launch
- date: 2024-12-01
title: v1.0 Launch
description: Official stable release
EOF
timeline events.yamlpip install markdown-timeline-lizer
timeline events.yamlevents:
- date: YYYY-MM-DD
title: Event Title
description: Event description- Python 3.9+
- PyYAML — YAML parser
- Pure CSS — No JavaScript, no frameworks
Made with ❤️ by Lizer | Powered by Hermes Agent