mirror of
https://github.com/ewanc26/bluesky-gradient.git
synced 2026-07-21 15:33:14 +00:00
Mirror of github.com/ewanc26/bluesky-gradient
- Rust 91.1%
- Nix 8.9%
| config/fonts | ||
| src | ||
| .gitattributes | ||
| .gitignore | ||
| .pre-commit-config.yaml | ||
| AGENTS.md | ||
| Cargo.lock | ||
| Cargo.toml | ||
| flake.nix | ||
| LICENSE | ||
| README.md | ||
Bluesky Gradient Image Generator
Generates gradient profile pictures and banners for Bluesky, one per hour.
Features
- 24 unique images, one for each hour
- Draws your name (or any text) with auto-adjusted contrast colours
- Subtle noise grain
- Profile pics (400x400), banners (1500x500), or custom sizes
Requirements
- Rust 1.85+
Install
git clone https://github.com/ewanc26/bluesky-gradient.git
cd bluesky-gradient
cargo build --release
Config goes in ./config/generation.json (colours + display name).
Usage
# Profile pics
cargo run --release -- --profile
# Banners
cargo run --release -- --banner
# Custom size
cargo run --release -- --custom --width 800 --height 600
Images are saved to src/profile_pics or src/banners.
Files
src/main.rs— Generation logicconfig/generation.json— Colour and name configconfig/fonts/— Font file directory
Licence
MIT