{"id":19501235,"url":"https://github.com/gitbookio/plugin-autocover","last_synced_at":"2025-04-25T23:31:06.360Z","repository":{"id":16905710,"uuid":"19666694","full_name":"GitbookIO/plugin-autocover","owner":"GitbookIO","description":"Generate a cover for the book","archived":false,"fork":false,"pushed_at":"2018-08-29T19:54:55.000Z","size":73,"stargazers_count":87,"open_issues_count":10,"forks_count":27,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-04-14T10:57:05.356Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"jglick/simple-maven-project-with-tests","license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GitbookIO.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-11T13:20:59.000Z","updated_at":"2023-03-09T10:13:58.000Z","dependencies_parsed_at":"2022-07-26T11:02:09.518Z","dependency_job_id":null,"html_url":"https://github.com/GitbookIO/plugin-autocover","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitbookIO%2Fplugin-autocover","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitbookIO%2Fplugin-autocover/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitbookIO%2Fplugin-autocover/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitbookIO%2Fplugin-autocover/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GitbookIO","download_url":"https://codeload.github.com/GitbookIO/plugin-autocover/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250912660,"owners_count":21506865,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T22:11:59.680Z","updated_at":"2025-04-25T23:31:06.089Z","avatar_url":"https://github.com/GitbookIO.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Cover Generation for GitBook\n================\n\nGenerate a cover for the book.\n\n## How to use it:\n\nTo use this plugin in your book, add it to your `book.json`:\n\n```js\n{\n    \"plugins\": [\"autocover\"],\n    \"pluginsConfig\": {\n        \"autocover\": {\n            // Configuration for autocover (see below)\n        }\n    }\n}\n```\n\nAnd run `gitbook install` to fetch and prepare all plugins.\n\n## Installation of `canvas`\n\nThis module use [node-canvas](https://github.com/LearnBoost/node-canvas). You need to install some modules on your system before being able to use it: [Wiki of node-canvas](https://github.com/LearnBoost/node-canvas/wiki/_pages).\n\n\n## Configuration\n\nHere is default configuration of **autocover**, you can change it in your book.json:\n\n```js\n{\n    \"title\": \"My Book\",\n    \"author\": \"Author\",\n    \"pluginsConfig\": {\n        \"autocover\": {\n            \"font\": {\n                \"size\": null,\n                \"family\": \"Impact\",\n                \"color\": \"#FFF\"\n            },\n            \"size\": {\n                \"w\": 1800,\n                \"h\": 2360\n            },\n            \"background\": {\n                \"color\": \"#09F\"\n            }\n        }\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitbookio%2Fplugin-autocover","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgitbookio%2Fplugin-autocover","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitbookio%2Fplugin-autocover/lists"}