3 releases

0.1.10 Mar 9, 2024
0.1.8 Mar 8, 2024
0.1.7 Mar 7, 2024

#1242 in Database interfaces

Download history 4/week @ 2024-07-25 16/week @ 2024-09-19 12/week @ 2024-09-26

84 downloads per month

Custom license

20KB
202 lines

kiistor

kiistor (/ˈkiːstɔr/, KEE-stor) is a small utility written in Rust designed to facilitate the loading of game keys in and out of a PostgreSQL database. It provides a simple command-line interface for managing them.

Deploy Crates.io Version

Features

  • Addition and Retrieval: Allows adding new game keys to the database and retrieving existing keys.
  • Easy-to-Use Interface: Provides a user-friendly command-line interface for interacting with the utility.

Roadmap

  • Adding keys via the CLI
  • Showing a list of all keys
  • Compatibility with other databases
  • Encryption
  • Key access control

Installation

Grab the latest release for your platform from the releases page

Demo

demo3

Usage

  • Get keys by title:

    kiistor get --title <title> --count <count>
    
  • Load keys from a file:

    kiistor load --file <file_path> --title <title>
    

    In this example, it is assumed that game keys are newline delimited (\n)

  • List all keys in the database:

    kiistor list
    
  • Perform database migrations:

    kiistor migrate
    

    You only need to run migrations if you're installing kiistor for the first time or you are upgrading to a new version of kiistor.

Contributing

Contributions are welcome! If you have any suggestions, feature requests, or bug reports, please create an issue or submit a pull request.

License

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


Disclaimer: This utility is provided as-is without any warranties. Use it at your own risk.

Dependencies

~19–35MB
~494K SLoC