{"id":18774375,"url":"https://github.com/thinca/gas-feed","last_synced_at":"2025-06-17T01:35:31.546Z","repository":{"id":57148485,"uuid":"135014661","full_name":"thinca/gas-feed","owner":"thinca","description":"A library for Google Apps Engine to read RSS feeds.","archived":false,"fork":false,"pushed_at":"2021-12-01T02:35:15.000Z","size":469,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-12T09:25:01.371Z","etag":null,"topics":["feed-reader","google-apps-script","library","rss-parser"],"latest_commit_sha":null,"homepage":"https://thinca.github.io/gas-feed/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"zlib","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thinca.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-27T04:10:34.000Z","updated_at":"2023-08-22T12:19:46.000Z","dependencies_parsed_at":"2022-08-31T23:50:19.645Z","dependency_job_id":null,"html_url":"https://github.com/thinca/gas-feed","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/thinca/gas-feed","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinca%2Fgas-feed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinca%2Fgas-feed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinca%2Fgas-feed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinca%2Fgas-feed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thinca","download_url":"https://codeload.github.com/thinca/gas-feed/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinca%2Fgas-feed/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260272448,"owners_count":22984317,"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-reader","google-apps-script","library","rss-parser"],"created_at":"2024-11-07T19:38:08.008Z","updated_at":"2025-06-17T01:35:31.517Z","avatar_url":"https://github.com/thinca.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Feed Reader Library for Google Apps Script\n\n[![NPM Version][npm-image]][npm-url]\n[![Test][test-ci-badge]][test-ci-action]\n[![Lint][lint-ci-badge]][lint-ci-action]\n[![Test Coverage][codecov-image]][codecov-url]\n[![API document][doc-api-image]][doc-api-url]\n\nA library for Google Apps Engine to read ATOM feeds.\n\n\n## Features\n\n- Read ATOM feeds via [UrlFetchApp](https://developers.google.com/apps-script/reference/url-fetch/url-fetch-app).\n  - Currently, ATOM support only.\n- Store entries to Spreadsheet.\n  - A store is pluggable.  Currently, `SpreadsheetStore` is only implemented.\n\n\n## Requirements\n\n- [gas-webpack-plugin](https://github.com/fossamagna/gas-webpack-plugin)\n\n\n## Setup\n\n1.  Install dependencies\n\n    ```\n    $ npm install --save-dev webpack webpack-cli gas-webpack-plugin\n    $ npm install gas-feed\n    ```\n\n2.  Write `webpack.config.js`\n\n    ```javascript\n    const GasPlugin = require(\"gas-webpack-plugin\");\n\n    module.exports = {\n      entry: \"./src/index.js\",\n      output: {\n        filename: \"Code.js\",\n        path: __dirname + \"/built\",\n      },\n      plugins: [\n        new GasPlugin(),\n      ]\n    };\n    ```\n\n3.  Write code using `gas-feed`\n\n    ```javascript\n    import {FeedReader, SpreadsheetStore} = require(\"gas-feed\");\n\n    function doGet(e) {\n      // ...\n    }\n\n    // export for gas with gas-webpack-plugin\n    global.doGet = doGet;\n    ```\n\n4.  Make a `Code.js` via `webpack`\n\n    ```\n    $ webpack\n    ```\n\n5.  Upload `built/Code.js`\n\n    Copy and paste the content of code simplify or use [`clasp`](https://developers.google.com/apps-script/guides/clasp).\n\n\n## Usage\n\nHere is a most simple usage.\n\n```javascript\n// Get parameters from PropertiesService.\nconst props = PropertiesService.getScriptProperties();\nconst FEED_URL = props.getProperty(\"FEED_URL\");\nconst SPREADSHEET_ID = props.getProperty(\"SPREADSHEET_ID\");\nconst SHEET_NAME = props.getProperty(\"SHEET_NAME\");\n\nconst store = new SpreadsheetStore(SPREADSHEET_ID, SHEET_NAME);\nconst reader = new FeedReader(WATCH_TARGET, store);\n\nconst newlyFeeds = f.fetch();\n\n// Do something for newlyFeeds...\n\nreader.save();\n```\n\n\n## License\n\n[zlib License](LICENSE.txt)\n\n\n## Author\n\nthinca \u003cthinca+npm@gmail.com\u003e\n\n\n[npm-image]: https://img.shields.io/npm/v/gas-feed.svg\n[npm-url]: https://npmjs.org/package/gas-feed\n[test-ci-badge]: https://github.com/thinca/gas-feed/workflows/Test/badge.svg\n[test-ci-action]: https://github.com/thinca/gas-feed/actions?query=workflow%3ATest\n[lint-ci-badge]: https://github.com/thinca/gas-feed/workflows/Lint/badge.svg\n[lint-ci-action]: https://github.com/thinca/gas-feed/actions?query=workflow%3ALint\n[codecov-image]: https://codecov.io/gh/thinca/gas-feed/branch/master/graph/badge.svg\n[codecov-url]: https://codecov.io/gh/thinca/gas-feed\n[doc-api-image]: https://img.shields.io/badge/doc-API-orange\n[doc-api-url]: https://thinca.github.io/gas-feed/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinca%2Fgas-feed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthinca%2Fgas-feed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinca%2Fgas-feed/lists"}