{"id":15732086,"url":"https://github.com/kai-oswald/gridsome-source-buttondown","last_synced_at":"2025-03-31T03:22:12.978Z","repository":{"id":57155448,"uuid":"223371022","full_name":"kai-oswald/gridsome-source-buttondown","owner":"kai-oswald","description":"Buttondown source for Gridsome","archived":false,"fork":false,"pushed_at":"2019-11-22T10:52:45.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-06T08:11:36.157Z","etag":null,"topics":["gridsome","gridsome-plugin","gridsome-source"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/kai-oswald.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}},"created_at":"2019-11-22T09:38:23.000Z","updated_at":"2019-11-22T12:41:38.000Z","dependencies_parsed_at":"2022-08-26T09:50:15.894Z","dependency_job_id":null,"html_url":"https://github.com/kai-oswald/gridsome-source-buttondown","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kai-oswald%2Fgridsome-source-buttondown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kai-oswald%2Fgridsome-source-buttondown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kai-oswald%2Fgridsome-source-buttondown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kai-oswald%2Fgridsome-source-buttondown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kai-oswald","download_url":"https://codeload.github.com/kai-oswald/gridsome-source-buttondown/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246408597,"owners_count":20772317,"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":["gridsome","gridsome-plugin","gridsome-source"],"created_at":"2024-10-04T00:08:16.796Z","updated_at":"2025-03-31T03:22:12.952Z","avatar_url":"https://github.com/kai-oswald.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gridsome-source-buttondown\n\n\u003e [Buttondown](https://buttondown.email) source for Gridsome\n\n## Install\n\n- `yarn add gridsome-source-buttondown`\n- `npm install gridsome-source-buttondown`\n\n## Usage\n\n```js\nconst { API_KEY } = process.env;\nmodule.exports = {\n  plugins: [\n    {\n      use: 'gridsome-source-buttondown',\n      options: {\n        apiKey: API_KEY\n      }\n    }\n  ],\n   templates: {\n    Email: \"/archive/:id\"\n  }  \n}\n```\n\nThis plugin lets you load data from the Buttondown API. This allows you to directly host your own archive within Gridsome.\n\nYou can then query the collection. All field names the Buttondown API provides are available. [View Reference](https://api.buttondown.email/v1/schema#operation/emails_list)\n\n```html\n\u003cpage-query\u003e\n{\n    allEmail {\n        edges {\n            node {\n                id, \n                publish_date, \n                email_type, \n                subject, \n                body,\n                path\n            }\n        }\n    }\n}\n\u003c/page-query\u003e\n```\n\n## Options\n\n#### apiKey\n\n- Type: `string` *required*\n\nThe buttondown API Key (found in [settings](https://buttondown.email/settings)).\n\n#### typeName\n\n- Type: `string`\n- Default: `'Email'`\n\nThe GraphQL type and template name. A `.vue` file in `src/templates` must match the `typeName` to have a template for it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkai-oswald%2Fgridsome-source-buttondown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkai-oswald%2Fgridsome-source-buttondown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkai-oswald%2Fgridsome-source-buttondown/lists"}