Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eduardoboucas/staticman-recaptcha
👮♂️ Demo site using Staticman + reCAPTCHA
https://github.com/eduardoboucas/staticman-recaptcha
Last synced: 11 days ago
JSON representation
👮♂️ Demo site using Staticman + reCAPTCHA
- Host: GitHub
- URL: https://github.com/eduardoboucas/staticman-recaptcha
- Owner: eduardoboucas
- Created: 2017-03-04T12:15:22.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-01-31T14:55:25.000Z (almost 4 years ago)
- Last Synced: 2024-10-04T16:55:43.707Z (about 1 month ago)
- Language: CSS
- Homepage: https://recaptcha-demo.staticman.net
- Size: 157 KB
- Stars: 10
- Watchers: 1
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Staticman + reCAPTCHA
This is a demo Jekyll site showing how to integrate [Staticman](https://staticman.net) with Google's [reCAPTCHA](https://www.google.com/recaptcha/intro/).
## Getting started
After [following the steps](https://staticman.net/docs) to install Staticman, you need to integrate reCAPTCHA.
1. [Sign up](https://www.google.com/recaptcha/admin) to reCAPTCHA. You'll be assigned a *Site key* and *Secret*.
1. Encrypt the secret using Staticman's encryption endpoint:
```
https://api.staticman.net/v2/encrypt/YOUR-SECRET
```
1. Take the site key and the encrypted secret and add a reCAPTCHA block to your Staticman config file:
```yml
reCaptcha:
enabled: true
siteKey: "YOUR-SITE-KEY"
secret: "YOUR-ENCRYPTED-SECRET"
```
1. Add the reCAPTCHA credentials to your form:```html
```
1. Add the reCAPTCHA script and DOM element```html
```## Reporting issues
Please [open an issue](https://github.com/eduardoboucas/staticman/issues/new) in the Staticman repository.