From c67f81327d12b962fce51e24996271754144ddde Mon Sep 17 00:00:00 2001 From: Miguel de la Cruz Date: Thu, 29 Jun 2023 18:55:13 +0200 Subject: [PATCH] Initial commit --- .envrc | 1 + README.md | 12 ++++++++++++ go.mod | 3 +++ shell.nix | 17 +++++++++++++++++ 4 files changed, 33 insertions(+) create mode 100644 .envrc create mode 100644 README.md create mode 100644 go.mod create mode 100644 shell.nix diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..65326bb --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use nix \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..f11faa0 --- /dev/null +++ b/README.md @@ -0,0 +1,12 @@ +# Birthday bot + +A simple bot that notifies of birthdays, posting the contact +information of the subject so you can reach them easily. + +## Roadmap + +- [ ] Create the bot scaffold +- [ ] Define how to read the birthdays info +- [ ] Create a configurable template to fill with each notification +- [ ] Create different message systems to use with the bot +- [ ] Enjoy! diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..aef5d8f --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module git.ctrlz.es/mgdelacroix/birthdaybot + +go 1.19 diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..ad17872 --- /dev/null +++ b/shell.nix @@ -0,0 +1,17 @@ +with import {}; +mkShell { + buildInputs = [ + go_1_20 + gotestsum + gnumake + modd + ]; + + shellHook = '' + echo ' +╔═ ╝╔═║═╔╝║ ║╔═ ╔═║║ ║╔═ ╔═║═╔╝ +╔═║║╔╔╝ ║ ╔═║║ ║╔═║═╔╝╔═║║ ║ ║ +══ ╝╝ ╝ ╝ ╝ ╝══ ╝ ╝ ╝ ══ ══╝ ╝ +' + ''; +}