gen-server-name

Crates.iogen-server-name
lib.rsgen-server-name
version1.0.9
sourcesrc
created_at2020-11-03 12:34:52.603937
updated_at2024-08-13 07:05:38.998133
descriptionThis is a small tool which will generate a suggestion for a server name. You may specify the domain and the name source pool as parameters.
homepagehttps://codeberg.org/jan0sch/gen-server-name
repositoryhttps://codeberg.org/jan0sch/gen-server-name
max_upload_size
id308242
size225,313
Jens Grassel (jan0sch)

documentation

README

Generate a server name.

Official Crate

This is a small tool which will generate a suggestion for a server name. You may specify the domain and the name source pool as parameters.

Please see CONTRIBUTING.md for details how to to contribute to the project.

License

This program is distributed under 3-Clause BSD license. See the file LICENSE for details.

Installation

To simply install the binary just issue the cargo install gen-server-name command.

From source code

Either create a binary with cargo build --release and copy it to a place of your liking or use the cargo install --path . command which will install it into $HOME/.cargo/bin.

Examples

% gen-server-name
grimfast.example.com
% gen-server-name mydomain.com
dan-gander.mydomain.com
% gen-server-name mydomain.com agreek
cleomenes-of-naucratis.mydomain.com
% gen-server-name mydomain.com aroman
petronius-arbiter.mydomain.com
% gen-server-name mydomain.com darkwing
phineas-sharp.mydomain.com
% gen-server-name mydomain.com islands
iwashijima.mydomain.com
% gen-server-name mydomain.com lotr
finrod.mydomain.com
% gen-server-name mydomain.com starwars
mon-mothma.mydomain.com
% gen-server-name mydomain.com wot
narenwin-barda.mydomain.com

The program has basic help compiled in.

% gen-server-name -h
Generate Server Name 1.0.4
Generate a server name suggestion based on source pool and given domain.

USAGE:
    gen-server-name [ARGS]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

ARGS:
    <domain>    The domain to append to the server name.
    <source>    The source for the name suggestions. Either all, agreek, aroman, darkwing, islands, lotr,
                shakespeare, sw or wot. Alternative specification is 'ancient greek', 'ancient roman', 'darkwing
                duck', 'islands of japan', 'lord of the rings', 'william shakespeare', 'starwars', 'star wars' or
                'wheel of time'.
Commit count: 0

cargo fmt