{"id":22558395,"url":"https://github.com/redbrick/brickbot","last_synced_at":"2025-08-12T12:33:39.162Z","repository":{"id":44076107,"uuid":"197465161","full_name":"redbrick/brickbot","owner":"redbrick","description":"A simple serverless bot for the new Redbrick Discord.","archived":false,"fork":false,"pushed_at":"2022-12-10T01:01:16.000Z","size":127,"stargazers_count":9,"open_issues_count":25,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T06:39:42.338Z","etag":null,"topics":["bot","discord","discord-bot","javascript","openfaas","redbrick","serverless"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/redbrick.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-17T21:24:06.000Z","updated_at":"2023-04-05T21:33:09.000Z","dependencies_parsed_at":"2023-01-25T20:16:42.722Z","dependency_job_id":null,"html_url":"https://github.com/redbrick/brickbot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/redbrick/brickbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redbrick%2Fbrickbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redbrick%2Fbrickbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redbrick%2Fbrickbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redbrick%2Fbrickbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redbrick","download_url":"https://codeload.github.com/redbrick/brickbot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redbrick%2Fbrickbot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270061246,"owners_count":24520267,"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-08-12T02:00:09.011Z","response_time":80,"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":["bot","discord","discord-bot","javascript","openfaas","redbrick","serverless"],"created_at":"2024-12-07T20:14:35.607Z","updated_at":"2025-08-12T12:33:39.140Z","avatar_url":"https://github.com/redbrick.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# brickbot\n\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"460\" height=\"300\" src=\"https://github.com/theycallmemac/brickbot/blob/master/brickbot-logo.png?raw=true\"/\u003e\n\u003c/p\u003e\n\n[![CircleCI](https://circleci.com/gh/redbrick/brickbot.svg?style=svg)](https://circleci.com/gh/theycallmemac/brickbot)\n\nA simple bot for the new [Redbrick](https://github.com/redbrick) Discord.\n\n### How it works\n\nbrickbot is very simple. brickbot is just some Node.js which runs as a systemd service, and all it needs to do is make HTTP requests to functions we run using [OpenFaaS](https://github.com/openfaas/faas). This means that no matter what your preferred language is, you're able to extend the functionality of brickbot. All we need to do is take your code, and add it to our Docker Swarm. \n\nIf you're interested in OpenFaaS we really recommend trying it out. Serverless is something worth learning (in our opinion), it's really started to change how we write code. There's some great articles out there on it but we personally found [this one](https://medium.com/@thomas.shaw78/bash-functions-as-a-service-b4033bc1ee97) to be the most helpful.\n\n### Contributing\n\nLike we said, it's really easy to extend brickbot. You can help make this bot better by either:\n\n1. suggesting new functionality\n2. implementing new functionality\n\nIf you're suggesting new functionality feel free to make an issue detailing:\n- the name of the command\n- a brief description of the command\n- any links to repositories that might do something similar to what you're describing\n\nIf you're implementing functionality:\n- make a PR with the relevant code added to bot.js\n- ensure your PR has a link to the code you want deployed with OpenFaaS (I'll make sure it is deployed)\n- add your command to the function list in `get_test_set_one` ([in this file](https://github.com/theycallmemac/brickbot/blob/master/tests/endpoints.py)) along with it's expected result of 0 to it's respective list\n- add the command and it's creator to the list of functions below\n\nFor a more comprehensive guide to contributing to brickbot's functionality [check this out](https://github.com/theycallmemac/brickbot/blob/master/CONTRIBUTING.md).\n\n### Current Functions\n\n- [bus](https://github.com/RoryH/dublinbus-luas-api) by [RoryH](https://github.com/RoryH)\n- [coinflip](https://gist.github.com/theycallmemac/f66b0afeca215df97869dd28612bea74) by [theycallmemac](https://github.com/theycallmemac/)\n- [info](https://gist.github.com/theycallmemac/5b401a0475011206a4944f531719c643) by  [theycallmemac](https://github.com/theycallmemac/)\n- [isitup](https://github.com/theycallmemac/isitup) by [theycallmemac](https://github.com/theycallmemac)\n- [luas](https://github.com/RoryH/dublinbus-luas-api) by [RoryH](https://github.com/RoryH)\n- [nslookup](https://github.com/JockDaRock/nslookup_faas) by [JockDaRock](https://github.com/JockDaRock)\n- [pwgen](https://github.com/openfaas/faas/tree/master/sample-functions/pwgen) by [alexellis](https://github.com/alexellis)\n- [pwned](https://github.com/openfaas/faas/tree/master/sample-functions/haveibeenpwned) by [alexellis](https://github.com/alexellis)\n- [room](https://gist.github.com/theycallmemac/43b8c9973b978fa7cb2769cc6f3d4cdc) by [gruunday](https://github.com/gruunday)\n- [ssl](https://github.com/stefanprodan/openfaas-certinfo) by [stefanprodan](https://github.com/stefanprodan)\n- [weather](https://gist.github.com/theycallmemac/247a89ba667ae91df696dc6a4e29edd7) by [theycallmemac](https://github/com/theycallmemac)\n- [wiki](https://github.com/ciankehoe/brickbot-wiki) by [ciankehoe](https://github.com/ciankehoe)\n- [uptime](https://gist.github.com/theycallmemac/36a0bfa7455c74dd50a76d2190478e91) by [ciankehoe](https://github.com/theycallmemac)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredbrick%2Fbrickbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredbrick%2Fbrickbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredbrick%2Fbrickbot/lists"}