npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

keylogin-setup

v1.0.3

Published

One-command setup to integrate KeyLogin key validation in any project (React, Next.js, Node, Express, Python, PHP, Java, Go, etc.)

Downloads

34

Readme

🔐 KeyLogin Setup CLI


📖 Table of Contents


✨ Features

  • Zero-config auto-detection – Automatically identifies your framework.
  • Full UI or Headless – Choose a complete React dashboard or just the validation service.
  • One-time use keys – Keys become invalid after first validation.
  • Device fingerprinting – Prevents key sharing across unlimited devices.
  • Session monitoring – Auto‑logout when license expires.
  • Cross-platform – Works with React, Next.js, Vue, Express, Flask, Laravel, Spring Boot, Gin and more.
  • Beautiful CLI output – Professional, clean, and branded terminal experience.

🚀 Quick Start

Run this single command in your project root:

npx keylogin-setup@latest

Open http://localhost:5173 and enter a valid license key generated from your KeyGen admin panel.


🛠️ Local Development & Customization

Want to modify the CLI or contribute? Clone and link locally:

# Clone the repository
git clone https://github.com/atanumaiti147/keylogin-setup.git
cd keylogin-setup

# Install dependencies
npm install

# Link globally for local testing
npm link

# Now you can run it anywhere
cd /path/to/your/project
keylogin-setup

After making changes, run npm link again to refresh the global symlink.


📦 Supported Frameworks

| Language | Framework | Auto‑detection | Full UI | |------------|----------------------|----------------|---------| | JavaScript | React (Vite / CRA) | ✅ | ✅ | | | Next.js | ✅ | — | | | Vue / Nuxt | ✅ | — | | | Express | ✅ | — | | | Node.js | ✅ | — | | Python | Flask | ✅ | — | | | Django | ✅ | — | | | FastAPI | ✅ | — | | PHP | Laravel | ✅ | — | | Ruby | Ruby on Rails | ✅ | — | | Java | Spring Boot | ✅ | — | | Go | Gin | ✅ | — |

💡 Full UI currently available for React only. For other frameworks, the CLI generates a headless validation service that you can integrate into your own UI.


🎨 Setup Types

Full UI Mode

Select Full UI during setup to get a production‑ready React dashboard with:

  • Glassmorphism login page
  • License key validation
  • Protected dashboard
  • Session timer & auto‑logout
  • Fully responsive (mobile / tablet / desktop)
// After setup, your App.jsx is replaced with the KeyLogin dashboard.
// Original file backed up as App.jsx.backup.

Headless Mode

Choose Headless when you only need the validation function – perfect for:

  • Discord / Telegram bots
  • Desktop apps (Electron, Tauri)
  • Game injectors / cheats
  • CLI tools
  • Backend services

The CLI creates only the service file (e.g., src/services/keyValidation.js). Import and use it anywhere:

import { validateKey } from './services/keyValidation';

const result = await validateKey('your-license-key');
if (result.valid) {
  // Grant access
}

🔧 Configuration

All configuration is handled automatically. The following environment variable is added to your .env file:

VITE_KEYLOGIN_API_URL=https://sctedved.qzz.io/api/validate-key

You can change the API endpoint by editing this variable (if you host your own KeyGen server).


🤝 Contributing

We welcome contributions! Here's how you can help:

  1. Fork the repository.
  2. Create a new branch: git checkout -b feature/amazing-feature
  3. Make your changes and commit: git commit -m 'Add amazing feature'
  4. Push to your fork: git push origin feature/amazing-feature
  5. Open a Pull Request.

Adding a New Framework

To add support for a new framework:

  1. Add the template in lib/setup.jstemplates.
  2. Add the output path in filePaths.
  3. Update detector.js to auto-detect the framework.

📄 License

This project is licensed under the MIT License – see the LICENSE file for details.