this post was submitted on 13 Feb 2022
1 points (100.0% liked)

Open Source

823 readers
19 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 

I usually go to reddit and copy the first username that I see. Is there a quicker way to get a username like noun_adjective_number?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Reaton@lemmy.ml 0 points 2 years ago (1 children)

Idk, you could try to find a list of noun, a list of adjective and then make a lil python/bash script that randomly generates a nickname. (There might be an easier solution tho)

[โ€“] Reaton@lemmy.ml 1 points 2 years ago

I made a python script (Yup I'm bored lol)
https://codeberg.org/UncleReaton/RUNG

#!/usr/bin/python3
import random

with open("adjectives.txt", "r") as f_adj:
    adj = f_adj.readlines()

with open("nouns.txt", "r") as f_nouns:
    nouns = f_nouns.readlines()
    
rand_noun = nouns[random.randint(1, len(nouns))].strip()
rand_adj = adj[random.randint(1, len(adj))].strip()
rand_number = str(random.randint(0, 100))
print(rand_noun + "_" + rand_adj + "_" + rand_number)