Skip to content

feat: Add Contact form#16

Merged
ivanrdgz03 merged 6 commits intoHackiitUGR:mainfrom
ivanrdgz03:dev
Mar 11, 2026
Merged

feat: Add Contact form#16
ivanrdgz03 merged 6 commits intoHackiitUGR:mainfrom
ivanrdgz03:dev

Conversation

@ivanrdgz03
Copy link
Contributor

I have added the contact form that was previously removed. I also added:

  • Support for notifying messages sent via a Telegram bot.
  • Use of a new library Zod for form sanitization.
  • Use of Google Recaptcha to prevent use by bots.
  • Rate limiting by IP, temporarily stored in a Map, although ideally this will be improved in the future with REDIS or similar.

The following environment variables are required:

  • TELEGRAM_BOT_TOKEN: Telegram bot token.
  • TELEGRAM_CHAT_ID: Chat to which the bot sends messages.
  • PUBLIC_RECAPTCHA_SITE_KEY: Recaptcha public key.
  • RECAPTCHA_SECRET_KEY: Recaptcha secret key.

@ivanrdgz03 ivanrdgz03 merged commit 4ef6743 into HackiitUGR:main Mar 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant