/ssg-dataset

Open reproducible dataset on static site generators (SSG) popularity.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

pytest

Popularity of static site generators

count

Static site generators are tools to create blogs, landing pages and documentation.

This repo contains Github data (stars, forks, issues, create and last modified dates) for 30+ open source static site generators (SSG) and code to create the dataset.

Try live on Streamlit

Open in Streamlit

Streamlit app lays out a data story about SSGs with several visualisations.

Streamlit Screenshot

Dataset

Download CSV DOI

The stable URL for dataset is https://raw.githubusercontent.com/epogrebnyak/ssg-dataset/main/data/ssg.csv

To download:

import pandas as pd
url = ("https://raw.githubusercontent.com/"
       "epogrebnyak/ssg-dataset/main/data/ssg.csv")
df = pd.read_csv(url, parse_dates=["created", "modified"])

How to update dataset

Get a Github token

You will need a Github token to retreive stats for many repos. Write out .config.env near to where you run your Python code:

GH_USER="your Github username here"
GH_TOKEN="your Github personal token here"

Your Github personal token is here and token documentation is here.

Update CSV file

example/update.py should update data/ssg.csv:

poetry run python example/update.py

More links about SSGs

Performance

Static Site Generators Build Performance Testing:

  • framework-based SSG: gatsby, next, nuxt
  • non-framework-based SSG: astro, eleventy, hugo, jekyll

Listings

Articles

Citation

Evgeny Pogrebnyak. (2021). Github data for static site generators (SSG) popularity (Version 0.1.2) [Data set]. Zenodo. http://doi.org/10.5281/zenodo.4429834