{"id":18246513,"url":"https://github.com/total-typescript/shiki-service","last_synced_at":"2025-04-04T14:31:17.127Z","repository":{"id":171256092,"uuid":"647642405","full_name":"total-typescript/shiki-service","owner":"total-typescript","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-06T23:47:12.000Z","size":303,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-20T14:40:32.026Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/total-typescript.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-31T08:08:56.000Z","updated_at":"2024-09-03T11:39:38.000Z","dependencies_parsed_at":"2024-06-06T21:23:19.924Z","dependency_job_id":"7ea81d5a-c476-4e08-9a10-71595b2e5503","html_url":"https://github.com/total-typescript/shiki-service","commit_stats":null,"previous_names":["total-typescript/shiki-service"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/total-typescript%2Fshiki-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/total-typescript%2Fshiki-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/total-typescript%2Fshiki-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/total-typescript%2Fshiki-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/total-typescript","download_url":"https://codeload.github.com/total-typescript/shiki-service/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247193979,"owners_count":20899405,"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-05T09:26:22.456Z","updated_at":"2025-04-04T14:31:16.695Z","avatar_url":"https://github.com/total-typescript.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shiki Service\n\nThis service provides an API to produce shiki-twoslash html for a given code snippet.\n\n## API\n\n### `POST /v1/`\n\n#### Request\n\n```json\n{\n  \"code\": \"const a = 1\",\n  \"lang\": \"ts\",\n  \"meta\": \"twoslash\", // optional\n  \"theme\": \"github-dark\" // optional\n}\n```\n\n#### Response\n\nResponds with html string.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftotal-typescript%2Fshiki-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftotal-typescript%2Fshiki-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftotal-typescript%2Fshiki-service/lists"}