Static Clash of Clans asset files served from https://assets.clashk.ing.
Anything under /assets is available at https://assets.clashk.ing/<path-under-assets>.
Example:
assets/troops/barbarian/icon.webphttps://assets.clashk.ing/troops/barbarian/icon.webp
The hosted assets are cached and served through Cloudflare. You are welcome to use them in your own project, to have the latest assets. However, as maintaining this does cost us time & money please credit us somewhere in your project. Thanks!
Asset responses include a Last-Modified header. You can make a HEAD request and compare that header to see if an asset has a newer version.
Names are standardized so URLs can be generated from static data names.
Use this cleanup rule:
cleaned_name = s.lower().replace(" ", "_").replace(".", "").replace("?", "").replace("\\q", "").replace("’", "")Then insert cleaned_name into the path template for the asset type.
Examples:
https://assets.clashk.ing/spells/{cleaned_name}.webphttps://assets.clashk.ing/troops/{cleaned_name}/icon.webphttps://assets.clashk.ing/buildings/home-village/{cleaned_name}/level_{level}.webphttps://assets.clashk.ing/decorations/home-village/{cleaned_name}.webp
assets/: published static assetsassets/static_data.json: upgrade costs and times, ids, stats, and more for buildings, troops, etc.assets/translations.json: translation strings for static dataupdate_static.py: downloads current game data and refreshes generated metadata/assetsextractor.md: explains the Go.sc/.sctxextractor, its subcommands, and platform prerequisitesinternal/sc3d/: browser-based hero and skin model viewer served by the Go CLIassets/manifest.json: deterministic metadata for hosted image assets
The extractor can compose a scenery's mapped base and foreground into an animation. On macOS, texture decoding and the complete compositor use Metal, and scenery animation uses hardware HEVC by default. The CPU renderer and built-in animated WebP remain available as fallbacks.
Contributions are welcome, especially:
- new assets
- fixes for export accuracy, naming, or performance
- documentation updates
If you add assets, keep paths organized under assets/ so they map cleanly to https://assets.clashk.ing/....
This repository is licensed under the GNU GPL v3. See LICENSE.