Skip to content

iptch/trend-radar

Repository files navigation

Trend Radar

Trend Radar

Devbox Python GitHub contributors GitHub last commit Generate Image

A small script to generate wordclouds, meant to be used as a way to easily display our trends and their importance.

Usage | Adding Trends


This repository serves to generate a wordcloud of various trends. This is then used in Happeo for the trend radar homepage.

Usage

The easiest way to run this script is to use Devbox. You can then build the wordcloud the command below, which will generate a trend-radar.png file within the assets directory.

devbox run generate

Alternatively you can use uv or pip directly to install the required dependencies and run the script:

# for uv
uv add --frozen -r requirements.txt
uv run --frozen python main.py

# for pip
pip install -r requirements.txt
python main.py

Adding Trends

Trends can be added by modifying the trends.csv file. Each line represents a trend, which the following fields in order:

  1. The name of the trend
  2. Its weight. We use weights between 1 and 100 inclusive.
  3. The focus area of the trend. Can be one of:
    • cloud
    • ai&data
    • security
    • integration
    • custom applications

Any text is ideally put into quotes. This avoids issues where the text contains a comma and is thus interpreted in a different manner by the CSV parser.

Once you have added a trend, you can generate images. Note that the order of the trends in the CSV has no effect.

There is no need to generate the images yourself. A GitHub workflow will generate a new image when changes are done to the repository.

About

A small script to generate wordclouds, meant to be used as a way to easily display our trends and their importance.

Resources

Stars

Watchers

Forks

Contributors

Languages