Fuel

Intégrez Fuel partout

Extraits pour @your-handle. Connectez-vous pour obtenir les vôtres.

1 · Badge README (SVG)

badgebadge statsbadge light
Markdown
[![Fuel this project](https://getfuel.dev/api/badge/your-handle.svg)](https://getfuel.dev/u/your-handle?src=badge)
Markdown · stats en direct
[![Fuel](https://getfuel.dev/api/badge/your-handle.svg?show=stats)](https://getfuel.dev/u/your-handle?src=badge)
HTML
<a href="https://getfuel.dev/u/your-handle?src=badge"><img src="https://getfuel.dev/api/badge/your-handle.svg" alt="Fuel this project" height="28"></a>

2 · Widget pour site web (JS)

Ajoute un bouton flottant « ⚡ Fuel » en bas à droite qui ouvre votre page de pourboire dans une fenêtre.

Collez avant </body>
<script src="https://getfuel.dev/widget.js" data-handle="your-handle" data-text="Fuel me" async></script>

3 · CLI et MCP

CLI Node — à afficher après une exécution réussie
console.log("\n⚡ Enjoying this tool? Fuel the maintainers: https://getfuel.dev/t/your-handle");
Champ funding de package.json (visible dans `npm fund`)
"funding": { "type": "fuel", "url": "https://getfuel.dev/u/your-handle?src=cli" }
Outil de serveur MCP (SDK TypeScript)
server.tool("support_author", "Show how to tip the author of this MCP server", {}, async () => {
  const r = await fetch("https://getfuel.dev/api/tip-link/your-handle").then((r) => r.json());
  return { content: [{ type: "text", text: r.message }] };
});
Endpoint JSON
GET https://getfuel.dev/api/tip-link/your-handle

4 · .github/FUNDING.yml

Ajoute Fuel au bouton « Sponsor » de GitHub
custom: ["https://getfuel.dev/u/your-handle"]