{"id":13423997,"url":"https://github.com/radames/observablehq-viewer","last_synced_at":"2025-04-21T23:31:46.083Z","repository":{"id":44984457,"uuid":"277473306","full_name":"radames/observablehq-viewer","owner":"radames","description":"Simple service to generate Observablehq notebooks previews outside Observablehq UI. It's also reproducing Observablehq UI styles","archived":false,"fork":false,"pushed_at":"2022-01-15T02:35:40.000Z","size":8472,"stargazers_count":12,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-10-26T22:30:17.976Z","etag":null,"topics":["cloudflare-workers","observable-notebook","observablehq","server-side","service","viewer"],"latest_commit_sha":null,"homepage":"https://observablehq-viewer.radamar.workers.dev","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/radames.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-06T07:32:06.000Z","updated_at":"2023-09-06T20:25:40.000Z","dependencies_parsed_at":"2022-08-02T18:45:39.983Z","dependency_job_id":null,"html_url":"https://github.com/radames/observablehq-viewer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radames%2Fobservablehq-viewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radames%2Fobservablehq-viewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radames%2Fobservablehq-viewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radames%2Fobservablehq-viewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/radames","download_url":"https://codeload.github.com/radames/observablehq-viewer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223881649,"owners_count":17219268,"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":["cloudflare-workers","observable-notebook","observablehq","server-side","service","viewer"],"created_at":"2024-07-31T00:00:46.371Z","updated_at":"2024-11-09T21:02:26.276Z","avatar_url":"https://github.com/radames.png","language":"CSS","funding_links":[],"categories":["CSS"],"sub_categories":[],"readme":"# ObservableHQ Viewer \n\nThis project makes it simple to preview an [Observablehq](https://observablehq.com/) notebook outside Observablehq UI.\n\n## Usage\n\n1. #### `https://observablehq-viewer.radamar.workers.dev/USER/NOTEBOOK`\n1. #### `https://observablehq-viewer.radamar.workers.dev/USER/NOTEBOOK?cells=cellname1,cellname2`\n1. #### `https://observablehq-viewer.radamar.workers.dev/USER/NOTEBOOK?cells=cellname1,cellname2\u0026fullwidth=1`\n\n\n#### Examples\n\n\n\n### [`https://observablehq-viewer.radamar.workers.dev/@fil/synchronized-projections`](https://observablehq-viewer.radamar.workers.dev/@fil/synchronized-projections)\n\nfrom [`@fil/synchronized-projections`](https://observablehq.com/@fil/synchronized-projections)\n\n### [`https://observablehq-viewer.radamar.workers.dev/@mbostock/voronoi-stippling`](https://observablehq-viewer.radamar.workers.dev/@mbostock/voronoi-stippling)\n\nfrom [`@mbostock/voronoi-stippling`](https://observablehq.com/@mbostock/voronoi-stippling)\n\n\n### Named Cells\n\nYou can target only interesting cells and let code cells out of your preview. You will need named cells\n\n```js\n\ncellName = {\n  \n}\n```\n#### Example\n\nTake this https://observablehq.com/@johnburnmurdoch/bar-chart-race\n\nHere you can preview only the cell names `chart` \n\n### [`https://observablehq-viewer.radamar.workers.dev/@johnburnmurdoch/bar-chart-race?cells=chart`](https://observablehq-viewer.radamar.workers.dev/@johnburnmurdoch/bar-chart-race?cells=chart)\n\n\nor the whole notebook\n\n### [`https://observablehq-viewer.radamar.workers.dev/@johnburnmurdoch/bar-chart-race`](https://observablehq-viewer.radamar.workers.dev/@johnburnmurdoch/bar-chart-race)\n\n\n\n### `https://observablehq-viewer.radamar.workers.dev/USER/NOTEBOOK?cells=cellname1,cellname2`\n\n\n\nor multiple cells\n\nhttps://observablehq-viewer.radamar.workers.dev/@radames/hello-d3fc-webgl?cells=title,chartEl\n\n### Full Width\n\nPass `fullwidth=1` param to render the cells on 100% of viewport, disabling `max-width: 64rem` that Observablehq UI defaults.\n\n#### Example\n\n\n### [`https://observablehq-viewer.radamar.workers.dev/@johnburnmurdoch/bar-chart-race?cells=chart\u0026fullwidth=1`](https://observablehq-viewer.radamar.workers.dev/@johnburnmurdoch/bar-chart-race?cells=chart\u0026fullwidth=1)\n\n\nor the whole notebook\n\n### [`https://observablehq-viewer.radamar.workers.dev/@johnburnmurdoch/bar-chart-race?fullwidth=1`](https://observablehq-viewer.radamar.workers.dev/@johnburnmurdoch/bar-chart-race?fullwidth=1)\n\n\n#### TODOS\n - link back to original notebook on Observablehq\n - notebook author information on preview\n - change page title to notebook title (fetch title from observablehq api)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradames%2Fobservablehq-viewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fradames%2Fobservablehq-viewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradames%2Fobservablehq-viewer/lists"}