Skip to content

TG-Twilight/Gamer-Skill-Icons

Repository files navigation

中文  |  English  |  Blog  |  Sponsor Me

🍁Gamer-Skill-Icons

GitHub stars GitHub license

A public API and static resource library that provides SVG icons for Rainbow Six: Siege X Operators and HELLDIVERS 2 War Resources, suitable for websites, bots, and creative projects. Now you can showcase your favorite or skilled R6 operators on your personal blog just like people display their “Skill” badges!


🍁Features

  • Simple API: Get any operator SVG via URL.
  • 🧩 Batch Sprite: Combine multiple icons into a single SVG sprite.
  • 📦 Self-hosted: No external dependency required.

🍁Usage

1. Get a single operator SVG

GET /icons?i=ash

Example:


2. Combine multiple icons into a single SVG

GET /icons?i=ash,bandit,ace

3. Customize icons per row

GET /icons?i=ash,bandit,ace&perline=2&radius=16
  • perline: Number of icons per row (default: 15, max: 15)

4. Get all available operator IDs

GET /icons

Returns a JSON list of all operator IDs.


🍁Examples

We provide two APIs: r6.zyc.su or r6.awads.cc

Attackers (each icon 96×96)

https://r6.zyc.su/api/icons?game=r6x&i=recruit_blue,fuze,buck,blitz,montagne,nokk,ash

https://r6.awads.cc/api/icons?game=r6x&i=recruit_blue,fuze,buck,blitz,montagne,nokk,ash

Defenders (each icon 96×96)

https://r6.zyc.su/api/icons?game=r6x&i=recruit_red,rook,kapkan,mute,smoke,jager,azami

https://r6.awads.cc/api/icons?game=r6x&i=recruit_red,rook,kapkan,mute,smoke,jager,azami


🍁Self-host

Clone and run:

git clone https://github.com/TG-Twilight/Gamer-Skill-Icons.git
cd Gamer-Skill-Icons
npm install
npm run build
npm start

API will be available at http://localhost:3000/icons?...


🍁Directory Structure

/icons/         // All SVG icon files
/src/           // Source code (TypeScript)
/src/utils/     // SVG sprite logic
/src/routes/    // Express API routes

🍁Credits


🍁LICENSE

MIT License © 2025-present TG-Twilight


About

Hey Gamer, show everyone your favorite skills!🎮

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published