{"id":16485872,"url":"https://github.com/kgbier/feed-spidey-bot","last_synced_at":"2025-07-13T23:35:00.188Z","repository":{"id":94447698,"uuid":"112683266","full_name":"kgbier/feed-spidey-bot","owner":"kgbier","description":"RSS -\u003e Discord Webhook worker bot","archived":false,"fork":false,"pushed_at":"2018-01-21T05:03:08.000Z","size":52,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-11T14:47:01.835Z","etag":null,"topics":["aws-lambda","discord-bot","discord-webhook-bot","rss","webhook"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/kgbier.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2017-12-01T02:05:42.000Z","updated_at":"2021-02-24T19:47:14.000Z","dependencies_parsed_at":"2023-03-09T16:15:35.944Z","dependency_job_id":null,"html_url":"https://github.com/kgbier/feed-spidey-bot","commit_stats":{"total_commits":41,"total_committers":1,"mean_commits":41.0,"dds":0.0,"last_synced_commit":"5e169df6f0270a756d9c59c034ca1c56762ce4f4"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kgbier%2Ffeed-spidey-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kgbier%2Ffeed-spidey-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kgbier%2Ffeed-spidey-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kgbier%2Ffeed-spidey-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kgbier","download_url":"https://codeload.github.com/kgbier/feed-spidey-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241262351,"owners_count":19936046,"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":["aws-lambda","discord-bot","discord-webhook-bot","rss","webhook"],"created_at":"2024-10-11T13:27:33.568Z","updated_at":"2025-02-28T22:42:17.413Z","avatar_url":"https://github.com/kgbier.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spidey Bot feed reader\n\n##### Konrad Biernacki (kgbier@gmail.com)\n\nA Discord webhook bot that posts updates from rss/atom feeds, designed to be compiled and deployed into AWS Lambda.\n\n- Dependency on AWS DynamoDB for per-feed record keeping\n\n## Usage\n\n1. Configure `./src/config/config.js` with AWS DynamoDB Table and Region\n\n2. Configure `./src/config/updateChannels.js`, `./src/config/webhookEndpoints.js`, `./src/config/personalities.js` with valid webhook and feed data (as covered in [Overview](#overview))\n\n3. `$ yarn build` - Compiles with webpack into `./dist/bundle.js`\n\n4. `$ yarn deploy` - Uploads to a specified lambda function using the `aws-cli` (uses `./deploy.sh`)\n\n## Run\n\n`$ node run.js` to run the es6 program\n\nor\n\n`$ node run.bundle.js` to run the minified/bundled program\n\n## Overview\n\u003ca name=\"overview\"\u003e\u003c/a\u003e\n\n- config/webhookEndpoints.js\n\nDescribes a named collection of webhook endpoints.\n\n```javascript\n{\n  'spidey#totesnotrobots': {\n    path: '/api/webhooks/ID/TOKEN',\n  },\n  ...\n};\n```\n\n- config/personalities.js\n\nA named collection of webhook Personalities. Comprises a Name, Colour, Avatar image, Thumbnail image, and a Subscriber webhook endpoint.\n\nNB: Colour is expressed in Integer format\n\n```javascript\n{\n  'personalityOne': {\n    name: 'Personality Name',\n    colour: 16765995,\n    avatar: '.jpg',\n    thumbnail: '.jpg',\n    subscriber: 'spidey#totesnotrobots',\n  },\n  ...\n}\n```\n\n- config/updateChannels.js\n\nContains a list of Channels.\nA Channel comprises a feed URL, a transform to compose the Discord Embed object from an Article, and a Personality to post articles to.\n\nTransform object is required to compliment discord Embed object as seen [here](https://discordapp.com/developers/docs/resources/channel#embed-object).\n\n```javascript\n[\n  {\n    name: 'Channel',\n    description: 'Channel Description',\n    personality: 'personalityOne',\n    feedUrl: 'https://www.feeds.com/feed/',\n    transformer: (article, personality) =\u003e {\n      return {\n        title: article.title,\n        description: article.link,\n        timestamp: article.date,\n        color: personality.colour,\n        footer: {\n          text: VERSION_TEXT,\n        },\n      };\n    },\n  },\n  ...\n]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkgbier%2Ffeed-spidey-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkgbier%2Ffeed-spidey-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkgbier%2Ffeed-spidey-bot/lists"}