Skip to content

Commit b6ea2b5

Browse files
committed
Rename boring -> breeze
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
1 parent eafd33c commit b6ea2b5

19 files changed

Lines changed: 44 additions & 38 deletions

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
cache-from: type=gha
9494
cache-to: type=gha,mode=max
9595

96-
build-boring-docker:
96+
build-breeze-docker:
9797
runs-on: ubuntu-latest
9898
permissions:
9999
contents: read
@@ -119,15 +119,15 @@ jobs:
119119
id: meta
120120
uses: docker/metadata-action@v5
121121
with:
122-
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-boring
122+
images: ${{ env.REGISTRY }}/kernelkit/breeze
123123
tags: |
124124
type=raw,value=latest
125125
type=sha,prefix={{branch}}-
126126
127127
- name: Build and push Docker image
128128
uses: docker/build-push-action@v5
129129
with:
130-
context: ./boring
130+
context: ./breeze
131131
platforms: linux/amd64,linux/arm64
132132
push: true
133133
tags: ${{ steps.meta.outputs.tags }}
@@ -166,7 +166,7 @@ jobs:
166166
167167
**Docker images:**
168168
- `ghcr.io/${{ github.repository }}:latest` (classic demo)
169-
- `ghcr.io/${{ github.repository }}-boring:latest` (boring weather display)
169+
- `ghcr.io/kernelkit/breeze:latest` (weather display)
170170
171171
Built from commit: ${{ github.sha }}
172172
artifacts: "artifacts/**/*.AppImage"

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SUBDIRS = classic boring
1+
SUBDIRS = classic breeze
22

33
all clean:
44
@for dir in $(SUBDIRS); do \

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Two demo applications for trade shows, exhibitions, and kiosk displays.
99
A classic demoscene-style demo with multiple visual effects, text scrollers,
1010
and tracker music. Built with SDL2 and inspired by 1990s Amiga/PC demos.
1111

12-
### [Boring](boring/README.md) -- Weather & Time Display
12+
### [Breeze](breeze/README.md) -- Weather & Time Display
1313

1414
A GTK-based weather and time display with animated backgrounds. Touch
1515
anywhere to temporarily show a configurable web page (e.g., a dashboard),
@@ -23,11 +23,11 @@ make
2323

2424
# Or build individually
2525
make -C classic
26-
make -C boring
26+
make -C breeze
2727

2828
# Run with Docker Compose
2929
docker compose up classic
30-
docker compose up boring
30+
docker compose up breeze
3131
```
3232

3333
## License

boring/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

breeze/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
breeze
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
1313

1414
WORKDIR /build
1515

16-
COPY boring.c weather.c weather.h animations.c animations.h \
16+
COPY breeze.c weather.c weather.h animations.c animations.h \
1717
sunriset.c sunriset.h Makefile ./
1818

1919
RUN make
@@ -35,7 +35,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
3535

3636
WORKDIR /app
3737

38-
COPY --from=builder /build/boring .
38+
COPY --from=builder /build/breeze .
3939
COPY xorg.conf /etc/X11/xorg.conf
4040
COPY start.sh /app/start.sh
4141

boring/Makefile renamed to breeze/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ gtk_LIBS = $(shell pkg-config --libs gtk+-3.0 webkit2gtk-4.1 libsoup-3.0 libc
44
CFLAGS = $(gtk_CFLAGS) -DSUNRISET_LIB -Wall -O2
55
LDLIBS = $(gtk_LIBS) -lm
66

7-
TARGET = boring
8-
SOURCES = boring.c weather.c animations.c sunriset.c
7+
TARGET = breeze
8+
SOURCES = breeze.c weather.c animations.c sunriset.c
99

1010
all: $(TARGET)
1111

@@ -19,13 +19,13 @@ clean:
1919
rm -f $(TARGET)
2020

2121
docker-build:
22-
docker build -t demo-boring .
22+
docker build -t breeze .
2323

2424
docker-run: docker-build
2525
xhost +local:docker
2626
docker run -it --rm \
2727
-e DISPLAY=$(DISPLAY) \
2828
-v /tmp/.X11-unix:/tmp/.X11-unix \
29-
demo-boring
29+
breeze
3030

3131
.PHONY: all clean run docker-build docker-run

boring/README.md renamed to breeze/README.md

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Boring -- Weather & Time Display
1+
# Breeze -- Weather & Time Display
22

33
A GTK-based weather and time display with animated Cairo backgrounds.
44
Touch anywhere to temporarily show a configurable web page (e.g., a
@@ -10,6 +10,7 @@ seconds.
1010
- Live weather from [Open-Meteo](https://open-meteo.com/) (no API key needed)
1111
- Animated backgrounds: sky gradient, sun, clouds, rain, snow
1212
- Sunrise/sunset times
13+
- Location lookup by city name (geocoding via Open-Meteo)
1314
- Touch/click to show a web page (WebKitGTK), auto-returns after 30s
1415
- Fullscreen kiosk mode
1516

@@ -20,13 +21,13 @@ seconds.
2021
```bash
2122
sudo apt install libgtk-3-dev libwebkit2gtk-4.1-dev libsoup-3.0-dev libcjson-dev
2223
make
23-
./boring --lat 59.33 --lon 18.07 -f
24+
./breeze -l Stockholm -f
2425
```
2526

2627
### Run with Docker
2728

2829
```bash
29-
docker compose up boring
30+
docker compose up breeze
3031
```
3132

3233
Or standalone:
@@ -36,25 +37,29 @@ docker run --rm -it \
3637
--privileged \
3738
-v /dev/fb0:/dev/fb0 \
3839
-v /dev/tty1:/dev/tty1 \
39-
-e LATITUDE=59.33 \
40-
-e LONGITUDE=18.07 \
40+
-e LOCATION=Stockholm \
4141
-e WEB_URL=https://example.com \
42-
ghcr.io/kernelkit/demo-boring:latest
42+
ghcr.io/kernelkit/breeze:latest
4343
```
4444

4545
## Command-Line Options
4646

4747
```
48-
Usage: boring [OPTIONS]
49-
50-
-f, --fullscreen Run in fullscreen mode
51-
--lat LATITUDE Latitude for weather (default: 59.3293)
52-
--lon LONGITUDE Longitude for weather (default: 18.0686)
53-
--url URL Web page URL shown on touch/click
48+
Usage: breeze [OPTIONS]
49+
50+
-f, --fullscreen Run in fullscreen mode
51+
-l, --location LOCATION City or Country,City (e.g., "Stockholm"
52+
or "Sweden,Stockholm"), geocoded via Open-Meteo
53+
--lat LATITUDE Latitude for weather (default: 59.3293)
54+
--lon LONGITUDE Longitude for weather (default: 18.0686)
55+
--url URL Web page URL shown on touch/click
56+
-h, --help Show this help message
5457
```
5558

56-
Environment variables `LATITUDE`, `LONGITUDE`, and `WEB_URL` are used
57-
as fallbacks when command-line options are not given.
59+
Environment variables `LATITUDE`, `LONGITUDE`, `LOCATION`, and `WEB_URL`
60+
are used as fallbacks when command-line options are not given.
61+
62+
Press Escape to exit.
5863

5964
## Dependencies
6065

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)