0.3.1 • Published 2 years ago
netlify-wp-login-honeypot v0.3.1
netlify-wp-login-honeypot
This repository is work in progress
A SvelteKit template that mocks a WordPress login page. It uses Netlify Forms to record all activity.
Installation
Degit
You can use this as a template for your SvelteKit project. However, it's probably not up-to-date with the latest SvelteKit version.
npx degit idleberg/netlify-wp-login-honeypot
cd netlify-wp-login-honeypot
npm installCLI
To integrate the login routes to your existing SvelteKit project, you can use the CLI.
npm i netlify-wp-login-honeypot -S
wphp installConfiguration
You can change some of the default behaviour by setting the following environment variables.
# Default values
VITE_SITE_NAME=WordPress
VITE_WORDPRESS_VERSION=6.0
VITE_ARTIFICIAL_DELAY=2000
VITE_HIDE_ROBOTS=trueLicense
This work is licensed under The MIT License