{"id":39467307,"url":"https://github.com/3mdeb/slidev-template","last_synced_at":"2026-01-18T04:51:17.789Z","repository":{"id":287419454,"uuid":"964662814","full_name":"3mdeb/slidev-template","owner":"3mdeb","description":"Base template repository for integration and development of slidev presentations","archived":false,"fork":false,"pushed_at":"2025-11-17T18:10:45.000Z","size":1074,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-11-17T20:17:52.323Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/3mdeb.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-04-11T15:21:38.000Z","updated_at":"2025-11-17T18:10:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"579b790e-8e9d-4d38-ba33-d430e52f2171","html_url":"https://github.com/3mdeb/slidev-template","commit_stats":null,"previous_names":["3mdeb/slidev-template"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/3mdeb/slidev-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3mdeb%2Fslidev-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3mdeb%2Fslidev-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3mdeb%2Fslidev-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3mdeb%2Fslidev-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/3mdeb","download_url":"https://codeload.github.com/3mdeb/slidev-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3mdeb%2Fslidev-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28530347,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2026-01-18T04:51:17.020Z","updated_at":"2026-01-18T04:51:17.780Z","avatar_url":"https://github.com/3mdeb.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Welcome to [Slidev](https://github.com/slidevjs/slidev)!\n\n## Preparation\n\nThis repository is supposed to be used as a submodule to repository with slides.\nMinimal slides repository structure should look like this\n\n```text\nslides\n├── slides.metadata\n├── slides-template.md\n└── slidev-template\n```\n\nWith `slides.metadata` and `slides-template.md` copied from this repository.\n`slides-template.md` is used by `render-slides.sh` and `gen_slides.sh` scripts\nand needs to be modified before use. You need to, at minimum, replace `\u003cTITLE\u003e`.\nThere are 2 other variables, that are replaced dynamically by scripts:\n\n- `\u003cDAY\u003e` - replaced with first character in slide filename e.g. `1-slides.md`\n  would result in `\u003cDAY\u003e` being replaced with `1`. You can remove line\n  containing this variable if you don't need it.\n- `\u003cSRC\u003e` - path to slide we are trying to render.\n\n`slides.metadata` is a `yaml` file containing information needed for slides\ngeneration and is needed by `gen_slides.sh` script.\n\nExample:\n\n```yml\nslides:\n  - input_file: \"path/to/slides.md\"\n    range: \"1-10\"\n    output_file: \"1.pdf\"\n  - input_file: \"path/to/presentation.md\"\n    range: \"3-\"\n    output_file: \"2.pdf\"\n```\n\n- `input_file` - path to `.md` file you want to convert to PDF\n- `range` - which pages to include. Leave empty to include all pages\n- `output_file` - output PDF filename.\n\n## Relative paths\n\nMake sure to use relative paths in slides e.g. `../img/` instead of `/img` as\nscripts run `slidev` from `slidev-template` directory.\n\n## Local preview\n\nUsage:\n\n```sh\n./slidev-template/scripts/render-slides.sh \u003cpath/to/slides.md\u003e\n```\n\nExample:\n\n```text\n./slidev-template/scripts/render-slides.sh pages/presentation.md\n(...)\n  ●■▲\n  Slidev  v52.0.0\n\n  theme       ./theme\n  css engine  unocss\n  entry       /repo/slidev-template/slides.md\n\n  public slide show   \u003e http://localhost:8000/\n  presenter mode      \u003e http://localhost:8000/presenter/\n  slides overview     \u003e http://localhost:8000/overview/\n  export slides       \u003e http://localhost:8000/export/\n  remote control      \u003e http://172.17.0.3:8000/entry/\n\n  shortcuts           \u003e restart | open | edit | quit | qrcode\n```\n\nYou can then open given links to e.g. preview your presentation.\n\nYou can override the default copyright string using an `COPYRIGHT`\nenvironment variable:\n\n```bash\nCOPYRIGHT=\"All Rights Reserved by 3mdeb Sp. z o.o.\" \\\n  ./slidev-template/scripts/render-slides.sh \u003cpath/to/slides.md\u003e\n```\n\nDefault copyright is `3mdeb Sp. z o.o. Licensed under the CC BY-SA 4.0`.\n\n## Export presentation\n\nTo export slides to PDF use\n\n```sh\n./slidev-template/scripts/ci/gen_slides.sh \u003cpath/to/slides.metadata\u003e\n```\n\nGenerated slides will be in `slidev-template/output` directory.\n\nYou can override the default copyright string using an `COPYRIGHT`\nenvironment variable:\n\n```bash\nCOPYRIGHT=\"All Rights Reserved by 3mdeb Sp. z o.o.\" \\\n  ./slidev-template/scripts/ci/gen_slides.sh \u003cpath/to/slides.metadata\u003e\n```\n\nDefault copyright is `3mdeb Sp. z o.o. Licensed under the CC BY-SA 4.0`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3mdeb%2Fslidev-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F3mdeb%2Fslidev-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3mdeb%2Fslidev-template/lists"}