https://github.com/rodneylab/sveltekit-hcaptcha-form
SvelteKit hCaptcha contact form: see how you can scare bots away from your Svelte site using a privacy focussed captcha service.
https://github.com/rodneylab/sveltekit-hcaptcha-form
blog contact-form hcaptcha svelte sveltekit
Last synced: 12 months ago
JSON representation
SvelteKit hCaptcha contact form: see how you can scare bots away from your Svelte site using a privacy focussed captcha service.
- Host: GitHub
- URL: https://github.com/rodneylab/sveltekit-hcaptcha-form
- Owner: rodneylab
- License: bsd-3-clause
- Created: 2021-10-06T17:49:31.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-06-13T07:43:22.000Z (12 months ago)
- Last Synced: 2025-06-20T23:07:07.278Z (12 months ago)
- Topics: blog, contact-form, hcaptcha, svelte, sveltekit
- Language: Svelte
- Homepage:
- Size: 3.14 MB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README

SvelteKit hCaptcha Form
# sveltekit-hcaptcha-form
[](https://stackblitz.com/github/rodneylab/sveltekit-hcaptcha-form)
SvelteKit demo code for making add hCapcha verification to a contact form in
SvelteKit. The code accompanies the
article
on SvelteKit hCaptcha contact forms. If you have any questions, please drop
a comment at the bottom of that page.
## Building and previewing the site
If you're seeing this, you've probably already done this step. Congrats!
```bash
git clone https://github.com/rodneylab/sveltekit-hcaptcha-form.git
cd sveltekit-hcaptcha-form
pnpm install # or npm install
pnpm run dev
```
## Building
```bash
pnpm run build
```
> You can preview the built app with `pnpm run preview`, regardless of whether
> you installed an adapter. This should _not_ be used to serve your app in
> production.
Feel free to jump into the
[Rodney Lab matrix chat room](https://matrix.to/#/%23rodney:matrix.org).