{"id":35881712,"url":"https://github.com/getscissorhands/plugins","last_synced_at":"2026-01-08T18:04:05.048Z","repository":{"id":329580981,"uuid":"1115073938","full_name":"getscissorhands/plugins","owner":"getscissorhands","description":"Collection of the official plugins for ScissorHands.NET","archived":false,"fork":false,"pushed_at":"2026-01-02T13:52:01.000Z","size":81,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-08T14:51:52.374Z","etag":null,"topics":["blazor","dotnet","plugins","static-site-generator"],"latest_commit_sha":null,"homepage":"https://getscissorhands.app","language":"C#","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/getscissorhands.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-12T09:54:36.000Z","updated_at":"2026-01-02T13:51:45.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/getscissorhands/plugins","commit_stats":null,"previous_names":["getscissorhands/plugins"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/getscissorhands/plugins","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getscissorhands%2Fplugins","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getscissorhands%2Fplugins/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getscissorhands%2Fplugins/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getscissorhands%2Fplugins/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/getscissorhands","download_url":"https://codeload.github.com/getscissorhands/plugins/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getscissorhands%2Fplugins/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28247286,"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","status":"online","status_checked_at":"2026-01-08T02:00:06.591Z","response_time":241,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["blazor","dotnet","plugins","static-site-generator"],"created_at":"2026-01-08T18:01:30.424Z","updated_at":"2026-01-08T18:04:05.037Z","avatar_url":"https://github.com/getscissorhands.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ScissorHands Plugins\n\nCollection of the official plugins for ScissorHands.NET\n\n## List of Plugins\n\n| Name                                                                    | Description             |\n|-------------------------------------------------------------------------|-------------------------|\n| [Google Analytics](./src/ScissorHands.Plugin.GoogleAnalytics/README.md) | Google Analytics plugin |\n| [Open Graph](./src/ScissorHands.Plugin.OpenGraph/README.md)             | Open Graph plugin       |\n\n## Build Your Plugin\n\n1. Set environment variables for GitHub NuGet Package Registry.\n\n    ```bash\n    # zsh/bash\n    source ./scripts/setup-gh-auth.sh --username \"\u003cGITHUB_USERNAME\u003e\" --token \"\u003cGITHUB_TOKEN\u003e\"\n    ```\n\n    ```powershell\n    # PowerShell\n    . ./scripts/setup-gh-auth.ps1 -Username \"\u003cGITHUB_USERNAME\u003e\" -Token \"\u003cGITHUB_TOKEN\u003e\"\n    ```\n\n   \u003e **NOTE**: Make sure to **sourcing** the script instead of executing it.\n\n1. Create a class library.\n\n    ```bash\n    dotnet new classlib -n MyAwesomeScissorHandsPlugin\n    ```\n\n1. Add a NuGet package.\n\n    ```bash\n    dotnet add package ScissorHands.Plugin --prerelease\n    ```\n\n1. Create a plugin class inheriting the `ContentPlugin` class.\n\n    ```csharp\n    public class MyAwesomeScissorHandsPlugin : ContentPlugin\n    {\n        public override string Name =\u003e \"My Awesome ScissorHands Plugin\";\n    \n        public override async Task\u003cContentDocument\u003e PreMarkdownAsync(ContentDocument document, PluginManifest plugin, SiteManifest site, CancellationToken cancellationToken = default)\n        {\n            // ADD LOGIC HERE\n        }\n    \n        public override async Task\u003cContentDocument\u003e PostMarkdownAsync(ContentDocument document, PluginManifest plugin, SiteManifest site, CancellationToken cancellationToken = default)\n        {\n            // ADD LOGIC HERE\n        }\n    \n        public override async Task\u003cstring\u003e PostHtmlAsync(string html, ContentDocument document, PluginManifest plugin, SiteManifest site, CancellationToken cancellationToken = default)\n        {\n            // ADD LOGIC HERE\n        }\n    }\n    ```\n\n## Issues?\n\nIf you find any issues, please [report them](../../issues).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetscissorhands%2Fplugins","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetscissorhands%2Fplugins","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetscissorhands%2Fplugins/lists"}