Generate fast, beautiful and consistent embeddable cards and badges for Modrinth, CurseForge, Hangar and Spigot content.
Use the Website to visually configure and preview your embeds. The api docs can be found at here.
Examples:
Base URL: https://modfolio.creeperkatze.de
Pattern: /<platform>/<entity-type>/<identifier>?<option>=<value>
Rich cards showing stats, versions, projects, and activity sparklines.
| Card Type | Path | Example |
|---|---|---|
| Project | /modrinth/project/<slug> |
|
| User | /modrinth/user/<username> |
|
| Organization | /modrinth/organization/<slug> |
|
| Collection | /modrinth/collection/<id> |
| Card Type | Path | Example |
|---|---|---|
| Project | /curseforge/project/<id> |
|
| User | /curseforge/user/<id> |
| Card Type | Path | Example |
|---|---|---|
| Project | /hangar/project/<slug> |
|
| User | /hangar/user/<username> |
| Card Type | Path | Example |
|---|---|---|
| Resource | /spigot/resource/<id> |
|
| Author | /spigot/author/<id> |
| Parameter | Description | Default |
|---|---|---|
color |
Accent color (hex) | Platform default |
backgroundColor |
Background color (hex) | transparent |
showProjects |
Show top projects section | true |
showVersions |
Show versions section | true |
maxProjects |
Max projects to display (1-10) | 5 |
maxVersions |
Max versions to display (1-10) | 5 |
relativeTime |
Show relative time for dates | true |
showSparklines |
Display activity sparklines | true |
Platform defaults: Modrinth #1bd96a | CurseForge #F16436 | Hangar #3371ED | Spigot #E8A838
Pattern: /<platform>/<entity-type>/<identifier>/<metric>?<option>=<value>
Compact badges showing a single metric.
| Badge | Path | Example |
|---|---|---|
| Downloads | /modrinth/<type>/<id>/downloads |
|
| Followers | /modrinth/<type>/<id>/followers |
|
| Versions | /modrinth/<type>/<id>/versions |
|
| Projects | /modrinth/<type>/<id>/projects |
| Badge | Path | Example |
|---|---|---|
| Downloads | /hangar/<type>/<id>/downloads |
|
| Stars | /hangar/project/<id>/stars |
|
| Versions | /hangar/project/<id>/versions |
|
| Views | /hangar/project/<id>/views |
|
| Projects | /hangar/user/<id>/projects |
| Parameter | Description | Default |
|---|---|---|
color |
Accent color (hex) | Platform default |
backgroundColor |
Background color (hex) | transparent |
format |
Output format (svg / png) |
svg |
| Platform | Accent color (hex) |
|---|---|
| Modrinth | #1bd96a |
| CurseForge | #F16436 |
| Hangar | #3371ED |
| Spigot | #E8A838 |
- Node.js
- pnpm
# Clone the repository
git clone https://github.com/creeperkatze/modrinth-embeds.git
cd modrinth-embeds
# Install dependencies
pnpm install
# Start development server
pnpm devCopy the .env.example file and rename it to .env.
Contributions are always welcome!
Please ensure you run pnpm lint before opening a pull request.
AGPL-3.0
