Skip to content

Interest in @giscus/astro package? #2274

@ywc0008

Description

@ywc0008

Hey! 👋

I'm an Astro user who loves giscus, and I'm interested in contributing an
@giscus/astro package to this repository.

Current situation

I know Astro users can already use the giscus web component directly:

<script>
  import 'giscus';
</script>
<giscus-widget repo="..." repoid="..." />

Proposal

However, a dedicated Astro wrapper could provide:

  • TypeScript support with full Props autocompletion
  • camelCase props consistent with other framework packages (@giscus/react, @giscus/vue, etc.)
  • Better discoverability in the Astro ecosystem (npm search, Astro integrations page)

The implementation would be simple - just a thin wrapper around the web component,
similar to how other framework packages work.

Questions

  1. Would you be open to accepting this contribution?
  2. If yes, are there any specific guidelines I should follow?

Happy to help maintain it as well. Let me know what you think!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions