15 Commits

Author SHA1 Message Date
Abner Coimbre
ed17240593 Fancy chat server invites 2025-10-23 19:01:53 -07:00
Abner Coimbre
320bb5c34a Add progress indicator/animation 2025-10-22 00:58:20 -07:00
abnercoimbre
b35ac045f3 run go fmt 2024-10-19 14:15:56 -07:00
abnercoimbre
3de25244fb Show specific meetups link for the target city 2024-10-19 13:27:58 -07:00
abnercoimbre
1a9f605208 Simplify instructions 2024-10-19 13:26:04 -07:00
abnercoimbre
2211488f9a Remove stale warning: thanks to Asaf we don't crash if config.toml is missing 2024-10-19 13:04:41 -07:00
abnercoimbre
e97f048eb6 Improved feedback: Notify when the same email file is being reused, and whether or not that invite was sent to new subscribers 2024-10-18 20:06:22 -07:00
abnercoimbre
e6aeb0158a De-duplicate addresses before returning email subscribers 2024-10-18 15:10:16 -07:00
abnercoimbre
19508f38e8 Credit new contributors 2024-05-01 19:37:21 -07:00
abnercoimbre
90c356584e Merge branch 'master' of https://git.handmadecities.com/meetups/meetupinvite2000 into master 2024-05-01 15:36:29 -07:00
abnercoimbre
585445cb6a Deprecate this config.toml because our repo is going public 2024-05-01 15:35:14 -07:00
Abner Coimbre
668402059f Update gitignore 2024-04-30 14:51:37 -07:00
Abner Coimbre
0ba1c69a7d Add .goreleaser.yaml 2024-04-30 14:50:30 -07:00
42bb6f8bad Added config validation 2024-04-23 23:48:29 +01:00
Jack Punter
b59ba24b35 Go fmt and add missing toml:"hmc" tag 2024-04-23 23:20:47 +01:00
4 changed files with 712 additions and 187 deletions

4
.gitignore vendored
View File

@@ -46,4 +46,8 @@ tags
# Persistent undo
[._]*.un~
# Misc
.DS_Store
dist/
# End of https://www.toptal.com/developers/gitignore/api/go,vim

5
.goreleaser.yaml Normal file
View File

@@ -0,0 +1,5 @@
gitea_urls:
api: https://git.handmadecities.com/api/v1
download: https://git.handmadecities.com/
# set to true if you use a self-signed certificate
skip_tls_verify: false

View File

@@ -1,18 +0,0 @@
# User Constants - Update as needed
batch_size = 500 # Max 500 messages per batch: https://postmarkapp.com/developer/api/templates-api#send-batch-with-templates
test_email = "" # Fill this in with your own email address
# Handmade Cities Credentials - DON'T TOUCH
[hmc]
api_url = "https://api.handmadecities.com/v1/meetups/subscribers"
shared_secret = "Land_OF_TERminA__MAJORAS_LAIR#666!"
city = "Termina"
# Postmark App Credentials - NO TOUCHY TOUCHY
[postmark]
server_token = "37967b9a-6b1c-430e-a65f-de043de3e568"
api_url = "https://api.postmarkapp.com/email/batchWithTemplates"
template_id = 35682307
sender_name = "Skull Kid"
sender_email = "majora@handmadecities.com"
message_stream = "termina"

872
main.go

File diff suppressed because it is too large Load Diff