{"_id":"@andrioid/gatsby-theme-links","_rev":"1-2d0542b3c596114132fb01c9e703bfed","name":"@andrioid/gatsby-theme-links","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@andrioid/gatsby-theme-links","author":{"name":"Andri Óskarsson","email":"andri80@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/andrioid/gatsby-theme-links.git"},"version":"1.0.0","main":"index.js","license":"MIT","peerDependencies":{"gatsby":"^2.13.1","gatsby-source-github-api":"^0.1.0","gatsby-source-pinboard":"^0.1.7","react":"^16.8.6","react-dom":"^16.8.6"},"devDependencies":{"gatsby":"^2.13.1","react":"^16.8.6","react-dom":"^16.8.6"},"dependencies":{"@emotion/core":"^10.0.14","@mdx-js/react":"^1.0.21","gatsby-plugin-theme-ui":"^0.2.2","theme-ui":"^0.2.2"},"keywords":["links","gatsby","gatsby-theme","gatsby-plugin"],"description":"## Features","bugs":{"url":"https://github.com/andrioid/gatsby-theme-links/issues"},"homepage":"https://github.com/andrioid/gatsby-theme-links#readme","_id":"@andrioid/gatsby-theme-links@1.0.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-rvPEJ7k3jOmXq9JJjy/C1Y0hfebcJ+gttK6WSEUNUZ3SfJhXtFxCupHFrIEXVtgvohZAMt1NJs0XRkjzC58ZWA==","shasum":"d2647498040c81a2e64834af33659183404d0fe3","tarball":"https://registry.npmjs.org/@andrioid/gatsby-theme-links/-/gatsby-theme-links-1.0.0.tgz","fileCount":11,"unpackedSize":10232,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdOtGeCRA9TVsSAnZWagAAXWAP/1Biusgtpj6H527q1JVA\nVTGm6OkI7O2o9fiiFLJs5Rj0pVN+/I9zB8wrfibP1/Uc4GFmMBFgFtCS4v29\nlxBg6fYQbJREMjoXosVU9YnFAAFB6CwNNOiLpcpkMX/ril2Ace29KGANetDv\nFNFuoj1iKVFaSwTM80x11NR8yL2o35U8vBrTxj14Q0yzz6yeLBSWGIzCldHL\nh4ZTJmTNjnq3cypts0fr/C8nT1op1uMtgbKWDuiPzizLMhmOhNe0JMvIcNJF\naG7jby9Xy9XvSNaJp1X8nRkrLrLoLKo2MRRz6WTak24IZ3R2frdyXM3BUHng\nmllij0KOo0khXGjuxTIXqteTjR+kx+B0pLHerHKpFaQ8OT0k+i2v4lzR2Pdx\nU4aEIIwpHXZVF8+UU0oMU3Sc3nppQ8PDpsBvgcU+yTwosGsG51ooiIr6y0iP\njBX//tzAf5qIUZ5Hg+bsvSWSbpdD8AmHLDuarPzOGDx1P0D34VD81NoJLjWv\nc1RIkVy4LKJ/rCuqh/E8aY84C/Ex3ao/ijGwO0Cx2iJcRo2mMY1lDK6acwqM\nSp1tmU4IJdRCiel1ebigZW5eg51m3ficUUXkJkHJlZ1aXm2p2Yy6ljA4Wiho\nin/5OVUKbqO7Zk/puwND27LvkwTw7/2lucJy0COm07djH7lqjCGdTpsIL14P\ng62W\r\n=mHnj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE6Mge0clvhaGMOmvW5piLiMl3bLDzpVrREqpsxXwc6QAiBKndlcof6O4i6XvnswzHKef1NlC1+jG06FqiWIkoiVMA=="}]},"maintainers":[{"name":"andrioid","email":"andri80@gmail.com"}],"_npmUser":{"name":"andrioid","email":"andri80@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gatsby-theme-links_1.0.0_1564135838046_0.045717870940044314"},"_hasShrinkwrap":false}},"time":{"created":"2019-07-26T10:10:37.839Z","1.0.0":"2019-07-26T10:10:38.177Z","modified":"2022-04-04T14:02:22.912Z"},"maintainers":[{"name":"andrioid","email":"andri80@gmail.com"}],"description":"## Features","homepage":"https://github.com/andrioid/gatsby-theme-links#readme","keywords":["links","gatsby","gatsby-theme","gatsby-plugin"],"repository":{"type":"git","url":"git+https://github.com/andrioid/gatsby-theme-links.git"},"author":{"name":"Andri Óskarsson","email":"andri80@gmail.com"},"bugs":{"url":"https://github.com/andrioid/gatsby-theme-links/issues"},"license":"MIT","readme":"# Link Site Theme for Gatsby\n\n## Features\n\n- Adds a `/links` page to your site\n- Imports stars from Github\n- Imports bookmarks from Pinboard\n- Sorts by date and shows the latest 100 entries\n\n## Demo\n\n[Live demo](https://gatsby-theme-links.netlify.com/links)\n\n## Requirements\n\nAdd the theme requirements to your site\n\n```sh\nyarn add gatsby-theme-links gatsby-plugin-pinboard gatsby-plugin-github-api\n```\n\n## Configuration\n\nIn your gatsby project, add the following to your `gatsby-config.js`.\n\nI recommend using env-vars to pass tokens to your application. Never commit tokens to Git.\n\n```js\nmodule.exports = {\n  plugins: [\n    {\n      resolve: \"gatsby-theme-links\",\n      options: {\n        github: {\n          token: process.env.GATSBY_GITHUB_TOKEN,\n        },\n        pinboard: {\n          authToken: process.env.GATSBY_PINBOARD_TOKEN,\n        },\n      },\n    },\n  ],\n}\n```\n\n### For development\n\nAdd a `.env` file to the root directory of the project.\n\n```\nGATSBY_GITHUB_TOKEN=yourtoken\nGATSBY_PINBOARD_TOKEN=yourtoken\n```\n\nThen you can run your site with:\n\n```sh\nexport $(cat .env | xargs) && yarn workspace demo develop\n\n```\n\n### When deploying\n\nRemember to add the tokens as environmental variables to whatever deploys your site.\n\nOn Netlify, it's under \"advanced\" when setting up the project.\n\n## I don't like ENV vars\n\nAt your own risk, you can replace `process.env.GATSBY_GITHUB_TOKEN` and `process.env.GATSBY_PINBOARD_TOKEN` with your own values.\n","readmeFilename":"README.md"}