{"id":28498042,"url":"https://github.com/wallabag/serverless-bot","last_synced_at":"2025-09-10T11:34:08.520Z","repository":{"id":36984178,"uuid":"162491125","full_name":"wallabag/serverless-bot","owner":"wallabag","description":":zap: A Serverless project does some stuff to help the wallabag team","archived":false,"fork":false,"pushed_at":"2025-09-08T00:02:35.000Z","size":7864,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-09-08T02:18:59.124Z","etag":null,"topics":["github","github-webhooks","hacktoberfest","serverless","serverless-framework","wallabag-team","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/wallabag.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-12-19T21:10:04.000Z","updated_at":"2025-09-08T00:02:38.000Z","dependencies_parsed_at":"2024-02-02T02:28:30.510Z","dependency_job_id":"ce1c2d3e-8865-400b-a6b2-7239595d96eb","html_url":"https://github.com/wallabag/serverless-bot","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/wallabag/serverless-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wallabag%2Fserverless-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wallabag%2Fserverless-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wallabag%2Fserverless-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wallabag%2Fserverless-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wallabag","download_url":"https://codeload.github.com/wallabag/serverless-bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wallabag%2Fserverless-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274455515,"owners_count":25288557,"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","status":"online","status_checked_at":"2025-09-10T02:00:12.551Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["github","github-webhooks","hacktoberfest","serverless","serverless-framework","wallabag-team","webhook"],"created_at":"2025-06-08T13:31:05.022Z","updated_at":"2025-09-10T11:34:08.464Z","avatar_url":"https://github.com/wallabag.png","language":"JavaScript","readme":"# wallabag Serverless Bot\n\n![Tests](https://github.com/wallabag/serverless-bot/workflows/Tests/badge.svg)\n\nThis serverless project does some stuff to help the wallabag team. It:\n\n- validates PRs sent to site-config repository: [fivefilters](https://github.com/fivefilters/ftr-site-config) \u0026 [graby](https://github.com/j0k3r/graby-site-config)\n- automatically label PRs created by Weblate\n- more to come!\n\n![image](https://user-images.githubusercontent.com/62333/50344781-c0a13100-052c-11e9-9f6b-3a7cb4393262.png)\n\n## Use Cases\n\nAvailable lambdas:\n\n- **extension**: It validates each file in the diff has a `.txt` extension.\n- **weblate**: It automatically label PRs created by Weblate.\n\n## Prerequisites\n\n- Node.js 22\n- OSS Serverless (`npm install -g osls`)\n- An AWS account\n- Defined [provider credentials](https://serverless.com/framework/docs/providers/aws/guide/credentials/)\n\n## Setup\n\n### Deploy the code\n\n- Get a [new personal access token](https://github.com/settings/tokens/new) on GitHub\n- Set it in [AWS Parameter Store](https://eu-west-1.console.aws.amazon.com/systems-manager/parameters/create?region=eu-west-1) as a `SecureString` with name `GITHUB_TOKEN`\n- Deploy the service using: `serverless deploy`\n\nBy default\n\n- it'll use the AWS profile `default`, but you can use your own using (be sure it's defined in your `~/.aws/credentials`): `serverless deploy --aws-profile myprofile`\n- it'll be deployed to the AWS region `eu-west-1` but you can change it using: `serverless deploy --region us-east-1`\n\n### Setup GitHub webhook\n\nConfigure the webhook in [the GitHub repository settings](https://developer.github.com/webhooks/creating/#setting-up-a-webhook).\n\n- In the Payload URL, enter the URL you received after deploying. It would be something like `https://\u003cyour_url\u003e.amazonaws.com/dev/webhook/...`.\n- Choose the \"application/json\" in Content type.\n- In the types of events to trigger the webhook, select \"Let me select individual events\", then select at least `Pull Requests`.\n\n### Some options\n\nYou can update some options from the `serverless.yml` file:\n\n- `NAMESPACE`: change the namespace used in the PR check (displayed at the bottom of each PR)\n\n## Info\n\nInspired from [20minutes/serverless-github-check](https://github.com/20minutes/serverless-github-check).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwallabag%2Fserverless-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwallabag%2Fserverless-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwallabag%2Fserverless-bot/lists"}