Crates.io | gen-server-name |
lib.rs | gen-server-name |
version | 1.0.9 |
source | src |
created_at | 2020-11-03 12:34:52.603937 |
updated_at | 2024-08-13 07:05:38.998133 |
description | 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. |
homepage | https://codeberg.org/jan0sch/gen-server-name |
repository | https://codeberg.org/jan0sch/gen-server-name |
max_upload_size | |
id | 308242 |
size | 225,313 |
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.
This program is distributed under 3-Clause BSD license. See the file LICENSE for details.
To simply install the binary just issue the cargo install gen-server-name
command.
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
.
% 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'.