{"id":15700530,"url":"https://github.com/hideoo/ts-playground-block","last_synced_at":"2025-05-12T14:16:17.292Z","repository":{"id":85853572,"uuid":"600418040","full_name":"HiDeoo/ts-playground-block","owner":"HiDeoo","description":"GitHub Block to embed a TypeScript Playground in Markdown files or as a custom file renderer in GitHub","archived":false,"fork":false,"pushed_at":"2023-04-25T12:39:54.000Z","size":130,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-26T12:22:42.893Z","etag":null,"topics":["blocks","github","github-blocks","javascript","playground","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HiDeoo.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":"2023-02-11T12:38:30.000Z","updated_at":"2023-12-28T04:44:25.000Z","dependencies_parsed_at":"2024-10-24T05:22:09.372Z","dependency_job_id":"2d93b5d4-6779-4027-b218-7d4db201fead","html_url":"https://github.com/HiDeoo/ts-playground-block","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HiDeoo%2Fts-playground-block","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HiDeoo%2Fts-playground-block/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HiDeoo%2Fts-playground-block/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HiDeoo%2Fts-playground-block/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HiDeoo","download_url":"https://codeload.github.com/HiDeoo/ts-playground-block/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243150878,"owners_count":20244478,"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":["blocks","github","github-blocks","javascript","playground","typescript"],"created_at":"2024-10-03T19:49:34.867Z","updated_at":"2025-03-12T03:31:09.116Z","avatar_url":"https://github.com/HiDeoo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003ets-playground-block 🔭\u003c/h1\u003e\n  \u003cp\u003eEmbed a TypeScript Playground in GitHub\u003c/p\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/HiDeoo/ts-playground-block/actions/workflows/integration.yml\"\u003e\n    \u003cimg alt=\"Integration Status\" src=\"https://github.com/HiDeoo/ts-playground-block/actions/workflows/integration.yml/badge.svg\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/HiDeoo/ts-playground-block/blob/main/LICENSE\"\u003e\n    \u003cimg alt=\"License\" src=\"https://badgen.net/github/license/HiDeoo/ts-playground-block\" /\u003e\n  \u003c/a\u003e\n  \u003cbr /\u003e\n\u003c/div\u003e\n\n## Features\n\nA [GitHub Block](https://blocks.githubnext.com) to embed a [TypeScript Playground](https://www.typescriptlang.org/play) in Markdown files or as a custom file renderer in GitHub.\n\n- Automatic Type Acquisition\n- Configurable TypeScript version saved in [metadata](https://github.com/githubnext/blocks/blob/df66e0457f1d23e883cb6d089ee1e0c80ac5c8d2/docs/Developing%20blocks/2%20Building%20your%20first%20block.md#metadata) (editable by users with write access to the repository)\n- Support for [TypeScript Twoslash](https://www.typescriptlang.org/dev/twoslash) annotations\n- Link to open the code in the [official TypeScript Playground](https://www.typescriptlang.org/play)\n\n\u003e **Warning**\n\u003e\n\u003e GitHub Blocks is currently an experimental technical preview and may change at any time.\n\n## Planned Features\n\nGitHub Blocks is still in **early development** and same goes for this GitHub Block. The following features are planned:\n\n- TS Config customization just like the official TypeScript Playground.\n- Theme support (the GitHub Blocks UI does not yet support themes).\n\n## Limitations\n\nIt is currently not possible to customize the options, e.g. the TypeScript version, of the TypeScript Playground GitHub Block directly from Markdown but some sort of \"instance\" state allowing this kind of customization is on the roadmap.\n\n## Examples\n\n- [Embedded in a README file.](https://blocks.githubnext.com/HiDeoo/ts-playground-block/blob/main/examples/README.md)\n- [As a file renderer for a TypeScript file.](https://blocks.githubnext.com/HiDeoo/ts-playground-block/blob/main/examples/basic.ts)\n- [As a file renderer for a TypeScript file with a specific TypeScript version.](https://blocks.githubnext.com/HiDeoo/ts-playground-block/blob/main/examples/version.ts)\n\n![Embedded in a README file.](https://user-images.githubusercontent.com/494699/219106150-2e27a48c-3012-47bb-8260-64918aec6af2.png)\n\n![As a file renderer for a TypeScript file.](https://user-images.githubusercontent.com/494699/219106513-c7d3c4e4-34e3-496d-9a30-3931c48413ac.png)\n\n![As a file renderer for a TypeScript file with a specific TypeScript version.](https://user-images.githubusercontent.com/494699/219106566-7d9682d7-3682-4d56-baf1-6341b8fdb6d6.png)\n\n## License\n\nLicensed under the MIT License, Copyright © HiDeoo.\n\nSee [LICENSE](https://github.com/HiDeoo/ts-playground-block/blob/main/LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhideoo%2Fts-playground-block","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhideoo%2Fts-playground-block","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhideoo%2Fts-playground-block/lists"}