Skip to content

Hamster Kombat key generator made with Bun & SQLite

Notifications You must be signed in to change notification settings

l3est/hamster-key

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hamster Kombat Key Generator

Hamster Kombat key generator made with Bun & SQLite:

hamsterkey

Installation

Install the latest version of Bun from the official website then run these commands:

git clone https://github.com/l3est/hamster-key.git
cd hamster-key

Set these values based on your needs in gen.js:

const DELAY_MIN = 300 * 1000; // min 180000
const DELAY_MAX = 500 * 1000;
const KEYS_MIN = 3;
const KEYS_MAX = 8;  // max 12

Usage

Start key generation

This will automatically create keys for the game with the fewest entries in the database.

bun gen.js

Start the web gui

bun serve.js

Clicking on any of the left-side buttons will copy the key to your clipboard and delete the corresponding key from the database

image

About

Hamster Kombat key generator made with Bun & SQLite

Resources

Stars

Watchers

Forks

Packages

No packages published