{"id":13678381,"url":"https://github.com/jl917/rspress-plugin-sitemap","last_synced_at":"2025-04-29T13:30:36.447Z","repository":{"id":240249121,"uuid":"802123382","full_name":"jl917/rspress-plugin-sitemap","owner":"jl917","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-02T14:57:10.000Z","size":110,"stargazers_count":4,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-20T23:45:59.482Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jl917.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2024-05-17T15:06:48.000Z","updated_at":"2025-01-02T03:15:53.000Z","dependencies_parsed_at":"2024-05-22T18:13:17.046Z","dependency_job_id":"8f85c015-c6f6-410d-913a-9c2e6dc4097c","html_url":"https://github.com/jl917/rspress-plugin-sitemap","commit_stats":null,"previous_names":["jl917/rspress-plugin-sitemap"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jl917%2Frspress-plugin-sitemap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jl917%2Frspress-plugin-sitemap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jl917%2Frspress-plugin-sitemap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jl917%2Frspress-plugin-sitemap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jl917","download_url":"https://codeload.github.com/jl917/rspress-plugin-sitemap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251509370,"owners_count":21600623,"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-08-02T13:00:52.993Z","updated_at":"2025-04-29T13:30:36.111Z","avatar_url":"https://github.com/jl917.png","language":"TypeScript","funding_links":[],"categories":["Plugins"],"sub_categories":["Rspress Plugins"],"readme":"# rspress-plugin-sitemap ![NPM Version](https://img.shields.io/npm/v/rspress-plugin-sitemap)\n\nRspress plugin for Automatically generate SEO(Search Engine Optimization)-related sitemaps\n\n## Usage\n\n```bash\nnpm i rspress-plugin-sitemap\nyarn add rspress-plugin-sitemap\npnpm add rspress-plugin-sitemap\n```\n\n```ts\nimport { defineConfig } from \"rspress/config\";\nimport sitemap from \"rspress-plugin-sitemap\";\n\nexport default defineConfig({\n  plugins: [\n    sitemap({\n      domain: \"https://rspress.dev\",\n      customMaps: {\n        \"/sample\": {\n          loc: \"/sample\",\n          lastmod: \"2024-04-27T07:44:43.422Z\",\n          priority: \"0.7\",\n          changefreq: \"always\",\n        },\n      },\n      defaultChangeFreq: \"monthly\",\n      defaultPriority: \"0.5\",\n    }),\n  ],\n});\n```\n\n## Configure\n\nThis plugin supports passing in an object configuration. The properties of this object configuration are as follows:\n\n```ts\ninterface Options {\n  domain?: string; // your domain\n  customMaps?: CustomMaps; // custom your sitemap\n  defaultPriority?: Priority; // defaultPriority 0.5\n  defaultChangeFreq?: ChangeFreq; // defaultPriority monthly\n}\n```\n\n- `domain` Customize your domain name\n- `customMaps` Customize the sitemap for a specific path\n- `defaultPriority` Setting default global priority\n- `defaultChangeFreq` Setting default global changeFreq\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjl917%2Frspress-plugin-sitemap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjl917%2Frspress-plugin-sitemap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjl917%2Frspress-plugin-sitemap/lists"}