<commit_before><?php
/*
Plugin Name: Hexadecimal Keywords
Plugin URI: https://github.com/plttn/yourls-hexdec
Description: Makes YOURLS use hexadecimal incrementing keyword. Set to base 36.
Version: 1.0
Author: plttn
Author URI: http://plttn.me
*/

yourls_add_filter( 'get_shorturl_charset', 'hexadecimal_func' );
function hexadecimal_func( $in ) {
    return "0123456789abcdef";
}<commit_msg>resolved keyword issue<commit_after><?php
/*
Plugin Name: Hexadecimal Keywords
Plugin URI: https://github.com/plttn/yourls-hexdec
Description: Makes YOURLS use hexadecimal incrementing keyword. Set to base 36.
Version: 1.0
Author: plttn
Author URI: http://plttn.me
*/

yourls_add_filter( 'random_keyword', 'plttn_hexdec_convert' );

function plttn_hexdec_convert( $in ) {
    $out = base_convert($in, 36, 16);
    return $out;
}
{'fraction_non_alphanumeric': 0.11829268292682926, 'fraction_numerical': 0.026829268292682926, 'mean_word_length': 5.364341085271318, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1239182', 'n_tokens_mistral': 312, 'n_tokens_neox': 290, 'n_words': 74}