Skip to main content

github-milestone-roadmap

Build a live roadmap website from GitHub release milestones across several repositories.

The generated site is a single static page. It reads milestones, issues and pull requests from the public GitHub API in the visitor's browser, so the roadmap is always current without rebuilding the site. It is used for the mllam community roadmap.

The milestone convention

Milestone names decide where an item appears:

  • vX.Y.Z: the item is on the roadmap for that release.
  • vX.Y.Z (proposed): the item is proposed for that release.

For each release the page shows three lanes: open issues/PRs on the roadmap, open proposed issues/PRs, and pull requests already merged into the vX.Y.Z milestone. Open pull requests also show their review status. Milestones with other names are ignored.

Usage

Write a roadmap.toml describing your roadmap (see examples/roadmap.toml for every option):

title = "My Community Roadmap"
subtitle = "Upcoming work across our packages"
source_url = "https://github.com/my-org"

[home]
text = "My Community"
url = "/"

# One [[repos]] entry per repository; add as many as you like, in display order.
[[repos]]
owner = "my-org"
name = "my-package"
description = "What this package does."

Then build the site:

uvx github-milestone-roadmap build --config roadmap.toml --output _site/roadmap

This writes index.html, app.js, styles.css and config.json to the output directory. The page only uses relative paths, so it can be served from any subpath.

In a GitHub Pages workflow

Pin the version so that roadmap tool updates reach your site only when you bump it:

      - uses: astral-sh/setup-uv@v6
      - name: Build roadmap
        run: uvx github-milestone-roadmap==0.1.0 build --config roadmap.toml --output _site/roadmap
      - uses: actions/upload-pages-artifact@v3
        with:
          path: _site

See the mllam.github.io deploy workflow for a complete example.

API usage and caching

Without authentication, the GitHub API allows 60 requests per hour per visitor. The page makes three requests per repository (open milestones, open issues/PRs, recently closed PRs) plus one per displayed open pull request for its review status. Responses are cached in the browser's localStorage for 15 minutes under the config's cache_key, and stale cached data is shown if the rate limit is reached.

Milestone changes report

changes prints the issues and pull requests added to a vX.Y.Z milestone in the last 24 hours across the configured repositories, grouped per repository and version. The output is Markdown with nested lists, suitable for pasting into Slack.

It uses the GraphQL API, so a GitHub token is required. With the gh CLI logged in:

uvx github-milestone-roadmap changes --config roadmap.toml --token "$(gh auth token)"

or set GITHUB_TOKEN in the environment. Use --hours N to change the look-back window.

Development

uv run pytest
uv run pre-commit install   # ruff lint and format on commit

To preview the page locally:

uv run github-milestone-roadmap build --config examples/roadmap.toml --output _site
python3 -m http.server --directory _site 8080

Then visit http://localhost:8080. The page needs config.json from the build, so opening index.html directly from disk will not work.

Releasing

Versions come from git tags (hatch-vcs). To release, update CHANGELOG.md, merge to main, then tag vX.Y.Z on main and push the tag. The release workflow publishes to PyPI with trusted publishing.

Metadata

Release files for github-milestone-roadmap 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for github-milestone-roadmap 0.1.0
File Size Uploaded Provenance Actions
github_milestone_roadmap-0.1.0.tar.gz 35.3 kB With provenance Details for github_milestone_roadmap-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for github-milestone-roadmap 0.1.0
File Interpreter ABI Platform Actions
github_milestone_roadmap-0.1.0-py3-none-any.whl Python 3 none any Details for github_milestone_roadmap-0.1.0-py3-none-any.whl

Total release size: 57.9 kB

Release files / github_milestone_roadmap-0.1.0.tar.gz

Download URL github_milestone_roadmap-0.1.0.tar.gz
Size 35.3 kB
Tags Source
SHA-256 checksum
How to use checksums
6d1cb1b10e4ac8e06785d9af8d49eebcc2ff9d95b608033b13a9461c5c4e38fb
BLAKE2b-256 checksum
How to use checksums
92f05e46ecb27a75e9df3da3b6a00d7b09ebd80b46be62d264559909a9ec6ae4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / github_milestone_roadmap-0.1.0-py3-none-any.whl

Download URL github_milestone_roadmap-0.1.0-py3-none-any.whl
Size 22.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0e1a0b265ee49b6c5445dfda0815559f241f91a474e443a25fb06346500c5713
BLAKE2b-256 checksum
How to use checksums
7bd3b6a0181de1d263832d168b6267798f3e7805bb35e08ac6e916569c04efb6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Security for github-milestone-roadmap 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for github_milestone_roadmap-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page