Catégories

README GitHub vers PDF

Recupere un README GitHub et le convertit en PDF

Générez un PDF à partir d'un README GitHub. **Source :** - URL du dépôt ou `owner/repo` - Branche et chemin README optionnels **Sortie :** - Style GitHub avec réglages d'impression

Documentation de l'API

Point de terminaison de la requête

POST /fr/api/tools/github-readme-to-pdf

Paramètres de la requête

Nom du paramètre Type Requis Description
repository text Oui -
branch text Non -
readmePath text Non -
theme select Non -
baseFontSize number Non -
pageSize select Non -
landscape checkbox Non -
printBackground checkbox Non -
marginTop number Non -
marginBottom number Non -
marginLeft number Non -
marginRight number Non -
waitUntil select Non -
waitTime number Non -

Format de réponse

{
  "filePath": "/public/processing/randomid.ext",
  "fileName": "output.ext",
  "contentType": "application/octet-stream",
  "size": 1024,
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
Fichier: Fichier

Documentation de MCP

Ajoutez cet outil à votre configuration de serveur MCP:

{
  "mcpServers": {
    "elysiatools-github-readme-to-pdf": {
      "name": "github-readme-to-pdf",
      "description": "Recupere un README GitHub et le convertit en PDF",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=github-readme-to-pdf",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

Vous pouvez chaîner plusieurs outils, par ex.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 outils.

Si vous rencontrez des problèmes, veuillez nous contacter à [email protected]