https://github.com/codex-team/whocame
Bot that knows who come to the office
https://github.com/codex-team/whocame
Last synced: 4 months ago
JSON representation
Bot that knows who come to the office
- Host: GitHub
- URL: https://github.com/codex-team/whocame
- Owner: codex-team
- Created: 2022-02-25T17:06:07.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-25T17:07:39.000Z (over 4 years ago)
- Last Synced: 2024-12-31T05:28:28.697Z (over 1 year ago)
- Language: Go
- Size: 5.86 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Whocame – bot that knows who come to the office
## Installation
With local Go:
```
go build -o build .
```
With docker:
```
docker-compose build
docker-compose up
```
## Configuration
Use sample from `storage.yml`:
```
interface: en0
logLevel: debug
webhook: https://notify.bot.codex.so/u/ABCDEF00
goneAfter: 30m
members:
n0str:
- 00:00:5e:00:53:af
- FF:C1:87:7D:A2:5F
khaydarovm:
- 2c-54-91-88-c9-e3
```
* interface - interface to listen
* webhook - CodeX Bot webhook to the chat
* goneAfter - Make person left after 30m
* Members - nicknames and their MACs
## Running
You can run it manually, but it's better to use Systemd.
```
chmod +x ./whocame
./whocame
```