Thursday, 19 November 2026

Shola Jegede
← All packages

Database

wicket-gate

Put a staging or preview site behind a sign-in, and invite or remove people from the terminal

npm install wicket-gate
46downloads last week
342downloads last 12 months
v0.1.0latest, Nov 11, 2026
2releases since Nov 11, 2026

Downloads

Download history

Loading download history…

Build this

Build with wicket-gate

  1. 1

    Why use it

    You can protect a site, invite a client for 72 hours, and take the client out again without opening a dashboard. Each invitation belongs to one email address, so removing a person closes the site to that person and to nobody else.

  2. 2

    Start

    You need Node 20 or later and the address of your deployed gate.

    bash
    npx wicket-gate login org_xxx --url https://<your-gate>.workers.dev
    npx wicket-gate protect https://your-staging-site.example --name preview
    npx wicket-gate invite preview client@example.com --hours 72

    login opens your browser to sign in through Kinde, for the organization you name. protect prints the address to share with your visitor. To use the shorter command wicket, install the package globally with npm install -g wicket-gate.