Skip to content

Engineers-Cradle/gen-avatar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Gen Avatar 😎

forthebadge forthebadge GitHub Actions Workflow Status

Generate a User Avatar with the initials of the name.

Features πŸš€

  • Generate Avatar with Initials
  • Redis Cache πŸ“¦
  • Built with Rust πŸ¦€

Installation πŸ› οΈ

git clone https://github.com/Engineers-Cradle/gen-avatar.git
cd gen-avatar
cargo build --release

Configuration πŸ› οΈ

Create a .env file in the root directory and add the following configuration.

WEB_SERVER_PORT=
REDIS_URL=
NUM_WORKERS=
LOG_LEVEL=

Usage πŸš€

cargo run --release

API Endpoints πŸš€

  • GET /avatar/:name?theme=light - Generate Avatar with Initials

License πŸ“„

This project is licensed under the MIT License - see the LICENSE file for details