{"id":17200375,"url":"https://github.com/tv42/representative","last_synced_at":"2025-04-13T20:51:45.799Z","repository":{"id":57509052,"uuid":"236116081","full_name":"tv42/representative","owner":"tv42","description":"Static slideshow generator for Go slides","archived":false,"fork":false,"pushed_at":"2023-03-16T18:15:07.000Z","size":160,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-27T11:14:11.093Z","etag":null,"topics":["golang","html","slides","static-html"],"latest_commit_sha":null,"homepage":"https://eagain.net/go/representative","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tv42.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}},"created_at":"2020-01-25T02:27:49.000Z","updated_at":"2023-03-16T18:12:56.000Z","dependencies_parsed_at":"2024-06-20T01:43:35.090Z","dependency_job_id":"1fcd2b07-aebe-4988-84cc-8029f03c2590","html_url":"https://github.com/tv42/representative","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tv42%2Frepresentative","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tv42%2Frepresentative/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tv42%2Frepresentative/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tv42%2Frepresentative/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tv42","download_url":"https://codeload.github.com/tv42/representative/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248782278,"owners_count":21160716,"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":["golang","html","slides","static-html"],"created_at":"2024-10-15T02:07:56.013Z","updated_at":"2025-04-13T20:51:45.776Z","avatar_url":"https://github.com/tv42.png","language":"JavaScript","readme":"# `representative` -- Static slideshow generator for Go slides\n\n`representative` takes a [Go\nPresent-style](https://pkg.go.dev/golang.org/x/tools/present)\n`*.slide` (or `*.article`) file and creates a static HTML page.\n\n## Install\n\n```\n$ go get eagain.net/go/representative/cmd/representative\n```\n\n## Usage\n\nRead `foo.slide`, write `foo.html`, write assets into directory named\n`static` (which will be created if needed) and assume the HTML can\nrefer to them as `static/...`:\n\n```\n$ representative -assets=static foo.slide\n```\n\nWhat files are created as assets is not guaranteed. We recommend\nnot trying to have other content in the same directory.\n\nPass any number of `*.slide` and `*.article` files.\n\nThere are two flags you can give it:\n\n- `-assets=DIR`: Write assets to this directory.\n\n  If not given, assets are not created at this time, and must be\n  available to the HTML by some other means.\n\n  This can be used with no files to just write assets.\n\n- `-url-to-assets=URL`: Refers to assets from HTML with this base\n  URL.\n\n  If `-assets=DIR` was given, defaults to `DIR`, otherwise `static`.\n\nSome more ways you can call it:\n\n```\n# Multiple slides at once\n$ representative -assets=static *.slide\n\n# Just write out the assets\n$ representative -assets=static\n\n# Just convert slides to HTML (assets assumed to be available as\n# `static/...`)\n$ representative foo.slide\n\n# Write assets into custom directory name\n$ representative -assets=my-asset-dir foo.slide\n\n# Asset fetched from a subdir (default `static`), no trailing slash.\n$ representative -url-to-assets=my-asset-dir foo.slide\n\n# Assets fetched relative to arbitrary URL.\n$ representative -url-to-assets=https://cdn.example.com/slide-assets/ foo.slide\n```\n\n\n## History\n\n`representative` was inspired by https://github.com/cmars/represent\nbut is an independent implementation with completely different\ncommand-line interface.\n\nNotable differences:\n\n- `representative` has new slideshow features added to `present` after\n  `represent` was last updated\n- `representative` does not need its source tree available to access\n  assets\n- `representative` does not copy everything in the source directory\n  into the publish directory; it just writes HTML\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftv42%2Frepresentative","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftv42%2Frepresentative","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftv42%2Frepresentative/lists"}