{"id":17742882,"url":"https://github.com/bredefk/slack-bot","last_synced_at":"2026-04-16T03:32:12.484Z","repository":{"id":39952850,"uuid":"215473652","full_name":"BredeFK/Slack-Bot","owner":"BredeFK","description":"Spring-Boot Slack bot: Bot for slashcommands (+other) in Slack","archived":false,"fork":false,"pushed_at":"2023-06-21T10:45:14.000Z","size":374,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-12T17:59:30.570Z","etag":null,"topics":["bot","hibernate","ip","java","slack","spring-boot"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BredeFK.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":"2019-10-16T06:30:07.000Z","updated_at":"2022-08-30T13:11:50.000Z","dependencies_parsed_at":"2024-10-26T09:11:38.948Z","dependency_job_id":"5a147145-36f1-4d5f-86e8-e81ab960c4cd","html_url":"https://github.com/BredeFK/Slack-Bot","commit_stats":{"total_commits":173,"total_committers":3,"mean_commits":"57.666666666666664","dds":"0.028901734104046284","last_synced_commit":"d7dae9101a50b81b2709c6352a17e5ee8a816057"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BredeFK%2FSlack-Bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BredeFK%2FSlack-Bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BredeFK%2FSlack-Bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BredeFK%2FSlack-Bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BredeFK","download_url":"https://codeload.github.com/BredeFK/Slack-Bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246558114,"owners_count":20796696,"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":["bot","hibernate","ip","java","slack","spring-boot"],"created_at":"2024-10-26T05:42:01.711Z","updated_at":"2025-10-24T00:59:23.040Z","avatar_url":"https://github.com/BredeFK.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Alfred Pennyworth (_aka Batman's Butler_)\n## About\nThis bot is only written in Java (with Docker and MakeFile to deploy) and is a bot in slack\nwhere the user can get a daily quote or checkup a GitHub user and then check her/his repositories one at the time.\n\nThis project uses api's from _https://quotes.rest/qod_ for quotes, _https://api.github.com/users/_ for getting github users and repositories, \n_https://www.harmannenfalt.no/api_ and _https://www.hardovrefalt.no/api_ for getting info about the mountains Mannen and Dovre have fallen or not.\n\n## Functionality\n* Daily quote will be sent every day at 09:15\n\n* `/quote` returns a daily quote\n\n![](https://i.imgur.com/J8nQb1K.png)\n\n* `/mannen` responds with a message if the mountain Mannen has fallen or not\n\n![](https://i.imgur.com/xZze14R.png)\n\n* `/dovre` responds with a message if the mountain Dovre has fallen or not\n\n![](https://i.imgur.com/gbR2xlm.png)\n\n* `/github \u003cUsername\u003e` returns the user if they exist\n\n![](https://i.imgur.com/qZyvGVc.png)\n    \n    \n* `Select a repository` and information will be returned about it.\n\n![](https://i.imgur.com/uUqkhjK.png)\n\n(I used [this](https://api.slack.com/tools/block-kit-builder) website to check how the JSON's should look before posting them to slacks api)\n\n## Templates\nSee [Templates](Templates.md) for better understanding of all `toJson()` functions.\n\n## Technologies\n* TomCat\n* Java\n* Maven\n* Docker\n\n## Frameworks\n* Spring Boot\n* Hibernate\n\n## You will need\n* Docker\n* maven\n* make\n* git\n\n## Requirements\n* Open port `8080`\n* make `sudo apt install make`\n* mvn `sudo apt install maven`\n* docker `sudo apt install docker.io -y`\n\n## Deployment\n1. Clone this repository `git clone https://gitlab.com/BredeFK/alfred.git`\n1. Open `Dockerfile` and add all environment variables\n1. Run `make build`\n\n## SonarQube\n1. [Download and start SonarQube server](https://docs.sonarqube.org/latest/setup/get-started-2-minutes/)\n1. run `mvn clean verify sonar:sonar`\n1. or run `mvn sonar:sonar` if project is unchanged\n\n### Makefile\n* make build\n* make clean\n* make run\n* make status\n\n## Managing deployment\n* To check logs on running deployment `screen -r`\n* To check status and ID on running container `docker container ls`\n* To stop deployment `docker container stop \u003cCONTAINER ID\u003e` or `screen -r` and `ctrl + c`\n\n## Bonus\n* This project has a nice front-end for error page.\n* It has an Privacy Policy.\n* It will soon track ip address and give location in logs, but not store them!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbredefk%2Fslack-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbredefk%2Fslack-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbredefk%2Fslack-bot/lists"}