{"id":19259395,"url":"https://github.com/theisel/astro-portabletext","last_synced_at":"2025-04-04T08:08:50.032Z","repository":{"id":42109823,"uuid":"486050541","full_name":"theisel/astro-portabletext","owner":"theisel","description":"A flexible and customizable library for rendering Portable Text content in your Astro projects","archived":false,"fork":false,"pushed_at":"2025-03-21T19:59:30.000Z","size":1701,"stargazers_count":77,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T07:05:50.009Z","etag":null,"topics":["astro","astro-component","portable-text","sanity","sanity-io","typescript","withastro"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/astro-portabletext","language":"Astro","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/theisel.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":"2022-04-27T04:55:20.000Z","updated_at":"2025-02-18T01:10:12.000Z","dependencies_parsed_at":"2023-10-14T22:01:12.985Z","dependency_job_id":"3ecc497e-7a27-431f-a7ba-5e41a0b57cc1","html_url":"https://github.com/theisel/astro-portabletext","commit_stats":{"total_commits":314,"total_committers":5,"mean_commits":62.8,"dds":0.07643312101910826,"last_synced_commit":"0c2ab5b8a6c760fe5bbae065ccaec0256bbfd7da"},"previous_names":[],"tags_count":65,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theisel%2Fastro-portabletext","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theisel%2Fastro-portabletext/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theisel%2Fastro-portabletext/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theisel%2Fastro-portabletext/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theisel","download_url":"https://codeload.github.com/theisel/astro-portabletext/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247142049,"owners_count":20890652,"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":["astro","astro-component","portable-text","sanity","sanity-io","typescript","withastro"],"created_at":"2024-11-09T19:16:28.608Z","updated_at":"2025-04-04T08:08:50.003Z","avatar_url":"https://github.com/theisel.png","language":"Astro","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv\u003e\n  \u003cimg src=\"https://github.com/theisel/astro-portabletext/raw/main/logo.svg\" width=\"240\" alt=\"astro-portabletext logo\"\u003e\n\u003c/div\u003e\n\n# astro-portabletext\n\n[![npm version](https://img.shields.io/npm/v/astro-portabletext.svg?style=flat-square)](https://npmjs.com/package/astro-portabletext)\n[![npm downloads](https://img.shields.io/npm/dm/astro-portabletext.svg?style=flat-square)](https://npmjs.com/package/astro-portabletext)\n![license](https://img.shields.io/npm/l/astro-portabletext?style=flat-square)\n\nA flexible and customizable library for rendering [Portable Text](https://portabletext.org) content in [Astro](https://astro.build) projects.\n\n## 🚀 Features\n\n- **Core components** for common Portable Text elements.\n- **Customizable rendering** using `slots` or your own `components`.\n- **Flexible control** with the `render` function via `usePortableText`.\n- **Built with** TypeScript support.\n\n## 🎮 Demonstration\n\nJump in and see it in action:\n\n\u003cdiv\u003e\n  \u003ca href=\"https://stackblitz.com/github/theisel/astro-portabletext/tree/main/demo\"\u003e\n    \u003cimg src=\"https://developer.stackblitz.com/img/open_in_stackblitz.svg\" alt=\"Open in StackBlitz\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://codesandbox.io/p/sandbox/github/theisel/astro-portabletext/tree/main/demo\"\u003e\n    \u003cimg src=\"https://assets.codesandbox.io/github/button-edit-lime.svg\" alt=\"Open in CodeSandbox\"\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n## 📖 Resources\n\n- **Installation \u0026 usage docs:** [Read the full documentation](docs/README.md)\n- **TypeScript types:** [Type definitions](docs/types/README.md)\n- **Examples:** [Browse practical examples](examples/README.md)\n\n**Versions:**\n\n- [Latest stable version (v0.11.0)](https://github.com/theisel/astro-portabletext/tree/astro-portabletext%400.11.0/astro-portabletext \"astro-portabletext v0.10.1 documentation\")\n- [Development branch](astro-portabletext/README.md \"astro-portabletext main branch documentation\")\n\n## ![Sanity Logo](https://avatars.githubusercontent.com/u/17177659?s=24) Sanity Integration\n\nThis library is [officially recommended](https://www.sanity.io/plugins/sanity-astro#rendering-rich-text-and-block-content-with-portable-text) by [Sanity](https://sanity.io) for rendering Portable Text in Astro projects.\n\nHelpful resources:\n\n- [Sanity Integration for Astro](https://www.sanity.io/plugins/sanity-astro)\n- [Guide: Building a Blog with Sanity and Astro](https://www.sanity.io/guides/sanity-astro-blog)\n\n## 🙌 Contributing\n\nWe welcome contributions to improve `astro-portabletext`!\n\nIf you find a bug or have a feature request, please open an [issue](https://github.com/theisel/astro-portabletext/issues).\nIf you'd like to contribute code, feel free to submit a [pull request](https://github.com/theisel/astro-portabletext/pulls).\n\n## 📄 License\n\nThis project is licensed under the [ISC License](https://github.com/theisel/astro-portabletext/blob/main/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheisel%2Fastro-portabletext","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheisel%2Fastro-portabletext","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheisel%2Fastro-portabletext/lists"}