Intro
What follows is the major part of a chat with ChatGPT to aid me in finding tools and services with which to build a new website for my favourite charity. Requirements and features are discussed as well as privacy and security issues and how well the chosen method aligns with my goals.
User
Given all you know about the Good Vibrations Website project, I’d like to ask, would the following be a good approach? Use Hugo for all the main content and for anything that requires a back end, separate it out, but still integrated into the main website with an efficient hugo workflow?
Assistant
Yes. I think this is probably the most sensible approach for Good Vibrations.
| Component | Technology |
|---|---|
| Main website, news and galleries | Hugo |
| Booking form and interactive calendar | JavaScript integrated into Hugo templates |
| Booking logic and availability | Independent backend |
| Booking records | SQLite |
| Staff administration and notifications | Independent backend |
The advantages are:
- Retain your familiar Hugo development workflow.
- Maintain a consistent appearance throughout the website.
- Develop and test the booking system independently.
- Update website content without affecting the booking system.
- Replace or upgrade the backend without rebuilding the website.
I would keep the frontend pages within Hugo and have them communicate with the backend through an API. Visitors would have no reason to know that two separate systems were involved.
This gives you the simplicity of Hugo without compromising the dynamic functionality you need.
User
And what would be the most streamlined, no cost solution for the booking form, calendar and other backend stuff? As in, who would be the provider and what method or technology would be involved?
Assistant
Cloudflare would be my first choice, using its serverless services alongside Hugo. This avoids having to maintain a separate server or database installation.
| Component | Technology | Cost |
|---|---|---|
| Website hosting | Cloudflare Pages | Free |
| Booking form | HTML / JavaScript | Free |
| Booking API and logic | Cloudflare Workers (TypeScript) | Free |
| Database | Cloudflare D1 (SQLite-based) | Free |
| Interactive calendar | FullCalendar Standard | Free, open source |
| Email confirmations | Brevo API | Free |
| Spam prevention | Cloudflare Turnstile | Free |
How it fits together
Hugo — Cloudflare Pages ├── Booking form ├── Calendar └── Staff administration ↕ Cloudflare Workers Booking API and business logic | ├── Cloudflare D1 | Booking records | └── Brevo Booking notifications
I’ve verified that Cloudflare Workers allows 100,000 requests per day and Brevo allows 300 emails per day without requiring a credit card.
Expected running cost: £0 per month, excluding the existing domain renewal.
The compromise is that Cloudflare and Brevo are proprietary hosted services, although all your application code could be open source. The bespoke booking logic would still need developing.
User
Okay, good. I’ve, I’ve spoken with other members of the team and how they’d like to get notifications. And they prefer WhatsApp. So can Cloudflare deal with delivering WhatsApp notifications?
Assistant
Yes. Cloudflare Workers can send automated WhatsApp notifications through Meta’s WhatsApp Business Cloud API whenever a booking is made.
However, the important question for Good Vibrations is whether this can be done entirely free of charge.
| Method | Cost |
|---|---|
| WhatsApp Business Cloud API | Approximately 1.6p per utility notification |
| Ordinary WhatsApp | Free, but no official automation API |
| Telegram Bot API | Free and supports automated group notifications |
Given your zero-cost requirement, I would suggest Telegram as an alternative for staff notifications.
Cloudflare could handle either integration easily, but official automated WhatsApp notifications cannot be guaranteed to remain free.
User
How do things look if I drop WhatsApp and just stick with email notifications?
Assistant
Much simpler, and entirely achievable at zero cost.
Using Cloudflare Workers and the Brevo free email API, you could automatically send:
- Booking confirmations to visitors.
- New booking notifications to staff.
- Booking cancellation and amendment notifications.
- Upcoming booking reminders.
Brevo’s free tier allows 300 emails per day, which should comfortably accommodate Good Vibrations.
This would be my preferred approach: straightforward to implement, minimal maintenance and no additional running costs within the free-tier limits.
User
What’s the situation should the website get spammed? And, you know, have a stupid amount of visitors, spam bots and the like causing havoc? Is that suddenly going to up the cost of everything?
Assistant
No, provided you keep everything on the free plans. Excessive traffic should result in service limits being reached rather than an unexpected bill.
I’ve checked the current service limits:
| Service | What happens under excessive traffic |
|---|---|
| Cloudflare Pages | Free, unlimited static requests. |
| Cloudflare Workers | Stops processing after 100,000 daily requests. |
| Cloudflare D1 | Database operations stop when free quotas are exhausted. |
| Brevo | Stops sending after 300 emails per day. |
To protect the booking system, I would implement:
- Cloudflare Turnstile — free bot protection.
- Rate limiting — restrict repeated requests.
- Booking verification — prevent fraudulent bookings.
- Email throttling — prevent exhaustion of the email allowance.
The worst likely outcome is temporary disruption to the booking system, rather than financial liability.
I would make remaining on strictly free plans a non-negotiable design requirement.
User
Using this method, is the privacy of its users respected?
Assistant
Yes, provided the system is designed with privacy in mind. However, using Cloudflare and Brevo does not automatically make the website UK GDPR compliant.
Both providers have GDPR safeguards:
- Cloudflare: Supports UK GDPR and provides a Data Processing Agreement.
- Brevo: Provides GDPR safeguards and European data storage.
For Good Vibrations, I would implement the following:
- No advertising, tracking cookies or marketing analytics.
- Collect only essential booking information.
- Encrypt communications using HTTPS.
- Restrict personal information to authorised staff.
- Never display visitors’ names on the public calendar.
- Automatically delete booking records after an agreed retention period.
- Disable email open and click tracking.
The principal compromise is that personal data is processed by third-party providers and may be transferred outside the UK.
Nevertheless, I see no fundamental privacy obstacle to using this architecture, and these safeguards do not require paid services.
User
Well, it does make me wonder what data Cloudflare collects. And um Brevo as well
Assistant
There is an important distinction between the information these providers collect themselves and the information your booking system passes to them.
| Data | Cloudflare | Brevo |
|---|---|---|
| Visitor IP addresses | Yes | If email tracking is enabled |
| Browser and network information | Yes | Potentially through tracking |
| Website traffic information | Yes | No |
| Names and email addresses | Stored in D1 booking database | As supplied for email delivery |
| Booking details | Stored in D1 | Only those included in emails |
| Email contents | Not directly | Yes |
| Email opens and clicks | No | Tracking available |
Cloudflare collects technical information primarily for security, service operation and improvement.
Brevo retains email delivery logs and can retain copies of sent emails.
For maximum privacy, I would:
- Disable optional analytics and email tracking.
- Minimise data retention.
- Disable Brevo’s email content previews.
- Avoid collecting sensitive personal or medical information.
Neither service provides complete anonymity. However, we can substantially minimise the information exposed to both providers.
Official privacy policies:
User
My main concern is that email addresses may be collected and used to advertise to. That’s something I want to avoid happening to my users.
Assistant
I’ve checked the published data protection agreements for both providers.
- Cloudflare: Explicitly prohibits using customer personal data for marketing or advertising. It also states that it does not sell website visitors’ data.
- Brevo: Its data processing agreement prohibits selling customer contact information or sharing it for targeted advertising.
I would configure Brevo exclusively for booking notifications, with:
- No marketing mailing lists.
- No website tracking.
- No email open or click tracking.
- Minimum data retention.
There is no indication that using either provider’s free tier means sacrificing users’ email privacy. Their contractual commitments prohibit the advertising practices you’re concerned about, although no third-party service can offer an absolute guarantee.