{"id":16547435,"url":"https://github.com/sjednac/slack-lunch-bot","last_synced_at":"2026-05-19T10:07:31.533Z","repository":{"id":72715933,"uuid":"39162308","full_name":"sjednac/slack-lunch-bot","owner":"sjednac","description":"A Slack bot for fetching lunch menu announcements from selected Facebook pages.","archived":false,"fork":false,"pushed_at":"2015-12-16T21:07:54.000Z","size":28,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-14T14:16:07.487Z","etag":null,"topics":["akka","bot","facebook","scala","slack"],"latest_commit_sha":null,"homepage":null,"language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sjednac.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}},"created_at":"2015-07-15T21:31:22.000Z","updated_at":"2018-09-25T14:13:00.000Z","dependencies_parsed_at":"2023-02-26T10:00:30.347Z","dependency_job_id":null,"html_url":"https://github.com/sjednac/slack-lunch-bot","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/sjednac%2Fslack-lunch-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjednac%2Fslack-lunch-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjednac%2Fslack-lunch-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjednac%2Fslack-lunch-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sjednac","download_url":"https://codeload.github.com/sjednac/slack-lunch-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241827734,"owners_count":20026753,"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":["akka","bot","facebook","scala","slack"],"created_at":"2024-10-11T19:14:25.285Z","updated_at":"2026-05-19T10:07:31.492Z","avatar_url":"https://github.com/sjednac.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Slack Lunch Bot [![Build Status](https://travis-ci.org/sbilinski/slack-lunch-bot.svg?branch=master)](https://travis-ci.org/sbilinski/slack-lunch-bot) [![Codacy Badge](https://www.codacy.com/project/badge/f31422f8b52241fa877cb4fa90ee8507)](https://www.codacy.com/app/sbilinski/slack-lunch-bot)\n\nA [Slack](http://slack.com) bot for fetching lunch menu announcements from selected **Facebook** pages.\n\n## Installation\n\nUse the [Universal](http://www.scala-sbt.org/sbt-native-packager/formats/universal.html#tasks) plugin to build a deployable artifact (check the link for other archive formats):\n\n    sbt universal:package-bin\n\nCopy it to a destination of your choice or `unzip` it directly as such:\n\n    unzip -d /opt/ target/universal/slack-lunch-bot-0.1-SNAPSHOT.zip\n\nRun the bot by executing the provided script:\n\n    /opt/slack-lunch-bot-0.1-SNAPSHOT/bin/slack-lunch-bot\n\n## Configuration\n\nYou can use the provided configuration file as a template:\n\n    cp conf/application.conf.example conf/application.conf\n\n### Slack integration\n\nSetup a bot user account as described [here](https://api.slack.com/bot-users). Make sure, that the bot is a member of the target channel (e.g. `#lunch` or whatever you prefer).\n\nSet the **api token** and the **channel name** in the `slack` section of the config.\n\n### Facebook integration\n\nSetup a Facebook application [here](https://developers.facebook.com). It will be used for querying the Facebook pages of your choice.\n\nSet the **app id** and the **app secret** in the `facebook` section of the config. Put relevant page IDs in the same section (for `https://www.facebook.com/SomeRestaurant` the ID is simply `SomeRestaurant`).\n\n### Querying policy\n\nCheck the `akka.quartz` section for a relevant cron expression. Once triggered, the bot will check each page for the latest Facebook post, that was made on that day (hopefully, it should be a menu), and publish it to Slack.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsjednac%2Fslack-lunch-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsjednac%2Fslack-lunch-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsjednac%2Fslack-lunch-bot/lists"}