roadmap-gen
Version:
Professional HTML roadmap generator from YAML data with multiple themes
146 lines (104 loc) β’ 4.2 kB
Markdown
πΊοΈ **Professional HTML roadmap generator from YAML data**
Transform your project roadmap into beautiful, interactive visualizations. Built with modern TypeScript and powered by Bun for lightning-fast performance.
[](https://github.com/davlgd/roadmap-gen/actions/workflows/ci.yml)
[](https://badge.fury.io/js/roadmap-gen)
[](https://opensource.org/licenses/Apache-2.0)
- **π¨ Multiple Themes**: Professional themes for different audiences
- **π Internal/Public Control**: Show/hide confidential content with `--with-internal` flag
- **π Interactive Visualizations**: Project tracking across quarters with status indicators
- **β‘ Lightning Fast**: Built with Bun runtime for optimal performance
- **π§ Simple Configuration**: YAML format for defining roadmaps
- **π Dual Usage**: CLI tool and programmatic API
- **π± Responsive Design**: Works on desktop, tablet, and mobile
```bash
bun add roadmap-gen
npm install roadmap-gen
yarn add roadmap-gen
```
Download from [releases page](https://github.com/davlgd/roadmap-gen/releases) for Linux, macOS, or Windows.
```bash
bunx roadmap-gen
npx roadmap-gen
roadmap-gen --source ./my-roadmap.yaml
roadmap-gen --with-internal
roadmap-gen -s ./my-roadmap.yaml -t themes/cards -o ./public --with-internal
roadmap-gen --help
```
```typescript
import { build } from 'roadmap-gen';
await build(); // Uses defaults (public view)
await build('./data.yaml', 'themes/cards', './dist', true); // With internal content
await build('./data.yaml', 'themes/cards', './public');
```
Create a `roadmap.yaml` file (see `example.yml` for complete reference):
```yaml
title: 'Product Roadmap 2025'
vision: 'Building the future of our platform'
quarters: ['Q1-2025', 'Q2-2025', 'Q3-2025', 'Q4-2025']
next_quarters: ['Q2-2025']
categories:
- name: 'Infrastructure'
icon: 'ποΈ'
projects:
- name: 'Cloud Migration'
responsible: 'DevOps Team'
issue: 'https://github.com/org/repo/issues/123'
quarters:
Q1-2025:
status: 'in-progress'
description: 'Migrating core services'
details:
- 'Database migration completed'
- text: 'Internal: Vendor contract details'
internal: true
progress: '60%'
internal_notes: 'Budget approval pending'
```
Professional themes for different audiences:
- **light** - Clean minimal design
- **cards** - Project cards layout for visual presentations
- **compact** - Ultra-dense table for many projects
- **mobile** - Mobile-first responsive design
- **timeline** - Enhanced chronological visualization
See [themes/README.md](themes/README.md) for details and custom theme creation.
```bash
git clone https://github.com/davlgd/roadmap-gen.git
cd roadmap-gen
bun install
bun test
```
1. Fork the repository
2. Create a feature branch
3. Make your changes with tests
4. Submit a pull request
This project is licensed under the Apache License 2.0 - see the [LICENSE](LICENSE) file for details.
- **[Bun](https://bun.sh/)** - Runtime and toolkit
- **[TypeScript](https://www.typescriptlang.org/)** - Type safety
- **[js-yaml](https://github.com/nodeca/js-yaml)** - YAML parsing
---
**Made with β€οΈ and powered by Bun**
[β Star this repo](https://github.com/davlgd/roadmap-gen) if you find it useful!