Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 3 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 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-09T06:22:14.000Z (about 1 year ago)
- Last Synced: 2024-05-08T23:06:20.491Z (9 months ago)
- Topics: blog, contact-form, hcaptcha, svelte, sveltekit
- Language: Svelte
- Homepage:
- Size: 2.99 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
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](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).