{"id":23381124,"url":"https://github.com/dasfmi/nuxt-feed","last_synced_at":"2025-04-08T08:19:52.330Z","repository":{"id":146009175,"uuid":"599478472","full_name":"dasfmi/nuxt-feed","owner":"dasfmi","description":"a nuxtjs 3 layer to create RSS feed endpoint","archived":false,"fork":false,"pushed_at":"2023-02-09T08:16:59.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-14T05:19:51.002Z","etag":null,"topics":["feed","layer","nuxt","nuxt3","rss"],"latest_commit_sha":null,"homepage":"","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/dasfmi.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-02-09T08:14:26.000Z","updated_at":"2023-02-09T08:16:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"1d57cb4a-e7cc-4b87-befa-e3e4d49f6d30","html_url":"https://github.com/dasfmi/nuxt-feed","commit_stats":null,"previous_names":["dasfmi/nuxt-feed"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dasfmi%2Fnuxt-feed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dasfmi%2Fnuxt-feed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dasfmi%2Fnuxt-feed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dasfmi%2Fnuxt-feed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dasfmi","download_url":"https://codeload.github.com/dasfmi/nuxt-feed/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247801160,"owners_count":20998339,"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":["feed","layer","nuxt","nuxt3","rss"],"created_at":"2024-12-21T20:39:46.146Z","updated_at":"2025-04-08T08:19:52.310Z","avatar_url":"https://github.com/dasfmi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nuxt Feed Generator\n\n`nuxt-feed` is a layer that is added on top of Nuxt 3 to generate a `feed.xml` file for your content.\n\n## Installation\n\nMake sure to install the npm package using npm or yarn\n\n```bash\nyarn add nuxt-feed\n```\n\nThen add the dependency to your `extends` in `nuxt.config`:\n\n```ts\ndefineNuxtConfig({\n  extends: [\n    'nuxt-feed'\n  ]\n})\n```\n\nNow, its time to provide the required configuration for the feed\nunder the `runtimeConfig` key in `nuxt.config`:\n\n```ts\ndefineNuxtConfig({\n  extends: [\n    'nuxt-feed'\n  ],\n  runtimeConfig: {\n    public: {\n      feed: {\n        id: 'rss', // optional, default: 'rss'\n        title: 'Your site title',\n        siteUrl: process.env.NUXT_PUBLIC_SITE_URL || 'https://site.com',\n        description: 'welcome to my cool site',\n        image: '' // optional,\n        favicon '' // optional,\n        language: 'ar-EG', // prefer more explicit language codes like `en-AU` over `en`\n        author: { // optional\n          name: 'Islam Shehata',\n          email: 'myemail@company.com'\n        },\n        where: {} // where object for the serverQueryContent() method. default { published: true }\n        sort: {} // sort object for the serverQueryContent() method. default: { date: -1 }\n        pathStartsWith: null // optional filter to filter out docs by path before generating the feed, e.g: '/blog'\n      }\n    }\n  }\n})\n\n```\n\nyou are done! you should be able to access your feed at `http://localhost:3000/feed.xml`\n\nin production build, this will be prerendered.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdasfmi%2Fnuxt-feed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdasfmi%2Fnuxt-feed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdasfmi%2Fnuxt-feed/lists"}